Changeset 115 for trunk/CrossPare/src/de/ugoe
- Timestamp:
- 06/01/16 11:05:07 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/CrossPare/src/de/ugoe/cs/cpdp/eval/AbstractWekaEvaluation.java
r86 r115 211 211 private double calculateReviewEffort(Instances testdata, Classifier classifier) { 212 212 213 finalAttribute loc = testdata.attribute("loc");213 Attribute loc = testdata.attribute("loc"); 214 214 if (loc == null) { 215 loc = testdata.attribute("LOC_EXECUTABLE"); 216 } 217 if (loc == null) { 218 loc = testdata.attribute("numberOfLinesOfCode"); 219 } 220 if( loc == null ) { 215 221 return 0.0; 216 222 }
Note: See TracChangeset
for help on using the changeset viewer.