You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ori Roth edited this page Apr 2, 2017
·
3 revisions
Character count is perhaps the simplest complexity metric of a software unit, and is naturally defined as the number of characters that comprise the unit. Despite its simplicity, the metric is not uniquely defined. Replacement of tabs by spaces and vice versa, blanks at end of lines, just as moving between UNIX and DOS line end convention may change this metric's value.
The Visible Character Count (VCC) metric is more unambiguously defined as the count of all non-space characters of the software unit. This count includes also non-space characters in comments.
The Code Character Count (CCC) metric is the count of all non-space characters, comments not included.