Commit Graph

5 Commits

Author SHA1 Message Date
Lars Kühne 5a6be4c757 Use BigInteger in complexity metrics checks to avoid integer overflow (bug 1654769).
Thanks to Simon Harris (haruki_zaemon) for reporting this bug together with an idea how to fix it.
2007-02-12 19:13:42 +00:00
Lars Kühne 40f4c37a21 Major performance inprovements in StrictDuplicatecode check, which now uses checksums over sequences of lines instead of checksums over individual lines.
To avoid reading the same file multiple times a soft reference map from commons-util is used, this requires a modification in import-control.xml. Hope this is OK - commons-util is a dependency anyway and is included in checkstyle-all.jar.
2006-09-10 11:35:35 +00:00
Oliver Burn b95ced53e3 Final updates for a beta release 2005-08-04 12:05:26 +00:00
Oliver Burn a5d30bf353 Added a lot more configuration options for the ImportControlCheck that
came out of using at work. I still need to improve the unit tests and
properly document the support options. Wanted to check in now for
backup.
2005-07-31 12:27:44 +00:00
Oliver Burn 1951594e90 Added the ImportControl check. This is a check that can be used to
enforce which packages can import which packages. I was required to
develop this for a large project to enforce application layering rules.

The check is fairly basic at the moment, but is still sufficiently
powerful to be useful. I am sure there will be feature requests in the
future.
2005-07-27 20:29:28 +00:00