sebastianbergmann / phploc

A tool for quickly measuring the size of a PHP project.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Logic issue

dereuromark opened this issue · comments

php phploc.phar src/

Size
  Lines of Code (LOC)                          2372112
  Comment Lines of Code (CLOC)                  881217 (37.15%)
  Non-Comment Lines of Code (NCLOC)            1490895 (62.85%)
  Logical Lines of Code (LLOC)                  415120 (17.50%)
    Classes                                     417298 (100.52%)

and

php phploc.phar vendor/

Size
  Lines of Code (LOC)                          2634026
  Comment Lines of Code (CLOC)                 1144993 (43.47%)
  Non-Comment Lines of Code (NCLOC)            1489033 (56.53%)
  Logical Lines of Code (LLOC)                  328529 (12.47%)
    Classes                                     330153 (100.49%)

Several runs over src/ or vendor/ seem to indicate that classes can be > 100% - which is mathematically impossible :) right?