hhvm / difflib
File Size

The distribution of size of files (measured in lines of code).

Intro
  • File size measurements show the distribution of size of files.
  • Files are classified in four categories based on their size (lines of code): 1-100 (very small files), 101-200 (small files), 201-500 (medium size files), 501-1000 (long files), 1001+(very long files).
  • It is a good practice to keep files small. Long files may become "bloaters", code that have increased to such gargantuan proportions that they are hard to work with.
Learn more...
File Size Overall
  • There are 9 files with 545 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 0 medium size files (0 lines of codeclsfd_ftr_w_mp_ins)
    • 2 small files (239 lines of code)
    • 7 very small files (306 lines of code)
0% | 0% | 0% | 43% | 56%
Legend:
1001+
501-1000
201-500
101-200
1-100


explore: zoomable circles | sunburst | 3D view
File Size per Extension
1001+
501-1000
201-500
101-200
1-100
php0% | 0% | 0% | 43% | 56%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
src0% | 0% | 0% | 43% | 56%
Longest Files (Top 9)
File# lines# units
Diff.php
in src
130 5
109 6
89 3
77 7
43 1
28 6
27 7
21 5
21 5
Files With Most Units (Top 9)
File# lines# units
77 7
27 7
28 6
109 6
Diff.php
in src
130 5
21 5
21 5
89 3
43 1
Files With Long Lines (Top 0)

There are 0 files with lines longer than 120 characters. In total, there are 0 long lines.

File# lines# units# long lines
Correlations

File Size vs. Commits (all time): 9 points

src/CLIColoredUnifiedDiff.php x: 5 commits (all time) y: 77 lines of code src/ColoredUnifiedDiff.php x: 13 commits (all time) y: 89 lines of code src/Diff.php x: 6 commits (all time) y: 130 lines of code src/DiffDeleteOp.php x: 3 commits (all time) y: 21 lines of code src/DiffKeepOp.php x: 2 commits (all time) y: 28 lines of code src/DiffOp.php x: 2 commits (all time) y: 27 lines of code src/StringDiff.php x: 13 commits (all time) y: 109 lines of code src/cluster.php x: 6 commits (all time) y: 43 lines of code
130.0
lines of code
  min: 21.0
  average: 60.56
  25th percentile: 24.0
  median: 43.0
  75th percentile: 99.0
  max: 130.0
0 13.0
commits (all time)
min: 2.0 | average: 5.89 | 25th percentile: 2.5 | median: 5.0 | 75th percentile: 9.5 | max: 13.0

File Size vs. Contributors (all time): 9 points

src/CLIColoredUnifiedDiff.php x: 3 contributors (all time) y: 77 lines of code src/ColoredUnifiedDiff.php x: 6 contributors (all time) y: 89 lines of code src/Diff.php x: 5 contributors (all time) y: 130 lines of code src/DiffDeleteOp.php x: 3 contributors (all time) y: 21 lines of code src/DiffKeepOp.php x: 2 contributors (all time) y: 28 lines of code src/DiffOp.php x: 2 contributors (all time) y: 27 lines of code src/StringDiff.php x: 8 contributors (all time) y: 109 lines of code src/cluster.php x: 5 contributors (all time) y: 43 lines of code
130.0
lines of code
  min: 21.0
  average: 60.56
  25th percentile: 24.0
  median: 43.0
  75th percentile: 99.0
  max: 130.0
0 8.0
contributors (all time)
min: 2.0 | average: 4.11 | 25th percentile: 2.5 | median: 3.0 | 75th percentile: 5.5 | max: 8.0

File Size vs. Commits (30 days): 0 points

No data for "commits (30d)" vs. "lines of code".

File Size vs. Contributors (30 days): 0 points

No data for "contributors (30d)" vs. "lines of code".


File Size vs. Commits (90 days): 9 points

src/CLIColoredUnifiedDiff.php x: 1 commits (90d) y: 77 lines of code src/ColoredUnifiedDiff.php x: 1 commits (90d) y: 89 lines of code src/Diff.php x: 1 commits (90d) y: 130 lines of code src/DiffDeleteOp.php x: 1 commits (90d) y: 21 lines of code src/DiffKeepOp.php x: 1 commits (90d) y: 28 lines of code src/DiffOp.php x: 1 commits (90d) y: 27 lines of code src/StringDiff.php x: 1 commits (90d) y: 109 lines of code src/cluster.php x: 1 commits (90d) y: 43 lines of code
130.0
lines of code
  min: 21.0
  average: 60.56
  25th percentile: 24.0
  median: 43.0
  75th percentile: 99.0
  max: 130.0
0 1.0
commits (90d)
min: 1.0 | average: 1.0 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 1.0

File Size vs. Contributors (90 days): 9 points

src/CLIColoredUnifiedDiff.php x: 1 contributors (90d) y: 77 lines of code src/ColoredUnifiedDiff.php x: 1 contributors (90d) y: 89 lines of code src/Diff.php x: 1 contributors (90d) y: 130 lines of code src/DiffDeleteOp.php x: 1 contributors (90d) y: 21 lines of code src/DiffKeepOp.php x: 1 contributors (90d) y: 28 lines of code src/DiffOp.php x: 1 contributors (90d) y: 27 lines of code src/StringDiff.php x: 1 contributors (90d) y: 109 lines of code src/cluster.php x: 1 contributors (90d) y: 43 lines of code
130.0
lines of code
  min: 21.0
  average: 60.56
  25th percentile: 24.0
  median: 43.0
  75th percentile: 99.0
  max: 130.0
0 1.0
contributors (90d)
min: 1.0 | average: 1.0 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 1.0