hhvm / hhvm-autoload
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 18 files with 954 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 1 medium size files (206 lines of codeclsfd_ftr_w_mp_ins)
    • 2 small files (324 lines of code)
    • 15 very small files (424 lines of code)
0% | 0% | 21% | 33% | 44%
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
hack0% | 0% | 22% | 35% | 42%
php0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
src0% | 0% | 31% | 29% | 39%
src/builders0% | 0% | 0% | 49% | 50%
ROOT0% | 0% | 0% | 0% | 100%
Longest Files (Top 18)
File# lines# units
206 18
193 13
FactParseScanner.hack
in src/builders
131 6
79 7
78 4
HHImporter.hack
in src/builders
75 4
41 4
RootImporter.hack
in src/builders
37 4
36 5
23 2
Scanner.hack
in src/builders
15 2
12 -
9 1
Builder.hack
in src/builders
5 -
5 -
4 -
3 -
2 -
Files With Most Units (Top 12)
File# lines# units
206 18
193 13
79 7
FactParseScanner.hack
in src/builders
131 6
36 5
78 4
HHImporter.hack
in src/builders
75 4
RootImporter.hack
in src/builders
37 4
41 4
23 2
Scanner.hack
in src/builders
15 2
9 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): 18 points

src/ConfigurationLoader.hack x: 10 commits (all time) y: 78 lines of code src/Writer.hack x: 23 commits (all time) y: 206 lines of code src/FailureHandler.hack x: 2 commits (all time) y: 41 lines of code src/HHClientFallbackHandler.hack x: 12 commits (all time) y: 193 lines of code ComposerPlugin.php x: 3 commits (all time) y: 36 lines of code src/Config.hack x: 4 commits (all time) y: 12 lines of code src/TypeAssert.hack x: 8 commits (all time) y: 79 lines of code src/builders/FactParseScanner.hack x: 12 commits (all time) y: 131 lines of code src/AutoloadMap.hack x: 3 commits (all time) y: 2 lines of code src/Merger.hack x: 6 commits (all time) y: 23 lines of code src/builders/Builder.hack x: 2 commits (all time) y: 5 lines of code src/builders/HHImporter.hack x: 3 commits (all time) y: 75 lines of code src/builders/RootImporter.hack x: 4 commits (all time) y: 37 lines of code src/Exception.hack x: 3 commits (all time) y: 9 lines of code src/builders/Scanner.hack x: 2 commits (all time) y: 15 lines of code src/ConfigurationException.hack x: 1 commits (all time) y: 3 lines of code src/IncludedRoots.hack x: 1 commits (all time) y: 5 lines of code src/Parser.hack x: 1 commits (all time) y: 4 lines of code
206.0
lines of code
  min: 2.0
  average: 53.0
  25th percentile: 5.0
  median: 29.5
  75th percentile: 78.25
  max: 206.0
0 23.0
commits (all time)
min: 1.0 | average: 5.56 | 25th percentile: 2.0 | median: 3.0 | 75th percentile: 8.5 | max: 23.0

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

src/ConfigurationLoader.hack x: 3 contributors (all time) y: 78 lines of code src/Writer.hack x: 2 contributors (all time) y: 206 lines of code src/FailureHandler.hack x: 1 contributors (all time) y: 41 lines of code src/HHClientFallbackHandler.hack x: 3 contributors (all time) y: 193 lines of code ComposerPlugin.php x: 2 contributors (all time) y: 36 lines of code src/Config.hack x: 3 contributors (all time) y: 12 lines of code src/TypeAssert.hack x: 3 contributors (all time) y: 79 lines of code src/builders/FactParseScanner.hack x: 3 contributors (all time) y: 131 lines of code src/AutoloadMap.hack x: 2 contributors (all time) y: 2 lines of code src/Merger.hack x: 3 contributors (all time) y: 23 lines of code src/builders/Builder.hack x: 2 contributors (all time) y: 5 lines of code src/builders/HHImporter.hack x: 2 contributors (all time) y: 75 lines of code src/builders/RootImporter.hack x: 3 contributors (all time) y: 37 lines of code src/Exception.hack x: 2 contributors (all time) y: 9 lines of code src/builders/Scanner.hack x: 2 contributors (all time) y: 15 lines of code src/ConfigurationException.hack x: 1 contributors (all time) y: 3 lines of code src/IncludedRoots.hack x: 1 contributors (all time) y: 5 lines of code src/Parser.hack x: 1 contributors (all time) y: 4 lines of code
206.0
lines of code
  min: 2.0
  average: 53.0
  25th percentile: 5.0
  median: 29.5
  75th percentile: 78.25
  max: 206.0
0 3.0
contributors (all time)
min: 1.0 | average: 2.17 | 25th percentile: 1.75 | median: 2.0 | 75th percentile: 3.0 | max: 3.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): 4 points

src/ConfigurationLoader.hack x: 1 commits (90d) y: 78 lines of code src/Writer.hack x: 1 commits (90d) y: 206 lines of code src/FailureHandler.hack x: 1 commits (90d) y: 41 lines of code src/HHClientFallbackHandler.hack x: 1 commits (90d) y: 193 lines of code
206.0
lines of code
  min: 41.0
  average: 129.5
  25th percentile: 50.25
  median: 135.5
  75th percentile: 202.75
  max: 206.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): 4 points

src/ConfigurationLoader.hack x: 1 contributors (90d) y: 78 lines of code src/Writer.hack x: 1 contributors (90d) y: 206 lines of code src/FailureHandler.hack x: 1 contributors (90d) y: 41 lines of code src/HHClientFallbackHandler.hack x: 1 contributors (90d) y: 193 lines of code
206.0
lines of code
  min: 41.0
  average: 129.5
  25th percentile: 50.25
  median: 135.5
  75th percentile: 202.75
  max: 206.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