Delivered! Today I released version 1.2.2 of JDecsiontableLib. As promised in the last blog entry you may create a new decision table by providing a list of node names (= called description in JDecsiontable). Second argument for the new constructor is the number of rules you want.
Furthermore 2 of 3 constructors of class Decisiontable check their arguments before creating the new object and may throw an IllegalArgumentException if the values doesn't fit. The Exception is thrown in a safer way following The CERT Oracle Secure Coding Standard for Java in OBJ11-J.
Since documentation is an important part of any software some javadoc was added i.e. for the enumns Decision and Comparison.
Last but not least there is a new folder in the download area: TestCoverage. Since this is Open Source everything should open so here are
- screenshots of result of examining the test coverage by cobertura (i.e. version_1.2.2_2013-01-07-1227.png for version 1.2.2)
- build logs (i.e. version_1.2.2_2013-01-07-1226.log) showing results of automatic test executed automatically as part of the build process
Edit1: For version 1.2.0 I don't have a build logfile.
Edit2: Test coverage for version 1.2.2 is 99.07 % provided by 123 test cases (version 1.2.1 had 110 test cases).