CodeCLOC uses the Changing Lines of Code (CLOC)
method to calculate development progress across two different
versions of software, measuring such things as the
amount of original code, the percentage
of original code that exists in a subsequent version
of the code, and the number of lines and files deleted,
added, and modified from one version of code to another. CodeCLOC allows
the measurement of software
changes and software intellectual property changes for
calculating such things as transfer pricing.
CodeCLOC compares every file in one directory with every
file in another directory, including all subdirectories
if requested. CodeCLOC produces a database that can
then be exported to an HTML basic report that lists
all files in one folder that have statements that match
comments in files in the other folder. You can click
on any particular file pair listed in the HTML basic
report see an HTML detailed report that shows the specific
lines in the files that match. CodeCLOC also produces
spreadsheets showing detailed statistics about code
growth from version to version.
uses a fast, simple algorithm to find matching lines
within different source code files. CodeCLOC works for
any programming language.