microsoft / vscode-loader
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 16 files with 5,108 lines of code.
    • 1 very long files (1,725 lines of code)
    • 2 long files (1,243 lines of code)
    • 3 medium size files (1,005 lines of codeclsfd_ftr_w_mp_ins)
    • 4 small files (623 lines of code)
    • 6 very small files (512 lines of code)
33% | 24% | 19% | 12% | 10%
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
js70% | 0% | 13% | 12% | 3%
ts0% | 46% | 25% | 11% | 15%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
src54% | 0% | 20% | 19% | 5%
src/core0% | 64% | 18% | 0% | 16%
Longest Files (Top 16)
File# lines# units
loader.js
in src
1725 152
moduleManager.ts
in src/core
734 38
scriptLoader.ts
in src/core
509 25
configuration.ts
in src/core
358 22
css.build.ts
in src
328 28
css.build.js
in src
319 33
nls.build.ts
in src
183 18
nls.build.js
in src
163 19
nls.js
in src
143 15
nls.ts
in src
134 12
main.ts
in src/core
97 9
env.ts
in src/core
95 8
css.js
in src
94 14
css.ts
in src
92 9
utils.ts
in src/core
82 11
loaderEvents.ts
in src/core
52 6
Files With Most Units (Top 16)
File# lines# units
loader.js
in src
1725 152
moduleManager.ts
in src/core
734 38
css.build.js
in src
319 33
css.build.ts
in src
328 28
scriptLoader.ts
in src/core
509 25
configuration.ts
in src/core
358 22
nls.build.js
in src
163 19
nls.build.ts
in src
183 18
nls.js
in src
143 15
css.js
in src
94 14
nls.ts
in src
134 12
utils.ts
in src/core
82 11
main.ts
in src/core
97 9
css.ts
in src
92 9
env.ts
in src/core
95 8
loaderEvents.ts
in src/core
52 6
Files With Long Lines (Top 13)

There are 13 files with lines longer than 120 characters. In total, there are 142 long lines.

File# lines# units# long lines
loader.js
in src
1725 152 46
moduleManager.ts
in src/core
734 38 25
scriptLoader.ts
in src/core
509 25 25
css.build.ts
in src
328 28 13
configuration.ts
in src/core
358 22 5
css.build.js
in src
319 33 5
nls.build.ts
in src
183 18 5
nls.ts
in src
134 12 5
css.ts
in src
92 9 4
nls.build.js
in src
163 19 3
env.ts
in src/core
95 8 2
main.ts
in src/core
97 9 2
nls.js
in src
143 15 2