[root]/cdx/scorebot/scoring/logic
parser
(9 files, 4104 lines)
Author | Changes | Lines of Code | Lines per Change |
---|---|---|---|
Totals | 194 (100.0%) | 5209 (100.0%) | 26.8 |
dound | 192 (99.0%) | 5136 (98.6%) | 26.7 |
genned | 2 (1.0%) | 73 (1.4%) | 36.5 |
Removed unneccessary null object tests.
2 lines of code changed in:
Removed dead stores to local variables.
2 lines of code changed in:
Bug fix: The assignment operator for the scoring language now works
28 lines of code changed in:
Performance: Integer.valueOf now used in preference to new Integer
6 lines of code changed in:
Efficiency: use Boolean.FALSE instead of creating a new Boolean object and "" instead of creating a new String object.
6 lines of code changed in:
The process which checks to see if the file currently being edited now prompts the user to see if they want to save changes or not only if the file has been changed, and always if the file has been changed. Previously, an imperfect method which didn't work as well was being used.
equals( Object o ) has also been overriden for all objects in the framework.
18 lines of code changed in:
IllegalArgValException now thrown instead of IllegalArgumentException in many cases so that the user is forced to check the Exception in case it occurs.
13 lines of code changed in:
improved checking
103 lines of code changed in:
Bug fix: Type checking bug fixes (was asking the hashmap for something with the wrong key type)
11 lines of code changed in:
Fixed exception so that the identifier name and test result number is shown vice gobbly-gook.
8 lines of code changed in:
no message
3 lines of code changed in:
If a null TestSuite is passed, it now returns null.
4 lines of code changed in:
If a null TestSuite is passed, it is now ignored.
3 lines of code changed in:
Expanded the scoring language so that type can now be determined at (and is now validated at) runtime.
462 lines of code changed in:
Bug fix: was trying to retrieve option values instead of result values as intended
3 lines of code changed in:
No longer timestamp LogicExceptions.
3 lines of code changed in:
Clone is now implemented in ScoringRule and TestNumPair so that a Context may clone a ScoringRule so that the results for that cloned rule are seperated from the actual rule. This is necessary because the original rule may have its results pruned if useUniqueResults is true, however, the TestScoreEvent's copy of the rule needs to have those test results (TestEvents) so that they can be saved to a file.
27 lines of code changed in:
Bug fix: logic was removing right operands from the actual LogicUnit which made later evaluations bogus; elements are still being removed, been any methods which do this are now passed a clone vice the actual vector.
11 lines of code changed in:
Bug fix: some wrong indices were being looked at for Literals.
6 lines of code changed in:
Architecture Revisement: ScoreEvent no longer contains a TestSuite. The TestSuite should have never been stored in the rule -- it was ok if this data was only staying in memory, but it is being written to XML and suite information doesn't really belong or need to take up all that space. The TestSuite for a rule can be determined by looking through each suite and which has the rule with the specified name. If the equals method was implemented for ScoringRule, then the TestSuite could be determined just with that.
5 lines of code changed in:
(29 more)