microsoft / vscode-textmate
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 21 files with 3,944 lines of code.
    • 1 very long files (1,354 lines of code)
    • 1 long files (727 lines of code)
    • 3 medium size files (1,247 lines of codeclsfd_ftr_w_mp_ins)
    • 1 small files (137 lines of code)
    • 15 very small files (479 lines of code)
34% | 18% | 31% | 3% | 12%
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
ts35% | 19% | 32% | 3% | 9%
js0% | 0% | 0% | 0% | 100%
go0% | 0% | 0% | 0% | 100%
cs0% | 0% | 0% | 0% | 100%
php0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
src35% | 19% | 32% | 3% | 8%
benchmark0% | 0% | 0% | 0% | 100%
test-cases/onigtests/fixtures0% | 0% | 0% | 0% | 100%
scripts0% | 0% | 0% | 0% | 100%
test-cases/themes/go/colorize-fixtures0% | 0% | 0% | 0% | 100%
Longest Files (Top 21)
File# lines# units
grammar.ts
in src
1354 88
rule.ts
in src
727 66
plist.ts
in src
431 30
theme.ts
in src
410 23
json.ts
in src
406 8
main.ts
in src
137 12
matcher.ts
in src
97 6
utils.ts
in src
76 8
types.ts
in src
73 -
registry.ts
in src
64 10
benchmark.js
in benchmark
51 4
tmconvert.js
in scripts
22 -
grammarReader.ts
in src
22 3
test.go
in test-cases/themes/go/colorize-fixtures
19 1
test-issue11.ts
in test-cases/onigtests/fixtures
17 -
test.cs
in test-cases/onigtests/fixtures
16 1
release.js
in scripts
10 -
php-onigasm-issue17.php
in test-cases/onigtests/fixtures
6 -
debug.ts
in src
4 -
onigasm-issue3.js
in test-cases/onigtests/fixtures
1 -
test-13777.go
in test-cases/themes/go/colorize-fixtures
1 -
Files With Most Units (Top 13)
File# lines# units
grammar.ts
in src
1354 88
rule.ts
in src
727 66
plist.ts
in src
431 30
theme.ts
in src
410 23
main.ts
in src
137 12
registry.ts
in src
64 10
json.ts
in src
406 8
utils.ts
in src
76 8
matcher.ts
in src
97 6
benchmark.js
in benchmark
51 4
grammarReader.ts
in src
22 3
test.cs
in test-cases/onigtests/fixtures
16 1
test.go
in test-cases/themes/go/colorize-fixtures
19 1
Files With Long Lines (Top 11)

There are 11 files with lines longer than 120 characters. In total, there are 109 long lines.

File# lines# units# long lines
grammar.ts
in src
1354 88 57
rule.ts
in src
727 66 25
theme.ts
in src
410 23 10
main.ts
in src
137 12 8
registry.ts
in src
64 10 2
utils.ts
in src
76 8 2
benchmark.js
in benchmark
51 4 1
json.ts
in src
406 8 1
matcher.ts
in src
97 6 1
plist.ts
in src
431 30 1
onigasm-issue3.js
in test-cases/onigtests/fixtures
1 - 1