Commit graph

28 commits

Author SHA1 Message Date
Markus Schirp
eb6ea9a74f Metric driven code refactoring
Break some classes, rename stuff etc.
2013-01-04 22:16:03 +01:00
Markus Schirp
c88c9fff2a Adjust flay score 2013-01-04 00:24:24 +01:00
Markus Schirp
fce6d5c06e Metric diven cleanups and break large classes
* Formal argument mutations are still very dirty :(
2012-12-29 20:12:48 +01:00
Markus Schirp
3026572b50 Deduplicate util array and literal hash mutations 2012-12-29 16:53:52 +01:00
Markus Schirp
1d12ba0611 Adjust scores and do a little metric driven refactoring 2012-12-12 22:45:47 +01:00
Markus Schirp
fe941ff74c Cleanup node body mutation 2012-12-06 22:30:57 +01:00
Markus Schirp
c5529ba676 Remove some duplication by using emit_body_mutations(attribute_name) 2012-12-06 22:03:22 +01:00
Markus Schirp
5f215e1dc1 Move specs and adjust flay score 2012-12-06 21:51:52 +01:00
Markus Schirp
5065991896 Adjust flay score 2012-08-20 04:53:47 +02:00
Markus Schirp
5b6e0a12d3 Adjust flay score
* Remove some duplication with an option extraction helper method.
2012-08-19 21:40:08 +02:00
Markus Schirp
21aa13b9bd Adjust flay score 2012-08-16 19:42:55 +02:00
Markus Schirp
45d47add08 Simplify float literal mutator
* Adjust flay score
2012-08-15 21:03:54 +02:00
Markus Schirp
35841bded2 Simplify range mutator
* Adjust flog score
2012-08-15 20:56:38 +02:00
Markus Schirp
835b069306 Adjust flay score 2012-08-14 12:40:14 +02:00
Markus Schirp
ad48c6fdbb Adjust flay score 2012-08-09 19:56:06 +02:00
Markus Schirp
455970ab1b Adjust flay score 2012-08-03 01:40:45 +02:00
Markus Schirp
41ed632100 Adjust flay score 2012-08-03 01:31:28 +02:00
Markus Schirp
05d5c35230 Adjust flay score 2012-08-03 00:25:17 +02:00
Markus Schirp
7556d37a04 Adjust flay score 2012-08-01 18:36:13 +02:00
Markus Schirp
ec9d6f65f6 Update flay threshold 2012-08-01 17:58:34 +02:00
Markus Schirp
00136ab9df Fix YARD coverage and flay score 2012-08-01 17:03:24 +02:00
Markus Schirp
1d85b78f93 Adjust flay score and rename class based on roodi complaint 2012-08-01 16:06:36 +02:00
Markus Schirp
7f22299f5f Adjust flay score 2012-08-01 13:34:07 +02:00
Markus Schirp
75e6a229f8 Create namespace for literal mutations
* Do not follow rubinius names anymore.
  An explict declaration now declares a mutator handles
  specific AST node.

* Has a nice impact on metrics.
2012-07-31 19:45:46 +02:00
Markus Schirp
3e1f9c408f Cleanup and dedup mutation generation
* Mutator and Generator where merged.
* A single pass over all duplications was made.
* It is clear a specific handles?(node) code for finding mutators
  is needed. Like virtus does for attributes, should also cache.
* Does not pass on 1.9 mode currently as blocks are unexpectly parsed
  differend when it comes to a series of literal booleans.
2012-07-31 04:00:05 +02:00
Markus Schirp
10c3dfc390 Finalize method matching
* Add tests for all edge cases I could create
* Add infrastructure for loading mutations into the vm.
* The fun part is next!
2012-07-26 19:25:23 +02:00
Markus Schirp
dc893bfd7d Progress on method matching
* Adjust metrics
* Add initial integration spec on method matching
* Yard and Heckle coverage is at 100% (heckle cov is disputable)
* Rcov does not really make sense as MRI 1.8 cannot reach all code
  paths.
2012-07-24 01:41:08 +02:00
Markus Schirp
8c1fa8dace Add project infrastructure
* This infrastructure, especially the rake tasks should be
  gemified at some point in the future. I copied exactly the same
  bytes many times in the last month.
2012-07-23 16:37:44 +02:00