Smart Bear Software
Welcome CodeReports®

" Our team balked at code reviews at first. Now we can't imagine working without Code Collaborator. "

—Brian Toombs
Cisco Systems®
Code Reports
FREE PAPERBACK BOOK!  Best Kept Secrets of Peer Code Review.  Free shipping in US.
This product has been transferred to ByIQ LLC.

Details can be found here.

CodeReports: Source Code Metrics & Reports

CodeReports supports many metrics. The database is designed so that existing reports and queries are not affected as new types of metrics become available.

File Metrics

File versions can be sliced, summarized, and restricted by date, author, project, and file type.

  • list/count files modified by date, author, project, file type
  • find all changes with no associated comments
  • list all files changed in the past week with who changed them and why
  • list major code changes (e.g. where more than 20 files were altered in a single check-in)
  • list files changed recently, but which hadn't been touched in a long time before
LOC Metrics

These line-count metrics can be sliced, summarized, and restricted by file, date, author, project, and file type.

  • total and average number of lines
  • historical line-count trends
  • number of lines strictly added in a change
  • number of lines strictly removed in a change
  • number of lines modified in a change
  • total line delta in a change
  • lines affected in a change

These raw metrics combine with File Metrics to produce more reports:

  • list files that are too large (e.g. over 1000 lines)
  • list large code changes (e.g. over 200 lines affected in a single change)
  • list recent changes with impact
  • list files with large code churn
  • show line contribution of every user
  • show project size or size deltas by week, month, or author
sLOC, eLOC, cLOC, wLOC Metrics

All metrics listed under LOC Metrics are also available separately for source code lines (sLOC), effective source code lines (eLOC), comment lines (cLOC), and whitespace lines (wLOC).

Furthermore, by combination you can produce more reports:

  • list percentage of source lines with comments per file
  • find "20 worst" files by how well they are commented
  • break-down percentage of source lines with comments broken down by developer
  • watch comment percentage over time
  • compute project's size by actual lines of source code
Coming Soon...

More metrics are coming soon. Here's a sneak preview:

  • McCabe (cyclomatic) complexity
  • Halstead complexity
  • efferent couplings
  • interface complexity
  • module connectivity