11/07/2008

Software ICU

Software ICU tells us the condition of the software, indeed its health. For this time I took advantage of an open source software called Hackystat. Its role is to show various information such as coverage, complexity, coupling, and etc. I installed JavaNCSS and DependencyFinder here so that it will work on complexity and coupling respectively.

Result

Here is brief summary of vital signs.

Vital SignsWhat to measure
CoveragePercentage of code executed by tests.
ComplexityDensity of branches and loops.
CouplingNumber of dependencies between classes.
ChurnLines of code added, deleted, and modified in a commit.
CodeIssueNumber of warnings generated by QA tools.
CommitNumber of commits to the repository.
BuildNumber of builds.
UnitTestNumber of unit tests.
SizeAmount of code.
DevTimeTime spent.




For now coverage of duedates-green is low, so the source code should be modified to improve its reliability. Except that, Hackystat is showing we are not in danger.

Conclusion

Although it takes a while to download and setup various tools for Eclipse, Hackystat allows us to easily understand the condition and health of our software project. It is also possible to manually run each tools, but we are programmers and we should let computers to do it automatically. Hackystat is very useful which accomplishes that task.

No comments: