Skip to content

Instantly share code, notes, and snippets.

@vrthra
Last active August 18, 2016 09:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vrthra/20f47ca3f3b09236f16356f23d4ff4f4 to your computer and use it in GitHub Desktop.
Save vrthra/20f47ca3f3b09236f16356f23d4ff4f4 to your computer and use it in GitHub Desktop.
With loc > 5
> print(analyze.method(joined.method), row.names=F)
estimate p.value kind cor type
0.62965955 0.000000000000000000 Raw R^2 bugfix~total.mutants
0.74805063 0.000000000000000000 Raw R^2 bugfix~n.total.mutants
0.02480406 0.020029404234788828 Raw R^2 bugfix~loc
0.10720486 0.000000000000000000 Raw R^2 bugfix~cyclomatic_complexity
0.95676825 0.000000000000000000 Raw Tau bugfix~total.mutants
0.95419330 0.000000000000000000 Raw Tau bugfix~n.total.mutants
0.04741129 0.000000113102053056 Raw Tau bugfix~loc
0.15783857 0.000000000000000000 Raw Tau bugfix~cyclomatic_complexity
0.35898726 0.000000000000000000 Normalized R^2 n.bugfix~total.mutants
0.67928011 0.000000000000000000 Normalized R^2 n.bugfix~n.total.mutants
-0.07343672 0.000000000005417882 Normalized R^2 n.bugfix~loc
-0.02395159 0.026008931857575735 Normalized R^2 n.bugfix~cyclomatic_complexity
0.89312671 0.000000000000000000 Normalized Tau n.bugfix~total.mutants
0.92126734 0.000000000000000000 Normalized Tau n.bugfix~n.total.mutants
0.01373594 0.115148219368634397 Normalized Tau n.bugfix~loc
0.13111244 0.000000000000000000 Normalized Tau n.bugfix~cyclomatic_complexity
> print(analyze.deep(joined.deep), row.names=F)
estimate p.value kind cor type
0.72785504 0.000000e+00 Raw R^2 bugfix~total.mutants
0.61738949 0.000000e+00 Raw R^2 bugfix~n.total.mutants
0.24247665 0.000000e+00 Raw R^2 bugfix~loc
0.13402093 0.000000e+00 Raw R^2 bugfix~depdegree
-0.09478731 1.257766e-14 Raw R^2 bugfix~avgdepdegree
0.10156496 0.000000e+00 Raw R^2 bugfix~halstead_difficulty
0.21408028 0.000000e+00 Raw R^2 bugfix~cyclomatic_complexity
0.91742088 0.000000e+00 Raw Tau bugfix~total.mutants
0.91292114 0.000000e+00 Raw Tau bugfix~n.total.mutants
0.03387964 9.504769e-04 Raw Tau bugfix~loc
-0.08287773 8.485574e-16 Raw Tau bugfix~depdegree
-0.15092903 6.734249e-50 Raw Tau bugfix~avgdepdegree
0.02673669 6.669349e-03 Raw Tau bugfix~halstead_difficulty
0.16560994 0.000000e+00 Raw Tau bugfix~cyclomatic_complexity
0.21615050 0.000000e+00 Normalized R^2 n.bugfix~total.mutants
0.64609277 0.000000e+00 Normalized R^2 n.bugfix~n.total.mutants
-0.09552196 7.844154e-15 Normalized R^2 n.bugfix~loc
-0.12550201 1.518863e-24 Normalized R^2 n.bugfix~depdegree
-0.19411538 5.814415e-57 Normalized R^2 n.bugfix~avgdepdegree
-0.11747964 1.103255e-21 Normalized R^2 n.bugfix~halstead_difficulty
-0.04719002 1.277357e-04 Normalized R^2 n.bugfix~cyclomatic_complexity
0.82068731 0.000000e+00 Normalized Tau n.bugfix~total.mutants
0.86032185 0.000000e+00 Normalized Tau n.bugfix~n.total.mutants
-0.03505297 4.035918e-04 Normalized Tau n.bugfix~loc
-0.11896119 6.434683e-33 Normalized Tau n.bugfix~depdegree
-0.16700456 7.729120e-65 Normalized Tau n.bugfix~avgdepdegree
-0.02007960 3.502701e-02 Normalized Tau n.bugfix~halstead_difficulty
0.10603883 0.000000e+00 Normalized Tau n.bugfix~cyclomatic_complexity
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment