microsoft / sarif-vscode-extension
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 34 files with 2,920 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 3 medium size files (870 lines of codeclsfd_ftr_w_mp_ins)
    • 8 small files (1,117 lines of code)
    • 23 very small files (933 lines of code)
0% | 0% | 29% | 38% | 31%
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
css0% | 0% | 100% | 0% | 0%
tsx0% | 0% | 34% | 39% | 26%
ts0% | 0% | 15% | 45% | 39%
scss0% | 0% | 0% | 58% | 41%
js0% | 0% | 0% | 0% | 100%
html0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
ROOT0% | 0% | 86% | 0% | 13%
src/panel0% | 0% | 17% | 45% | 37%
src/extension0% | 0% | 25% | 38% | 35%
src/shared0% | 0% | 0% | 74% | 25%
Longest Files (Top 34)
File# lines# units
index.css
in root
425 -
widgets.tsx
in src/panel
244 15
index.ts
in src/extension
201 12
index.ts
in src/shared
177 8
panel.ts
in src/extension
172 5
details.tsx
in src/panel
166 2
index.scss
in src/panel
136 -
uriRebaser.ts
in src/extension
125 6
index.tsx
in src/panel
116 3
indexStore.ts
in src/panel
114 3
widgets.scss
in src/panel
111 -
tableStore.ts
in src/panel
96 7
loadLogs.ts
in src/extension
90 4
update.ts
in src/extension
89 3
details.scss
in src/panel
78 -
table.tsx
in src/panel
71 -
resultTableStore.ts
in src/panel
68 3
extension.ts
in src/shared
62 6
table.scss
in src/panel
54 -
resultTable.tsx
in src/panel
49 -
detailsFeedback.tsx
in src/panel
45 -
index.js
in root
42 -
detailsFeedback.scss
in src/panel
40 -
regionToSelection.ts
in src/extension
35 1
index.html
in root
26 -
store.ts
in src/extension
24 1
details.layouts.tsx
in src/panel
21 -
telemetry.ts
in src/extension
13 3
uriExists.ts
in src/extension
9 1
platformUriNormalize.ts
in src/extension
8 1
resultDiagnostic.ts
in src/extension
7 1
isActive.ts
in src/panel
3 1
filterKeywordContext.ts
in src/panel
2 -
platform.ts
in src/extension
1 -
Files With Most Units (Top 20)
File# lines# units
widgets.tsx
in src/panel
244 15
index.ts
in src/extension
201 12
index.ts
in src/shared
177 8
tableStore.ts
in src/panel
96 7
uriRebaser.ts
in src/extension
125 6
extension.ts
in src/shared
62 6
panel.ts
in src/extension
172 5
loadLogs.ts
in src/extension
90 4
telemetry.ts
in src/extension
13 3
update.ts
in src/extension
89 3
index.tsx
in src/panel
116 3
indexStore.ts
in src/panel
114 3
resultTableStore.ts
in src/panel
68 3
details.tsx
in src/panel
166 2
platformUriNormalize.ts
in src/extension
8 1
regionToSelection.ts
in src/extension
35 1
resultDiagnostic.ts
in src/extension
7 1
store.ts
in src/extension
24 1
uriExists.ts
in src/extension
9 1
isActive.ts
in src/panel
3 1
Files With Long Lines (Top 13)

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

File# lines# units# long lines
details.tsx
in src/panel
166 2 8
widgets.tsx
in src/panel
244 15 6
index.ts
in src/extension
201 12 5
index.tsx
in src/panel
116 3 4
table.tsx
in src/panel
71 - 3
panel.ts
in src/extension
172 5 2
update.ts
in src/extension
89 3 2
resultTableStore.ts
in src/panel
68 3 2
loadLogs.ts
in src/extension
90 4 1
detailsFeedback.tsx
in src/panel
45 - 1
indexStore.ts
in src/panel
114 3 1
resultTable.tsx
in src/panel
49 - 1
index.ts
in src/shared
177 8 1