These are the Recommended unit/module level testing tools form Andrew Glover (The co-author of Java Testing Patterns ) at his
Blog.
- Test results
-
- The meaningful data here is the number of tests run and the number of failures. Both JUnit and the ever so hip TestNG framework report this data quite effectively.
- Code coverage
-
- Complexity
-
- Code size
-
- JavaNCSS and PMD also report code sizes data. JavaNCSS indicates the number of classes, methods, lines of code and PMD can report classes and methods that are considered too big. This is closely related to complexity too.
- Coupling
-
- Duplication
-
- Tools like Simian and PMD’s CPD indicate how much of the code is copied and pasted.
- Coding standards
-
- FindBugs, PMD, and CheckStyle report violations to predefined rules that may indicate possible defects or maintenance challenges.
-- Regards, Mubbashir
No comments:
Post a Comment