dart-lang / markdown
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 25 files with 5,209 lines of code.
    • 2 very long files (2,596 lines of code)
    • 1 long files (812 lines of code)
    • 2 medium size files (537 lines of codeclsfd_ftr_w_mp_ins)
    • 5 small files (670 lines of code)
    • 15 very small files (594 lines of code)
49% | 15% | 10% | 12% | 11%
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
dart56% | 17% | 4% | 11% | 10%
html0% | 0% | 83% | 0% | 16%
css0% | 0% | 0% | 100% | 0%
yaml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
lib/src68% | 21% | 0% | 3% | 6%
benchmark0% | 0% | 88% | 0% | 11%
tool0% | 0% | 30% | 44% | 24%
example0% | 0% | 0% | 76% | 23%
ROOT0% | 0% | 0% | 0% | 100%
lib0% | 0% | 0% | 0% | 100%
Longest Files (Top 25)
File# lines# units
emojis.dart
in lib/src
1572 -
inline_parser.dart
in lib/src
1024 37
block_parser.dart
in lib/src
812 38
output.html
in benchmark
331 -
stats.dart
in tool
206 6
stats_lib.dart
in tool
155 3
dartdoc_compare.dart
in tool
143 6
html_renderer.dart
in lib/src
142 6
style.css
in example
129 -
app.dart
in example
101 5
expected_output.dart
in tool
97 3
util.dart
in lib/src
73 1
index.html
in example
66 -
ast.dart
in lib/src
57 2
document.dart
in lib/src
55 2
extension_set.dart
in lib/src
52 -
benchmark.dart
in benchmark
43 4
update_emojis.dart
in tool
35 1
update_blns.dart
in tool
34 -
analysis_options.yaml
in root
29 -
pubspec.yaml
in root
25 -
peanut.yaml
in root
12 -
markdown.dart
in lib
10 -
highlight.dart
in example
5 -
version.dart
in lib/src
1 -
Files With Most Units (Top 13)
File# lines# units
block_parser.dart
in lib/src
812 38
inline_parser.dart
in lib/src
1024 37
html_renderer.dart
in lib/src
142 6
dartdoc_compare.dart
in tool
143 6
stats.dart
in tool
206 6
app.dart
in example
101 5
benchmark.dart
in benchmark
43 4
stats_lib.dart
in tool
155 3
expected_output.dart
in tool
97 3
ast.dart
in lib/src
57 2
document.dart
in lib/src
55 2
util.dart
in lib/src
73 1
update_emojis.dart
in tool
35 1
Files With Long Lines (Top 2)

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

File# lines# units# long lines
output.html
in benchmark
331 - 13
index.html
in example
66 - 1