Reengineering Metrics
- Modularity
- Fraction of code base contained in well defined modules
- CCD - cumulative component dependency. Measure coupling between components
- # data structures (value object, lex, thd) modularized
- # circular includes
- # header files with header file guards
- Cumulative Include Dependencies
- Maintainability
- % of code covered by gcov running unit tests on rewritten modules
- Run the relevant subset of system tests against the old and the rewritten
code and count the number of bugs fixed by the rewritten version
- Percentage of packages with comments
- Percentage of interfaces with comments
- Percentage of non-trivial functions with comments
- Pluggability
- Number of services in the service interface (# of service files)