microsoft / vscode-eslint
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 29 files with 5,146 lines of code.
    • 2 very long files (3,413 lines of code)
    • 1 long files (641 lines of code)
    • 2 medium size files (662 lines of codeclsfd_ftr_w_mp_ins)
    • 1 small files (130 lines of code)
    • 23 very small files (300 lines of code)
66% | 12% | 12% | 2% | 5%
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
ts70% | 13% | 13% | 2% | <1%
js0% | 0% | 0% | 0% | 100%
yml0% | 0% | 0% | 0% | 100%
vue0% | 0% | 0% | 0% | 100%
jsx0% | 0% | 0% | 0% | 100%
html0% | 0% | 0% | 0% | 100%
tsx0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
server/src67% | 20% | 12% | 0% | 0%
client/src76% | 0% | 16% | 7% | 0%
playgrounds/7.00% | 0% | 0% | 0% | 100%
playgrounds/8.00% | 0% | 0% | 0% | 100%
build/azure-pipelines0% | 0% | 0% | 0% | 100%
playgrounds/ts0% | 0% | 0% | 0% | 100%
build/azure-pipelines/win320% | 0% | 0% | 0% | 100%
playgrounds/7.0/subDir0% | 0% | 0% | 0% | 100%
playgrounds/8.0/subDir0% | 0% | 0% | 0% | 100%
playgrounds/noLib0% | 0% | 0% | 0% | 100%
build/azure-pipelines/linux0% | 0% | 0% | 0% | 100%
playgrounds/7.0/build0% | 0% | 0% | 0% | 100%
playgrounds/8.0/build0% | 0% | 0% | 0% | 100%
playgrounds/noWD/src0% | 0% | 0% | 0% | 100%
Longest Files (Top 29)
File# lines# units
eslintServer.ts
in server/src
2092 108
extension.ts
in client/src
1321 59
diff.ts
in server/src
641 32
linkedMap.ts
in server/src
378 32
utils.ts
in client/src
284 14
tasks.ts
in client/src
130 13
test.vue
in playgrounds/7.0
32 -
test.vue
in playgrounds/8.0
32 -
release.yml
in build/azure-pipelines
27 -
pre-release.yml
in build/azure-pipelines
24 -
build.yml
in build/azure-pipelines/win32
19 -
test.js
in playgrounds/noLib
18 2
test.tsx
in playgrounds/ts
13 1
build.yml
in build/azure-pipelines/linux
12 -
app.js
in playgrounds/7.0
11 2
app.js
in playgrounds/8.0
11 2
test.js
in playgrounds/7.0
10 2
test.js
in playgrounds/8.0
10 2
build.js
in playgrounds/7.0/build
9 2
sub.js
in playgrounds/7.0/subDir
9 2
test.jsx
in playgrounds/7.0/subDir
9 -
build.js
in playgrounds/8.0/build
9 2
sub.js
in playgrounds/8.0/subDir
9 2
test.jsx
in playgrounds/8.0/subDir
9 -
test2.html
in playgrounds/7.0
8 -
test2.html
in playgrounds/8.0
8 -
test copy.ts
in playgrounds/ts
4 1
test.ts
in playgrounds/ts
4 1
test.js
in playgrounds/noWD/src
3 1
Files With Most Units (Top 19)
File# lines# units
eslintServer.ts
in server/src
2092 108
extension.ts
in client/src
1321 59
diff.ts
in server/src
641 32
linkedMap.ts
in server/src
378 32
utils.ts
in client/src
284 14
tasks.ts
in client/src
130 13
app.js
in playgrounds/7.0
11 2
build.js
in playgrounds/7.0/build
9 2
sub.js
in playgrounds/7.0/subDir
9 2
test.js
in playgrounds/7.0
10 2
app.js
in playgrounds/8.0
11 2
build.js
in playgrounds/8.0/build
9 2
sub.js
in playgrounds/8.0/subDir
9 2
test.js
in playgrounds/8.0
10 2
test.js
in playgrounds/noLib
18 2
test.js
in playgrounds/noWD/src
3 1
test copy.ts
in playgrounds/ts
4 1
test.ts
in playgrounds/ts
4 1
test.tsx
in playgrounds/ts
13 1
Files With Long Lines (Top 5)

There are 5 files with lines longer than 120 characters. In total, there are 205 long lines.

File# lines# units# long lines
eslintServer.ts
in server/src
2092 108 73
extension.ts
in client/src
1321 59 71
diff.ts
in server/src
641 32 58
tasks.ts
in client/src
130 13 2
utils.ts
in client/src
284 14 1