hhvm / hh-apidoc
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 42 files with 1,977 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 2 medium size files (420 lines of codeclsfd_ftr_w_mp_ins)
    • 3 small files (426 lines of code)
    • 37 very small files (1,131 lines of code)
0% | 0% | 21% | 21% | 57%
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% | 21% | 21% | 56%
css0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
src/DocBlock0% | 0% | 95% | 0% | 4%
src/PageSections0% | 0% | 39% | 0% | 60%
src0% | 0% | 0% | 37% | 62%
src/MarkdownExt0% | 0% | 0% | 52% | 47%
src/PageSections/_Private0% | 0% | 0% | 0% | 100%
Longest Files (Top 42)
File# lines# units
DocBlock.hack
in src/DocBlock
219 8
InterfaceSynopsis.hack
in src/PageSections
201 7
185 5
AutoLinkifyFilter.hack
in src/MarkdownExt
140 4
101 6
92 6
86 11
65 2
64 1
RenderContext.hack
in src/MarkdownExt
63 8
53 11
48 1
stringify_functionish_signature.hack
in src/PageSections/_Private
47 1
FunctionishReturnValues.hack
in src/PageSections
45 2
FunctionishParameters.hack
in src/PageSections
44 2
44 1
FrontMatter.hack
in src/PageSections
41 1
ShapeFields.hack
in src/PageSections
40 1
TypeDeclaration.hack
in src/PageSections
40 2
stringify_parameter.hack
in src/PageSections/_Private
35 1
stringify_parameters.hack
in src/PageSections/_Private
33 1
31 6
stringify_generic.hack
in src/PageSections/_Private
27 1
stringify_shape.hack
in src/PageSections/_Private
25 1
PageSection.hack
in src/PageSections
24 1
DeprecationMessage.hack
in src/PageSections
19 2
NameHeading.hack
in src/PageSections
18 1
FunctionishSignature.hack
in src/PageSections
17 1
16 -
stringify_generics.hack
in src/PageSections/_Private
15 1
15 -
stringify_expression.hack
in src/PageSections/_Private
11 1
11 1
10 -
9 -
stringify_typehint.hack
in src/PageSections/_Private
8 1
Description.hack
in src/PageSections
7 1
Summary.hack
in src/PageSections
7 1
ParameterInfo.hack
in src/DocBlock
6 -
StringifyFormat.hack
in src/PageSections/_Private
5 -
ReturnInfo.hack
in src/DocBlock
5 -
5 -
Files With Most Units (Top 34)
File# lines# units
53 11
86 11
RenderContext.hack
in src/MarkdownExt
63 8
DocBlock.hack
in src/DocBlock
219 8
InterfaceSynopsis.hack
in src/PageSections
201 7
101 6
92 6
31 6
185 5
AutoLinkifyFilter.hack
in src/MarkdownExt
140 4
DeprecationMessage.hack
in src/PageSections
19 2
FunctionishParameters.hack
in src/PageSections
44 2
FunctionishReturnValues.hack
in src/PageSections
45 2
TypeDeclaration.hack
in src/PageSections
40 2
65 2
48 1
PageSection.hack
in src/PageSections
24 1
NameHeading.hack
in src/PageSections
18 1
FunctionishSignature.hack
in src/PageSections
17 1
stringify_parameters.hack
in src/PageSections/_Private
33 1
stringify_parameter.hack
in src/PageSections/_Private
35 1
stringify_shape.hack
in src/PageSections/_Private
25 1
stringify_generic.hack
in src/PageSections/_Private
27 1
stringify_generics.hack
in src/PageSections/_Private
15 1
stringify_typehint.hack
in src/PageSections/_Private
8 1
stringify_expression.hack
in src/PageSections/_Private
11 1
stringify_functionish_signature.hack
in src/PageSections/_Private
47 1
Description.hack
in src/PageSections
7 1
FrontMatter.hack
in src/PageSections
41 1
ShapeFields.hack
in src/PageSections
40 1
Summary.hack
in src/PageSections
7 1
64 1
11 1
44 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): 42 points

src/DocumentationBuilderContext.hack x: 3 commits (all time) y: 31 lines of code src/GeneratorCLI.hack x: 5 commits (all time) y: 185 lines of code src/Index.hack x: 2 commits (all time) y: 9 lines of code src/IndexDocumentBuilder.hack x: 4 commits (all time) y: 92 lines of code src/IndexedPathProvider.hack x: 2 commits (all time) y: 86 lines of code src/PageSections/InterfaceSynopsis.hack x: 7 commits (all time) y: 201 lines of code src/create_index.hack x: 5 commits (all time) y: 64 lines of code src/MarkdownExt/AutoLinkifyFilter.hack x: 4 commits (all time) y: 140 lines of code src/PageSections/Description.hack x: 2 commits (all time) y: 7 lines of code src/PageSections/FrontMatter.hack x: 2 commits (all time) y: 41 lines of code src/DocumentationBuilder.hack x: 2 commits (all time) y: 101 lines of code src/MarkdownExt/RenderContext.hack x: 2 commits (all time) y: 63 lines of code src/MarkdownExt/SyntaxHighlightingFilter.hack x: 9 commits (all time) y: 65 lines of code src/PageSections/DeprecationMessage.hack x: 2 commits (all time) y: 19 lines of code src/PageSections/NameHeading.hack x: 3 commits (all time) y: 18 lines of code src/get_path_for_documentable.hack x: 3 commits (all time) y: 48 lines of code src/PageSections/FunctionishReturnValues.hack x: 4 commits (all time) y: 45 lines of code src/PageSections/_Private/stringify_functionish_signature.hack x: 3 commits (all time) y: 47 lines of code src/PageSections/_Private/stringify_parameter.hack x: 4 commits (all time) y: 35 lines of code src/DocBlock/DocBlock.hack x: 2 commits (all time) y: 219 lines of code src/PageSections/TypeDeclaration.hack x: 3 commits (all time) y: 40 lines of code src/PageSections/_Private/stringify_generic.hack x: 2 commits (all time) y: 27 lines of code src/PageSections/_Private/stringify_typehint.hack x: 2 commits (all time) y: 8 lines of code src/PageSections/FunctionishParameters.hack x: 2 commits (all time) y: 44 lines of code src/PageSections/FunctionishSignature.hack x: 2 commits (all time) y: 17 lines of code src/PageSections/ShapeFields.hack x: 2 commits (all time) y: 40 lines of code src/Documentable.hack x: 2 commits (all time) y: 10 lines of code src/PageSections/PageSection.hack x: 2 commits (all time) y: 24 lines of code src/PageSections/_Private/stringify_expression.hack x: 2 commits (all time) y: 11 lines of code src/DocBlock/ParameterInfo.hack x: 1 commits (all time) y: 6 lines of code src/DocBlock/ReturnInfo.hack x: 1 commits (all time) y: 5 lines of code src/IPathProvider.hack x: 1 commits (all time) y: 15 lines of code src/PageSections/Summary.hack x: 1 commits (all time) y: 7 lines of code src/PageSections/_Private/stringify_parameters.hack x: 1 commits (all time) y: 33 lines of code src/PageSections/_Private/stringify_shape.hack x: 1 commits (all time) y: 25 lines of code src/SingleDirectoryPathProvider.hack x: 1 commits (all time) y: 53 lines of code src/get_path_for_type.hack x: 1 commits (all time) y: 11 lines of code src/syntax.css x: 1 commits (all time) y: 16 lines of code
219.0
lines of code
  min: 5.0
  average: 47.07
  25th percentile: 11.0
  median: 32.0
  75th percentile: 55.5
  max: 219.0
0 9.0
commits (all time)
min: 1.0 | average: 2.45 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 3.0 | max: 9.0

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

src/DocumentationBuilderContext.hack x: 2 contributors (all time) y: 31 lines of code src/GeneratorCLI.hack x: 3 contributors (all time) y: 185 lines of code src/Index.hack x: 1 contributors (all time) y: 9 lines of code src/IndexDocumentBuilder.hack x: 2 contributors (all time) y: 92 lines of code src/IndexedPathProvider.hack x: 1 contributors (all time) y: 86 lines of code src/PageSections/InterfaceSynopsis.hack x: 3 contributors (all time) y: 201 lines of code src/create_index.hack x: 2 contributors (all time) y: 64 lines of code src/MarkdownExt/AutoLinkifyFilter.hack x: 2 contributors (all time) y: 140 lines of code src/PageSections/Description.hack x: 1 contributors (all time) y: 7 lines of code src/PageSections/FrontMatter.hack x: 1 contributors (all time) y: 41 lines of code src/DocumentationBuilder.hack x: 1 contributors (all time) y: 101 lines of code src/MarkdownExt/RenderContext.hack x: 2 contributors (all time) y: 63 lines of code src/MarkdownExt/SyntaxHighlightingFilter.hack x: 2 contributors (all time) y: 65 lines of code src/PageSections/DeprecationMessage.hack x: 2 contributors (all time) y: 19 lines of code src/PageSections/NameHeading.hack x: 2 contributors (all time) y: 18 lines of code src/get_path_for_documentable.hack x: 2 contributors (all time) y: 48 lines of code src/PageSections/FunctionishReturnValues.hack x: 2 contributors (all time) y: 45 lines of code src/PageSections/_Private/stringify_functionish_signature.hack x: 2 contributors (all time) y: 47 lines of code src/PageSections/_Private/stringify_parameter.hack x: 2 contributors (all time) y: 35 lines of code src/DocBlock/DocBlock.hack x: 2 contributors (all time) y: 219 lines of code src/PageSections/TypeDeclaration.hack x: 2 contributors (all time) y: 40 lines of code src/PageSections/_Private/stringify_generic.hack x: 2 contributors (all time) y: 27 lines of code src/PageSections/_Private/stringify_typehint.hack x: 2 contributors (all time) y: 8 lines of code src/PageSections/FunctionishParameters.hack x: 1 contributors (all time) y: 44 lines of code src/PageSections/FunctionishSignature.hack x: 1 contributors (all time) y: 17 lines of code src/PageSections/ShapeFields.hack x: 1 contributors (all time) y: 40 lines of code src/Documentable.hack x: 1 contributors (all time) y: 10 lines of code src/PageSections/PageSection.hack x: 1 contributors (all time) y: 24 lines of code src/PageSections/_Private/stringify_expression.hack x: 1 contributors (all time) y: 11 lines of code src/DocBlock/ParameterInfo.hack x: 1 contributors (all time) y: 6 lines of code src/DocBlock/ReturnInfo.hack x: 1 contributors (all time) y: 5 lines of code src/IPathProvider.hack x: 1 contributors (all time) y: 15 lines of code src/PageSections/_Private/stringify_parameters.hack x: 1 contributors (all time) y: 33 lines of code src/PageSections/_Private/stringify_shape.hack x: 1 contributors (all time) y: 25 lines of code src/SingleDirectoryPathProvider.hack x: 1 contributors (all time) y: 53 lines of code src/syntax.css x: 1 contributors (all time) y: 16 lines of code
219.0
lines of code
  min: 5.0
  average: 47.07
  25th percentile: 11.0
  median: 32.0
  75th percentile: 55.5
  max: 219.0
0 3.0
contributors (all time)
min: 1.0 | average: 1.48 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 2.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): 7 points

src/DocumentationBuilderContext.hack x: 1 commits (90d) y: 31 lines of code src/GeneratorCLI.hack x: 1 commits (90d) y: 185 lines of code src/Index.hack x: 1 commits (90d) y: 9 lines of code src/IndexDocumentBuilder.hack x: 1 commits (90d) y: 92 lines of code src/IndexedPathProvider.hack x: 1 commits (90d) y: 86 lines of code src/PageSections/InterfaceSynopsis.hack x: 1 commits (90d) y: 201 lines of code src/create_index.hack x: 1 commits (90d) y: 64 lines of code
201.0
lines of code
  min: 9.0
  average: 95.43
  25th percentile: 31.0
  median: 86.0
  75th percentile: 185.0
  max: 201.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): 7 points

src/DocumentationBuilderContext.hack x: 1 contributors (90d) y: 31 lines of code src/GeneratorCLI.hack x: 1 contributors (90d) y: 185 lines of code src/Index.hack x: 1 contributors (90d) y: 9 lines of code src/IndexDocumentBuilder.hack x: 1 contributors (90d) y: 92 lines of code src/IndexedPathProvider.hack x: 1 contributors (90d) y: 86 lines of code src/PageSections/InterfaceSynopsis.hack x: 1 contributors (90d) y: 201 lines of code src/create_index.hack x: 1 contributors (90d) y: 64 lines of code
201.0
lines of code
  min: 9.0
  average: 95.43
  25th percentile: 31.0
  median: 86.0
  75th percentile: 185.0
  max: 201.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