hhvm / fbmarkdown
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 84 files with 4,880 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 5 medium size files (1,464 lines of codeclsfd_ftr_w_mp_ins)
    • 12 small files (1,539 lines of code)
    • 67 very small files (1,877 lines of code)
0% | 0% | 30% | 31% | 38%
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% | 30% | 31% | 38%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
src/render0% | 0% | 67% | 24% | 7%
src/inlines0% | 0% | 44% | 24% | 30%
src/unparsed-blocks0% | 0% | 11% | 47% | 40%
src/inlines/_Private0% | 0% | 0% | 68% | 31%
src/_Private0% | 0% | 0% | 0% | 100%
src/blocks0% | 0% | 0% | 0% | 100%
src0% | 0% | 0% | 0% | 100%
src/unparsed-blocks/_Private0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
Emphasis.php
in src/inlines
386 17
329 25
HTMLRenderer.php
in src/render
311 30
Link.php
in src/inlines
228 8
LinkReferenceDefinition.php
in src/unparsed-blocks
210 15
ListItem.php
in src/unparsed-blocks
163 9
Lines.php
in src/unparsed-blocks
157 15
TableExtension.php
in src/unparsed-blocks
155 4
Context.php
in src/unparsed-blocks
146 24
Renderer.php
in src/render
129 5
AutoLinkExtension.php
in src/inlines
123 3
EmphasisStack.php
in src/inlines/_Private
118 18
BlockQuote.php
in src/unparsed-blocks
117 5
RawHTML.php
in src/inlines
113 8
RenderContext.php
in src/render
109 14
FencedCodeBlock.php
in src/unparsed-blocks
105 8
Context.php
in src/inlines
104 15
consume_link_title.php
in src/_Private
96 3
ListOfItems.php
in src/unparsed-blocks
95 4
91 15
HTMLBlock.php
in src/unparsed-blocks
90 5
82 3
TaskListItemExtension.php
in src/unparsed-blocks
77 3
ContainerBlock.php
in src/unparsed-blocks
60 5
AutoLink.php
in src/inlines
60 5
57 5
CodeSpan.php
in src/inlines
56 4
Paragraph.php
in src/unparsed-blocks
54 3
Image.php
in src/inlines
54 6
IndentedCodeBlock.php
in src/unparsed-blocks
48 3
SetextHeading.php
in src/unparsed-blocks
48 3
FencedBlock.php
in src/unparsed-blocks
47 1
42 4
parse_with_blacklist.php
in src/inlines/_Private
42 1
ATXHeading.php
in src/unparsed-blocks
40 3
decode_html_entity.php
in src/_Private
39 1
HardLineBreak.php
in src/inlines
35 3
BlockSequence.php
in src/unparsed-blocks
33 5
TextualContent.php
in src/inlines
30 1
ThematicBreak.php
in src/unparsed-blocks
29 3
TableExtension.php
in src/blocks
27 4
ListOfItems.php
in src/blocks
27 5
Document.php
in src/unparsed-blocks
25 2
BackslashEscape.php
in src/inlines
24 1
InlineSequence.php
in src/inlines
24 4
parse.php
in src/inlines
24 1
SoftLineBreak.php
in src/inlines
21 3
20 4
BlankLine.php
in src/unparsed-blocks
20 2
19 1
Files With Most Units (Top 50)
File# lines# units
HTMLRenderer.php
in src/render
311 30
329 25
Context.php
in src/unparsed-blocks
146 24
EmphasisStack.php
in src/inlines/_Private
118 18
Emphasis.php
in src/inlines
386 17
Lines.php
in src/unparsed-blocks
157 15
LinkReferenceDefinition.php
in src/unparsed-blocks
210 15
Context.php
in src/inlines
104 15
91 15
RenderContext.php
in src/render
109 14
ListItem.php
in src/unparsed-blocks
163 9
FencedCodeBlock.php
in src/unparsed-blocks
105 8
Link.php
in src/inlines
228 8
RawHTML.php
in src/inlines
113 8
Image.php
in src/inlines
54 6
ListOfItems.php
in src/blocks
27 5
BlockQuote.php
in src/unparsed-blocks
117 5
HTMLBlock.php
in src/unparsed-blocks
90 5
ContainerBlock.php
in src/unparsed-blocks
60 5
BlockSequence.php
in src/unparsed-blocks
33 5
57 5
Renderer.php
in src/render
129 5
AutoLink.php
in src/inlines
60 5
TableExtension.php
in src/blocks
27 4
20 4
TableExtension.php
in src/unparsed-blocks
155 4
ListOfItems.php
in src/unparsed-blocks
95 4
InlineSequence.php
in src/inlines
24 4
CodeSpan.php
in src/inlines
56 4
42 4
Heading.php
in src/blocks
16 3
BlockSequence.php
in src/blocks
17 3
CodeBlock.php
in src/blocks
15 3
18 3
Paragraph.php
in src/unparsed-blocks
54 3
TaskListItemExtension.php
in src/unparsed-blocks
77 3
IndentedCodeBlock.php
in src/unparsed-blocks
48 3
ThematicBreak.php
in src/unparsed-blocks
29 3
ATXHeading.php
in src/unparsed-blocks
40 3
SetextHeading.php
in src/unparsed-blocks
48 3
consume_link_title.php
in src/_Private
96 3
82 3
AutoLinkExtension.php
in src/inlines
123 3
15 3
SoftLineBreak.php
in src/inlines
21 3
HardLineBreak.php
in src/inlines
35 3
Paragraph.php
in src/blocks
12 2
HTMLBlock.php
in src/blocks
11 2
14 2
ContainerBlock.php
in src/blocks
11 2
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): 84 points

src/render/HTMLRenderer.php x: 6 commits (all time) y: 311 lines of code src/render/MarkdownRenderer.php x: 27 commits (all time) y: 329 lines of code src/unparsed-blocks/TableExtension.php x: 6 commits (all time) y: 155 lines of code src/ParserContext.php x: 3 commits (all time) y: 91 lines of code src/inlines/AutoLink.php x: 2 commits (all time) y: 60 lines of code src/inlines/Context.php x: 3 commits (all time) y: 104 lines of code src/inlines/Link.php x: 2 commits (all time) y: 228 lines of code src/render/RenderContext.php x: 5 commits (all time) y: 109 lines of code src/render/TagFilterExtension.php x: 6 commits (all time) y: 57 lines of code src/unparsed-blocks/Context.php x: 3 commits (all time) y: 146 lines of code src/unparsed-blocks/LinkReferenceDefinition.php x: 4 commits (all time) y: 210 lines of code src/inlines/TextualContent.php x: 2 commits (all time) y: 30 lines of code src/inlines/_Private/parse_with_blacklist.php x: 6 commits (all time) y: 42 lines of code src/inlines/parse.php x: 3 commits (all time) y: 24 lines of code src/unparsed-blocks/HTMLBlock.php x: 2 commits (all time) y: 90 lines of code src/inlines/AutoLinkExtension.php x: 5 commits (all time) y: 123 lines of code src/inlines/RawHTML.php x: 5 commits (all time) y: 113 lines of code src/unparsed-blocks/ATXHeading.php x: 5 commits (all time) y: 40 lines of code src/_Private/decode_html_entity.php x: 5 commits (all time) y: 39 lines of code src/inlines/Emphasis.php x: 10 commits (all time) y: 386 lines of code src/unparsed-blocks/FencedCodeBlock.php x: 3 commits (all time) y: 105 lines of code src/unparsed-blocks/ListItem.php x: 6 commits (all time) y: 163 lines of code src/unparsed-blocks/SetextHeading.php x: 4 commits (all time) y: 48 lines of code src/unparsed-blocks/BlockQuote.php x: 4 commits (all time) y: 117 lines of code src/unparsed-blocks/TaskListItemExtension.php x: 3 commits (all time) y: 77 lines of code src/unparsed-blocks/ThematicBreak.php x: 3 commits (all time) y: 29 lines of code src/render/Renderer.php x: 4 commits (all time) y: 129 lines of code src/unparsed-blocks/ContainerBlock.php x: 5 commits (all time) y: 60 lines of code src/unparsed-blocks/parse.php x: 3 commits (all time) y: 17 lines of code src/_Private/consume_link_destination.php x: 2 commits (all time) y: 82 lines of code src/_Private/consume_link_title.php x: 2 commits (all time) y: 96 lines of code src/blocks/BlankLine.php x: 2 commits (all time) y: 4 lines of code src/blocks/ContainerBlock.php x: 2 commits (all time) y: 11 lines of code src/inlines/EntityReference.php x: 3 commits (all time) y: 19 lines of code src/inlines/Image.php x: 2 commits (all time) y: 54 lines of code src/inlines/SoftLineBreak.php x: 2 commits (all time) y: 21 lines of code src/unparsed-blocks/Block.php x: 2 commits (all time) y: 7 lines of code src/unparsed-blocks/FencedBlock.php x: 3 commits (all time) y: 47 lines of code src/unparsed-blocks/IndentedCodeBlock.php x: 2 commits (all time) y: 48 lines of code src/unparsed-blocks/InlineSequenceBlock.php x: 2 commits (all time) y: 18 lines of code src/unparsed-blocks/ListOfItems.php x: 2 commits (all time) y: 95 lines of code src/ASTNode.php x: 1 commits (all time) y: 4 lines of code src/_Private/ASCII_PUNCTUATION.php x: 1 commits (all time) y: 7 lines of code src/_Private/get_html_entity_table.php x: 4 commits (all time) y: 19 lines of code src/_Private/plain_text_to_html.php x: 1 commits (all time) y: 5 lines of code src/blocks/BlockSequence.php x: 1 commits (all time) y: 17 lines of code src/blocks/CodeBlock.php x: 1 commits (all time) y: 15 lines of code src/blocks/HTMLBlock.php x: 1 commits (all time) y: 11 lines of code src/blocks/Heading.php x: 1 commits (all time) y: 16 lines of code src/blocks/ListItem.php x: 1 commits (all time) y: 13 lines of code src/blocks/ListOfItems.php x: 1 commits (all time) y: 27 lines of code src/inlines/BackslashEscape.php x: 1 commits (all time) y: 24 lines of code src/inlines/CodeSpan.php x: 1 commits (all time) y: 56 lines of code src/inlines/HardLineBreak.php x: 1 commits (all time) y: 35 lines of code src/inlines/StrikethroughExtension.php x: 1 commits (all time) y: 42 lines of code src/inlines/_Private/EmphasisStack.php x: 4 commits (all time) y: 118 lines of code src/render/RenderableAsHTML.php x: 1 commits (all time) y: 8 lines of code src/unparsed-blocks/BlankLine.php x: 1 commits (all time) y: 20 lines of code src/unparsed-blocks/BlockSequence.php x: 2 commits (all time) y: 33 lines of code src/unparsed-blocks/Document.php x: 1 commits (all time) y: 25 lines of code src/unparsed-blocks/Lines.php x: 1 commits (all time) y: 157 lines of code
386.0
lines of code
  min: 4.0
  average: 58.1
  25th percentile: 12.0
  median: 26.0
  75th percentile: 88.0
  max: 386.0
0 27.0
commits (all time)
min: 1.0 | average: 2.7 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 3.0 | max: 27.0

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

src/render/HTMLRenderer.php x: 4 contributors (all time) y: 311 lines of code src/render/MarkdownRenderer.php x: 3 contributors (all time) y: 329 lines of code src/unparsed-blocks/TableExtension.php x: 2 contributors (all time) y: 155 lines of code src/ParserContext.php x: 2 contributors (all time) y: 91 lines of code src/inlines/AutoLink.php x: 2 contributors (all time) y: 60 lines of code src/inlines/Context.php x: 2 contributors (all time) y: 104 lines of code src/inlines/Link.php x: 2 contributors (all time) y: 228 lines of code src/render/RenderContext.php x: 3 contributors (all time) y: 109 lines of code src/render/TagFilterExtension.php x: 3 contributors (all time) y: 57 lines of code src/unparsed-blocks/Context.php x: 2 contributors (all time) y: 146 lines of code src/unparsed-blocks/LinkReferenceDefinition.php x: 3 contributors (all time) y: 210 lines of code src/inlines/TextualContent.php x: 1 contributors (all time) y: 30 lines of code src/inlines/_Private/parse_with_blacklist.php x: 2 contributors (all time) y: 42 lines of code src/inlines/parse.php x: 1 contributors (all time) y: 24 lines of code src/unparsed-blocks/HTMLBlock.php x: 1 contributors (all time) y: 90 lines of code src/inlines/AutoLinkExtension.php x: 3 contributors (all time) y: 123 lines of code src/inlines/RawHTML.php x: 4 contributors (all time) y: 113 lines of code src/unparsed-blocks/ATXHeading.php x: 3 contributors (all time) y: 40 lines of code src/_Private/decode_html_entity.php x: 3 contributors (all time) y: 39 lines of code src/inlines/Emphasis.php x: 2 contributors (all time) y: 386 lines of code src/unparsed-blocks/FencedCodeBlock.php x: 2 contributors (all time) y: 105 lines of code src/unparsed-blocks/ListItem.php x: 2 contributors (all time) y: 163 lines of code src/unparsed-blocks/SetextHeading.php x: 3 contributors (all time) y: 48 lines of code src/unparsed-blocks/BlockQuote.php x: 3 contributors (all time) y: 117 lines of code src/unparsed-blocks/TaskListItemExtension.php x: 3 contributors (all time) y: 77 lines of code src/unparsed-blocks/ThematicBreak.php x: 3 contributors (all time) y: 29 lines of code src/render/Renderer.php x: 2 contributors (all time) y: 129 lines of code src/unparsed-blocks/parse.php x: 1 contributors (all time) y: 17 lines of code src/_Private/consume_link_destination.php x: 2 contributors (all time) y: 82 lines of code src/_Private/consume_link_title.php x: 2 contributors (all time) y: 96 lines of code src/blocks/BlankLine.php x: 2 contributors (all time) y: 4 lines of code src/blocks/ContainerBlock.php x: 2 contributors (all time) y: 11 lines of code src/inlines/EntityReference.php x: 2 contributors (all time) y: 19 lines of code src/inlines/Image.php x: 2 contributors (all time) y: 54 lines of code src/inlines/SoftLineBreak.php x: 2 contributors (all time) y: 21 lines of code src/unparsed-blocks/Block.php x: 2 contributors (all time) y: 7 lines of code src/unparsed-blocks/FencedBlock.php x: 2 contributors (all time) y: 47 lines of code src/unparsed-blocks/IndentedCodeBlock.php x: 2 contributors (all time) y: 48 lines of code src/unparsed-blocks/InlineSequenceBlock.php x: 2 contributors (all time) y: 18 lines of code src/unparsed-blocks/ListOfItems.php x: 2 contributors (all time) y: 95 lines of code src/ASTNode.php x: 1 contributors (all time) y: 4 lines of code src/_Private/ASCII_PUNCTUATION.php x: 1 contributors (all time) y: 7 lines of code src/_Private/get_html_entity_table.php x: 1 contributors (all time) y: 19 lines of code src/_Private/plain_text_to_html.php x: 1 contributors (all time) y: 5 lines of code src/blocks/CodeBlock.php x: 1 contributors (all time) y: 15 lines of code src/blocks/HTMLBlock.php x: 1 contributors (all time) y: 11 lines of code src/blocks/Heading.php x: 1 contributors (all time) y: 16 lines of code src/blocks/LinkReferenceDefinition.php x: 1 contributors (all time) y: 20 lines of code src/blocks/ListItem.php x: 1 contributors (all time) y: 13 lines of code src/blocks/ListOfItems.php x: 1 contributors (all time) y: 27 lines of code src/inlines/CodeSpan.php x: 1 contributors (all time) y: 56 lines of code src/inlines/HardLineBreak.php x: 1 contributors (all time) y: 35 lines of code src/inlines/StrikethroughExtension.php x: 1 contributors (all time) y: 42 lines of code src/inlines/_Private/EmphasisStack.php x: 1 contributors (all time) y: 118 lines of code src/render/RenderableAsHTML.php x: 1 contributors (all time) y: 8 lines of code src/unparsed-blocks/BlockSequence.php x: 1 contributors (all time) y: 33 lines of code src/unparsed-blocks/Document.php x: 1 contributors (all time) y: 25 lines of code src/unparsed-blocks/Lines.php x: 1 contributors (all time) y: 157 lines of code
386.0
lines of code
  min: 4.0
  average: 58.1
  25th percentile: 12.0
  median: 26.0
  75th percentile: 88.0
  max: 386.0
0 4.0
contributors (all time)
min: 1.0 | average: 1.68 | 25th percentile: 1.0 | median: 1.5 | 75th percentile: 2.0 | max: 4.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".