hhvm / xhp-lib
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 172 files with 3,553 lines of code.
    • 0 very long files (0 lines of code)
    • 1 long files (523 lines of code)
    • 0 medium size files (0 lines of codeclsfd_ftr_w_mp_ins)
    • 3 small files (458 lines of code)
    • 168 very small files (2,572 lines of code)
0% | 14% | 0% | 12% | 72%
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% | 14% | 0% | 12% | 72%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
core0% | 77% | 0% | 0% | 22%
Reflection0% | 0% | 0% | 88% | 11%
html0% | 0% | 0% | 68% | 31%
ChildValidation0% | 0% | 0% | 0% | 100%
html/tags/s0% | 0% | 0% | 0% | 100%
html/tags/t0% | 0% | 0% | 0% | 100%
html/tags/i0% | 0% | 0% | 0% | 100%
html/tags/a0% | 0% | 0% | 0% | 100%
html/tags/d0% | 0% | 0% | 0% | 100%
html/tags/h0% | 0% | 0% | 0% | 100%
html/tags/b0% | 0% | 0% | 0% | 100%
html/tags/m0% | 0% | 0% | 0% | 100%
html/tags/c0% | 0% | 0% | 0% | 100%
exceptions0% | 0% | 0% | 0% | 100%
html/tags/f0% | 0% | 0% | 0% | 100%
html/tags/l0% | 0% | 0% | 0% | 100%
html/tags/o0% | 0% | 0% | 0% | 100%
html/tags/r0% | 0% | 0% | 0% | 100%
html/tags/p0% | 0% | 0% | 0% | 100%
html/tags/v0% | 0% | 0% | 0% | 100%
html/tags/e0% | 0% | 0% | 0% | 100%
html/tags/n0% | 0% | 0% | 0% | 100%
html/tags/k0% | 0% | 0% | 0% | 100%
html/tags/u0% | 0% | 0% | 0% | 100%
html/categories0% | 0% | 0% | 0% | 100%
html/tags/q0% | 0% | 0% | 0% | 100%
html/tags/w0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
Node.hack
in src/core
523 40
173 12
element.hack
in src/html
164 2
121 10
Input.hack
in src/html/tags/i
65 -
Element.hack
in src/core
55 4
Primitive.hack
in src/core
52 3
ReflectionXHPClass.hack
in src/Reflection
40 7
A.hack
in src/html/tags/a
38 1
Link.hack
in src/html/tags/l
38 -
Area.hack
in src/html/tags/a
37 -
Video.hack
in src/html/tags/v
35 1
Img.hack
in src/html/tags/i
34 -
Table.hack
in src/html/tags/t
34 1
functions.hack
in src/ChildValidation
34 9
Iframe.hack
in src/html/tags/i
33 -
Audio.hack
in src/html/tags/a
31 1
Script.hack
in src/html/tags/s
30 -
Object.hack
in src/html/tags/o
30 1
Button.hack
in src/html/tags/b
29 1
Sequence.hack
in src/ChildValidation
28 3
AnyOf.hack
in src/ChildValidation
28 3
Body.hack
in src/html/tags/b
27 1
Embed.hack
in src/html/tags/e
26 1
Select.hack
in src/html/tags/s
25 1
24 4
Textarea.hack
in src/html/tags/t
24 -
Menu.hack
in src/html/tags/m
24 1
Form.hack
in src/html/tags/f
23 1
ConditionalComment.hack
in src/html/tags/c
23 2
Label.hack
in src/html/tags/l
22 1
22 1
QuantifierConstraint.hack
in src/ChildValidation
22 3
Ruby.hack
in src/html/tags/r
21 1
Th.hack
in src/html/tags/t
21 1
21 2
20 3
Figure.hack
in src/html/tags/f
20 1
Fieldset.hack
in src/html/tags/f
20 1
Meter.hack
in src/html/tags/m
20 1
Canvas.hack
in src/html/tags/c
20 1
20 1
Del.hack
in src/html/tags/d
19 1
Details.hack
in src/html/tags/d
19 1
Noscript.hack
in src/html/tags/n
18 1
Hgroup.hack
in src/html/tags/h
18 1
Slot.hack
in src/html/tags/s
17 1
Output.hack
in src/html/tags/o
17 1
Ins.hack
in src/html/tags/i
16 1
Tt.hack
in src/html/tags/t
16 1
Files With Most Units (Top 50)
File# lines# units
Node.hack
in src/core
523 40
173 12
121 10
functions.hack
in src/ChildValidation
34 9
ReflectionXHPClass.hack
in src/Reflection
40 7
Element.hack
in src/core
55 4
24 4
20 3
Primitive.hack
in src/core
52 3
Sequence.hack
in src/ChildValidation
28 3
enable_disable.hack
in src/ChildValidation
16 3
AnyOf.hack
in src/ChildValidation
28 3
QuantifierConstraint.hack
in src/ChildValidation
22 3
element.hack
in src/html
164 2
singleton.hack
in src/html
12 2
ConditionalComment.hack
in src/html/tags/c
23 2
Doctype.hack
in src/html/tags/d
14 2
21 2
Any.hack
in src/ChildValidation
9 2
Validation.hack
in src/ChildValidation
12 2
Category.hack
in src/ChildValidation
16 2
LeafConstraint.hack
in src/ChildValidation
10 2
private.hack
in src/ChildValidation
15 2
None.hack
in src/ChildValidation
9 2
Frag.hack
in src/core
12 1
7 1
8 1
Rp.hack
in src/html/tags/r
14 1
Rtc.hack
in src/html/tags/r
14 1
Rb.hack
in src/html/tags/r
14 1
Rt.hack
in src/html/tags/r
14 1
Ruby.hack
in src/html/tags/r
21 1
U.hack
in src/html/tags/u
13 1
Ul.hack
in src/html/tags/u
13 1
Ins.hack
in src/html/tags/i
16 1
I.hack
in src/html/tags/i
13 1
Noscript.hack
in src/html/tags/n
18 1
Nav.hack
in src/html/tags/n
13 1
Td.hack
in src/html/tags/t
15 1
Thead.hack
in src/html/tags/t
9 1
Th.hack
in src/html/tags/t
21 1
Table.hack
in src/html/tags/t
34 1
Time.hack
in src/html/tags/t
14 1
Tfoot.hack
in src/html/tags/t
9 1
Tt.hack
in src/html/tags/t
16 1
Tbody.hack
in src/html/tags/t
9 1
Tr.hack
in src/html/tags/t
11 1
Select.hack
in src/html/tags/s
25 1
Strong.hack
in src/html/tags/s
13 1
Slot.hack
in src/html/tags/s
17 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): 177 points

src/core/Node.hack x: 28 commits (all time) y: 523 lines of code src/core/Primitive.hack x: 12 commits (all time) y: 52 lines of code src/core/UseAfterRenderException.hack x: 5 commits (all time) y: 20 lines of code src/exceptions/AttributeRequiredException.hack x: 5 commits (all time) y: 15 lines of code src/exceptions/ClassException.hack x: 6 commits (all time) y: 14 lines of code src/exceptions/InvalidChildrenException.hack x: 7 commits (all time) y: 22 lines of code src/Reflection/ReflectionXHPAttribute.hack x: 5 commits (all time) y: 121 lines of code src/Reflection/ReflectionXHPChildrenDeclaration.hack x: 6 commits (all time) y: 173 lines of code src/html/tags/c/ConditionalComment.hack x: 14 commits (all time) y: 23 lines of code src/html/tags/d/Doctype.hack x: 13 commits (all time) y: 14 lines of code src/core/UnsafeAttributeValue_DEPRECATED.hack x: 2 commits (all time) y: 7 lines of code src/html/element.hack x: 4 commits (all time) y: 164 lines of code src/html/tags/d/Details.hack x: 10 commits (all time) y: 19 lines of code src/html/tags/h/Header.hack x: 10 commits (all time) y: 15 lines of code src/html/tags/s/Style.hack x: 7 commits (all time) y: 11 lines of code src/html/categories/Palpable.hack x: 1 commits (all time) y: 2 lines of code src/html/tags/a/A.hack x: 10 commits (all time) y: 38 lines of code src/html/tags/a/Abbr.hack x: 9 commits (all time) y: 13 lines of code src/html/tags/a/Audio.hack x: 9 commits (all time) y: 31 lines of code src/html/tags/b/Body.hack x: 9 commits (all time) y: 27 lines of code src/html/tags/b/Button.hack x: 10 commits (all time) y: 29 lines of code src/html/tags/c/Canvas.hack x: 9 commits (all time) y: 20 lines of code src/html/tags/d/Dl.hack x: 8 commits (all time) y: 12 lines of code src/html/tags/e/Embed.hack x: 10 commits (all time) y: 26 lines of code src/html/tags/f/Form.hack x: 10 commits (all time) y: 23 lines of code src/html/tags/h/Hgroup.hack x: 8 commits (all time) y: 18 lines of code src/html/tags/i/Iframe.hack x: 7 commits (all time) y: 33 lines of code src/html/tags/i/Input.hack x: 8 commits (all time) y: 65 lines of code src/html/tags/i/Ins.hack x: 9 commits (all time) y: 16 lines of code src/html/tags/m/Menu.hack x: 9 commits (all time) y: 24 lines of code src/html/tags/o/Object.hack x: 9 commits (all time) y: 30 lines of code src/html/tags/o/Ol.hack x: 8 commits (all time) y: 13 lines of code src/html/tags/o/Output.hack x: 9 commits (all time) y: 17 lines of code src/html/tags/p/P.hack x: 9 commits (all time) y: 11 lines of code src/html/tags/s/Select.hack x: 9 commits (all time) y: 25 lines of code src/html/tags/t/Table.hack x: 8 commits (all time) y: 34 lines of code src/html/tags/t/Td.hack x: 8 commits (all time) y: 15 lines of code src/html/tags/t/Textarea.hack x: 7 commits (all time) y: 24 lines of code src/html/tags/v/Video.hack x: 10 commits (all time) y: 35 lines of code src/core/Element.hack x: 17 commits (all time) y: 55 lines of code src/ChildValidation/Validation.hack x: 3 commits (all time) y: 12 lines of code src/html/categories/Category.hack x: 1 commits (all time) y: 3 lines of code src/html/categories/Embedded.hack x: 2 commits (all time) y: 2 lines of code src/html/tags/a/Area.hack x: 6 commits (all time) y: 37 lines of code src/html/tags/b/Base.hack x: 5 commits (all time) y: 7 lines of code src/html/tags/b/Br.hack x: 5 commits (all time) y: 6 lines of code src/html/tags/c/Caption.hack x: 7 commits (all time) y: 14 lines of code src/html/tags/d/Del.hack x: 8 commits (all time) y: 19 lines of code src/html/tags/h/Head.hack x: 7 commits (all time) y: 9 lines of code src/html/tags/h/Hr.hack x: 5 commits (all time) y: 4 lines of code src/html/tags/k/Keygen.hack x: 6 commits (all time) y: 15 lines of code src/html/tags/l/Label.hack x: 8 commits (all time) y: 22 lines of code src/html/tags/l/Link.hack x: 7 commits (all time) y: 38 lines of code src/html/tags/s/Script.hack x: 6 commits (all time) y: 30 lines of code src/html/tags/s/Slot.hack x: 7 commits (all time) y: 17 lines of code src/html/tags/t/Template.hack x: 5 commits (all time) y: 9 lines of code src/ChildValidation/AnyOf.hack x: 3 commits (all time) y: 28 lines of code src/core/Frag.hack x: 6 commits (all time) y: 12 lines of code src/ChildValidation/AnyNumberOf.hack x: 2 commits (all time) y: 5 lines of code src/ChildValidation/functions.hack x: 2 commits (all time) y: 34 lines of code src/html/pcdata_element.hack x: 3 commits (all time) y: 8 lines of code src/html/tags/o/Optgroup.hack x: 5 commits (all time) y: 12 lines of code src/ChildValidation/Category.hack x: 2 commits (all time) y: 16 lines of code src/ChildValidation/OfType.hack x: 2 commits (all time) y: 10 lines of code src/html/unescaped_pcdata_element.hack x: 4 commits (all time) y: 21 lines of code src/html/tags/c/Col.hack x: 3 commits (all time) y: 5 lines of code src/html/tags/m/Menuitem.hack x: 3 commits (all time) y: 13 lines of code src/html/tags/o/Option.hack x: 3 commits (all time) y: 9 lines of code src/Reflection/ReflectionXHPClass.hack x: 1 commits (all time) y: 40 lines of code src/ChildValidation/Any.hack x: 1 commits (all time) y: 9 lines of code src/ChildValidation/AtLeastOneOf.hack x: 1 commits (all time) y: 5 lines of code src/ChildValidation/LegacyConstraintType.hack x: 1 commits (all time) y: 8 lines of code src/ChildValidation/QuantifierConstraint.hack x: 1 commits (all time) y: 22 lines of code src/ChildValidation/Sequence.hack x: 1 commits (all time) y: 28 lines of code src/ChildValidation/enable_disable.hack x: 1 commits (all time) y: 16 lines of code src/html/XHPHTMLHelpers.hack x: 6 commits (all time) y: 24 lines of code src/reflection/ReflectionXHPClass.hack x: 7 commits (all time) y: 40 lines of code src/html/Element.hack x: 6 commits (all time) y: 164 lines of code src/reflection/ReflectionXHPAttribute.hack x: 2 commits (all time) y: 121 lines of code src/exceptions/RenderArrayException.hack x: 2 commits (all time) y: 3 lines of code src/html/Singleton.hack x: 1 commits (all time) y: 12 lines of code
523.0
lines of code
  min: 2.0
  average: 22.95
  25th percentile: 10.5
  median: 13.0
  75th percentile: 20.0
  max: 523.0
0 28.0
commits (all time)
min: 1.0 | average: 6.46 | 25th percentile: 3.5 | median: 7.0 | 75th percentile: 9.0 | max: 28.0

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

src/core/Node.hack x: 3 contributors (all time) y: 523 lines of code src/core/Primitive.hack x: 2 contributors (all time) y: 52 lines of code src/core/UseAfterRenderException.hack x: 2 contributors (all time) y: 20 lines of code src/exceptions/AttributeRequiredException.hack x: 2 contributors (all time) y: 15 lines of code src/exceptions/ClassException.hack x: 2 contributors (all time) y: 14 lines of code src/exceptions/InvalidChildrenException.hack x: 2 contributors (all time) y: 22 lines of code src/Reflection/ReflectionXHPAttribute.hack x: 2 contributors (all time) y: 121 lines of code src/Reflection/ReflectionXHPChildrenDeclaration.hack x: 3 contributors (all time) y: 173 lines of code src/html/tags/c/ConditionalComment.hack x: 2 contributors (all time) y: 23 lines of code src/core/UnsafeAttributeValue_DEPRECATED.hack x: 1 contributors (all time) y: 7 lines of code src/html/element.hack x: 2 contributors (all time) y: 164 lines of code src/html/tags/s/Style.hack x: 2 contributors (all time) y: 11 lines of code src/html/categories/Palpable.hack x: 1 contributors (all time) y: 2 lines of code src/html/tags/a/A.hack x: 2 contributors (all time) y: 38 lines of code src/html/tags/a/Audio.hack x: 2 contributors (all time) y: 31 lines of code src/html/tags/b/Body.hack x: 2 contributors (all time) y: 27 lines of code src/html/tags/b/Button.hack x: 2 contributors (all time) y: 29 lines of code src/html/tags/e/Embed.hack x: 2 contributors (all time) y: 26 lines of code src/html/tags/h/Hgroup.hack x: 2 contributors (all time) y: 18 lines of code src/html/tags/i/Iframe.hack x: 2 contributors (all time) y: 33 lines of code src/html/tags/i/Input.hack x: 2 contributors (all time) y: 65 lines of code src/core/Element.hack x: 2 contributors (all time) y: 55 lines of code src/ChildValidation/Validation.hack x: 1 contributors (all time) y: 12 lines of code src/html/categories/Category.hack x: 1 contributors (all time) y: 3 lines of code src/html/tags/a/Area.hack x: 2 contributors (all time) y: 37 lines of code src/html/tags/b/Base.hack x: 2 contributors (all time) y: 7 lines of code src/html/tags/b/Br.hack x: 2 contributors (all time) y: 6 lines of code src/html/tags/h/Head.hack x: 2 contributors (all time) y: 9 lines of code src/html/tags/h/Hr.hack x: 2 contributors (all time) y: 4 lines of code src/ChildValidation/AnyOf.hack x: 1 contributors (all time) y: 28 lines of code src/ChildValidation/AnyNumberOf.hack x: 1 contributors (all time) y: 5 lines of code src/ChildValidation/functions.hack x: 1 contributors (all time) y: 34 lines of code src/html/tags/c/Colgroup.hack x: 1 contributors (all time) y: 10 lines of code src/html/tags/h/Html.hack x: 1 contributors (all time) y: 15 lines of code src/html/tags/m/Menuitem.hack x: 1 contributors (all time) y: 13 lines of code src/Reflection/ReflectionXHPClass.hack x: 1 contributors (all time) y: 40 lines of code src/ChildValidation/QuantifierConstraint.hack x: 1 contributors (all time) y: 22 lines of code src/html/XHPHTMLHelpers.hack x: 1 contributors (all time) y: 24 lines of code src/reflection/ReflectionXHPChildrenDeclaration.hack x: 1 contributors (all time) y: 173 lines of code src/html/Element.hack x: 1 contributors (all time) y: 164 lines of code src/reflection/ReflectionXHPAttribute.hack x: 1 contributors (all time) y: 121 lines of code
523.0
lines of code
  min: 2.0
  average: 22.95
  25th percentile: 10.5
  median: 13.0
  75th percentile: 20.0
  max: 523.0
0 3.0
contributors (all time)
min: 1.0 | average: 1.69 | 25th percentile: 1.0 | median: 2.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): 0 points

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

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

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