microsoft / vscode-cmake-tools
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 61 files with 17,158 lines of code.
    • 4 very long files (5,952 lines of code)
    • 3 long files (2,107 lines of code)
    • 17 medium size files (5,855 lines of codeclsfd_ftr_w_mp_ins)
    • 13 small files (1,975 lines of code)
    • 24 very small files (1,269 lines of code)
34% | 12% | 34% | 11% | 7%
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
ts36% | 12% | 32% | 11% | 7%
psm10% | 0% | 100% | 0% | 0%
js0% | 0% | 56% | 43% | 0%
ps10% | 0% | 0% | 0% | 100%
yml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
src36% | 16% | 31% | 10% | 4%
src/drivers49% | 0% | 42% | 6% | 1%
scripts0% | 0% | 81% | 0% | 18%
src/drivers/cmakefileapi0% | 0% | 66% | 33% | 0%
ROOT0% | 0% | 56% | 43% | 0%
src/diagnostics0% | 0% | 0% | 39% | 60%
src/installs0% | 0% | 0% | 0% | 100%
jobs/loc0% | 0% | 0% | 0% | 100%
src/cmake0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
cmake-tools.ts
in src
1864 111
extension.ts
in src
1432 114
driver.ts
in src/drivers
1334 69
preset.ts
in src
1322 59
presetsController.ts
in src
890 68
status.ts
in src
638 79
util.ts
in src
579 70
cpptools.ts
in src
495 20
cms-client.ts
in src/drivers
491 10
tree.ts
in src
487 39
cache-view.ts
in src
433 18
config.ts
in src
424 55
kitsController.ts
in src
410 26
ctest.ts
in src
406 31
cms-driver.ts
in src/drivers
354 36
cmt.psm1
in scripts
335 -
variant.ts
in src
312 17
cmfileapi-driver.ts
in src/drivers
310 27
folders.ts
in src
259 24
api_helpers.ts
in src/drivers/cmakefileapi
258 18
paths.ts
in src
228 23
gulpfile.js
in root
219 1
cache.ts
in src
219 14
logging.ts
in src
215 29
debugger.ts
in src
198 7
triple.ts
in src
198 5
code-pages.ts
in src
182 3
proc.ts
in src
169 2
translations_auto_pr.js
in root
168 3
legacy-driver.ts
in src/drivers
167 22
expand.ts
in src
165 2
api.ts
in src/drivers/cmakefileapi
131 -
environmentVariables.ts
in src
129 9
build.ts
in src/diagnostics
127 7
cmakeTaskProvider.ts
in src
120 10
cmake.ts
in src/diagnostics
119 5
state.ts
in src
102 20
telemetry.ts
in src
98 5
pr.ts
in src
88 7
rollbar.ts
in src
87 2
gcc.ts
in src/diagnostics
84 1
api.ts
in src
83 -
iar.ts
in src/diagnostics
77 3
ci.ps1
in scripts
76 -
visual-studio.ts
in src/installs
76 2
shlex.ts
in src
64 -
util.ts
in src/diagnostics
62 3
compdb.ts
in src
61 4
dirty.ts
in src
52 6
codemodel-driver-interface.ts
in src/drivers
46 -
Files With Most Units (Top 20)
File# lines# units
extension.ts
in src
1432 114
cmake-tools.ts
in src
1864 111
status.ts
in src
638 79
util.ts
in src
579 70
driver.ts
in src/drivers
1334 69
presetsController.ts
in src
890 68
preset.ts
in src
1322 59
config.ts
in src
424 55
tree.ts
in src
487 39
cms-driver.ts
in src/drivers
354 36
ctest.ts
in src
406 31
logging.ts
in src
215 29
cmfileapi-driver.ts
in src/drivers
310 27
kitsController.ts
in src
410 26
folders.ts
in src
259 24
paths.ts
in src
228 23
legacy-driver.ts
in src/drivers
167 22
cpptools.ts
in src
495 20
state.ts
in src
102 20
cache-view.ts
in src
433 18
Files With Long Lines (Top 20)

There are 45 files with lines longer than 120 characters. In total, there are 447 long lines.

File# lines# units# long lines
cmake-tools.ts
in src
1864 111 98
preset.ts
in src
1322 59 55
extension.ts
in src
1432 114 48
presetsController.ts
in src
890 68 46
driver.ts
in src/drivers
1334 69 29
cms-client.ts
in src/drivers
491 10 14
cpptools.ts
in src
495 20 13
cmakeTaskProvider.ts
in src
120 10 10
kitsController.ts
in src
410 26 10
variant.ts
in src
312 17 10
api_helpers.ts
in src/drivers/cmakefileapi
258 18 9
tree.ts
in src
487 39 9
cache.ts
in src
219 14 8
translations_auto_pr.js
in root
168 3 8
debugger.ts
in src
198 7 7
cmfileapi-driver.ts
in src/drivers
310 27 7
rollbar.ts
in src
87 2 5
telemetry.ts
in src
98 5 5
gulpfile.js
in root
219 1 4
cache-view.ts
in src
433 18 4