microsoft / sarif-website
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 101 files with 28,970 lines of code.
    • 8 very long files (15,692 lines of code)
    • 7 long files (4,502 lines of code)
    • 10 medium size files (2,655 lines of codeclsfd_ftr_w_mp_ins)
    • 35 small files (4,350 lines of code)
    • 41 very small files (1,771 lines of code)
54% | 15% | 9% | 15% | 6%
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
js59% | 14% | 7% | 14% | 4%
cshtml0% | 67% | 25% | 0% | 6%
css0% | 0% | 40% | 37% | 21%
cs0% | 0% | 0% | 0% | 100%
yml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
src/SarifWeb/wwwroot/js59% | 14% | 7% | 14% | 4%
src/SarifWeb/Views/Validation0% | 100% | 0% | 0% | 0%
src/SarifWeb/wwwroot/css0% | 0% | 40% | 37% | 21%
src/SarifWeb/Views/Home0% | 0% | 100% | 0% | 0%
src/SarifWeb/Services0% | 0% | 0% | 0% | 100%
src/SarifWeb/Controllers0% | 0% | 0% | 0% | 100%
src/SarifWeb0% | 0% | 0% | 0% | 100%
src/SarifWeb/Views/Shared0% | 0% | 0% | 0% | 100%
src/SarifWeb/Models0% | 0% | 0% | 0% | 100%
src/SarifWeb/Utilities0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
src/SarifWeb/Views0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
bootstrap.bundle.js
in src/SarifWeb/wwwroot/js
4513 218
ai.0.15.0-build58334.js
in src/SarifWeb/wwwroot/js
2646 289
worker-json.js
in src/SarifWeb/wwwroot/js/ace
2124 177
ext-language_tools.js
in src/SarifWeb/wwwroot/js/ace
1789 135
popper.js
in src/SarifWeb/wwwroot/js/umd
1205 83
popper.js
in src/SarifWeb/wwwroot/js/esm
1199 82
ext-emmet.js
in src/SarifWeb/wwwroot/js/ace
1129 92
popper.js
in src/SarifWeb/wwwroot/js
1087 71
cshtml
Index.cshtml
in src/SarifWeb/Views/Validation
731 -
ext-settings_menu.js
in src/SarifWeb/wwwroot/js/ace
717 27
ext-options.js
in src/SarifWeb/wwwroot/js/ace
696 23
popper-utils.js
in src/SarifWeb/wwwroot/js/umd
651 48
popper-utils.js
in src/SarifWeb/wwwroot/js/esm
616 47
popper-utils.js
in src/SarifWeb/wwwroot/js
576 46
ext-textarea.js
in src/SarifWeb/wwwroot/js/ace
515 19
ext-searchbox.js
in src/SarifWeb/wwwroot/js/ace
479 39
Home.css
in src/SarifWeb/wwwroot/css
302 -
cshtml
Index.cshtml
in src/SarifWeb/Views/Home
276 -
mode-json.js
in src/SarifWeb/wwwroot/js/ace
258 21
Validator.css
in src/SarifWeb/wwwroot/css
236 -
respond.js
in src/SarifWeb/wwwroot/js
231 11
ext-elastic_tabstops_lite.js
in src/SarifWeb/wwwroot/js/ace
226 18
ext-beautify.js
in src/SarifWeb/wwwroot/js/ace
223 4
ext-modelist.js
in src/SarifWeb/wwwroot/js/ace
220 5
ext-static_highlight.js
in src/SarifWeb/wwwroot/js/ace
204 14
ext-whitespace.js
in src/SarifWeb/wwwroot/js/ace
183 13
ext-split.js
in src/SarifWeb/wwwroot/js/ace
181 21
ext-keybinding_menu.js
in src/SarifWeb/wwwroot/js/ace
174 10
theme-chaos.js
in src/SarifWeb/wwwroot/js/ace
160 2
theme-dreamweaver.js
in src/SarifWeb/wwwroot/js/ace
147 3
theme-sqlserver.js
in src/SarifWeb/wwwroot/js/ace
143 2
Home-Media-Mobile.css
in src/SarifWeb/wwwroot/css
137 -
Home-Media-Mobile-Landscape.css
in src/SarifWeb/wwwroot/css
135 -
theme-textmate.js
in src/SarifWeb/wwwroot/js/ace
135 3
theme-chrome.js
in src/SarifWeb/wwwroot/js/ace
133 3
theme-dracula.js
in src/SarifWeb/wwwroot/js/ace
133 5
theme-katzenmilch.js
in src/SarifWeb/wwwroot/js/ace
126 7
theme-tomorrow_night_bright.js
in src/SarifWeb/wwwroot/js/ace
126 5
theme-crimson_editor.js
in src/SarifWeb/wwwroot/js/ace
123 2
theme-terminal.js
in src/SarifWeb/wwwroot/js/ace
119 3
Frame.css
in src/SarifWeb/wwwroot/css
118 -
theme-cobalt.js
in src/SarifWeb/wwwroot/js/ace
118 9
theme-gob.js
in src/SarifWeb/wwwroot/js/ace
117 8
theme-twilight.js
in src/SarifWeb/wwwroot/js/ace
114 8
theme-dawn.js
in src/SarifWeb/wwwroot/js/ace
113 9
theme-pastel_on_dark.js
in src/SarifWeb/wwwroot/js/ace
113 9
theme-tomorrow.js
in src/SarifWeb/wwwroot/js/ace
113 4
theme-tomorrow_night.js
in src/SarifWeb/wwwroot/js/ace
113 4
theme-tomorrow_night_eighties.js
in src/SarifWeb/wwwroot/js/ace
113 4
theme-mono_industrial.js
in src/SarifWeb/wwwroot/js/ace
112 9
Files With Most Units (Top 20)
File# lines# units
ai.0.15.0-build58334.js
in src/SarifWeb/wwwroot/js
2646 289
bootstrap.bundle.js
in src/SarifWeb/wwwroot/js
4513 218
worker-json.js
in src/SarifWeb/wwwroot/js/ace
2124 177
ext-language_tools.js
in src/SarifWeb/wwwroot/js/ace
1789 135
ext-emmet.js
in src/SarifWeb/wwwroot/js/ace
1129 92
popper.js
in src/SarifWeb/wwwroot/js/umd
1205 83
popper.js
in src/SarifWeb/wwwroot/js/esm
1199 82
popper.js
in src/SarifWeb/wwwroot/js
1087 71
popper-utils.js
in src/SarifWeb/wwwroot/js/umd
651 48
popper-utils.js
in src/SarifWeb/wwwroot/js/esm
616 47
popper-utils.js
in src/SarifWeb/wwwroot/js
576 46
ext-searchbox.js
in src/SarifWeb/wwwroot/js/ace
479 39
ext-settings_menu.js
in src/SarifWeb/wwwroot/js/ace
717 27
ext-options.js
in src/SarifWeb/wwwroot/js/ace
696 23
ext-split.js
in src/SarifWeb/wwwroot/js/ace
181 21
mode-json.js
in src/SarifWeb/wwwroot/js/ace
258 21
ext-textarea.js
in src/SarifWeb/wwwroot/js/ace
515 19
ext-elastic_tabstops_lite.js
in src/SarifWeb/wwwroot/js/ace
226 18
ext-static_highlight.js
in src/SarifWeb/wwwroot/js/ace
204 14
ext-whitespace.js
in src/SarifWeb/wwwroot/js/ace
183 13
Files With Long Lines (Top 20)

There are 65 files with lines longer than 120 characters. In total, there are 461 long lines.

File# lines# units# long lines
ai.0.15.0-build58334.js
in src/SarifWeb/wwwroot/js
2646 289 133
bootstrap.bundle.js
in src/SarifWeb/wwwroot/js
4513 218 58
cshtml
Index.cshtml
in src/SarifWeb/Views/Validation
731 - 50
cshtml
Index.cshtml
in src/SarifWeb/Views/Home
276 - 35
popper.js
in src/SarifWeb/wwwroot/js
1087 71 24
popper.js
in src/SarifWeb/wwwroot/js/esm
1199 82 23
popper.js
in src/SarifWeb/wwwroot/js/umd
1205 83 23
popper-utils.js
in src/SarifWeb/wwwroot/js
576 46 8
popper-utils.js
in src/SarifWeb/wwwroot/js/esm
616 47 7
popper-utils.js
in src/SarifWeb/wwwroot/js/umd
651 48 6
cshtml
_Layout.cshtml
in src/SarifWeb/Views/Shared
52 - 5
ext-language_tools.js
in src/SarifWeb/wwwroot/js/ace
1789 135 5
ext-beautify.js
in src/SarifWeb/wwwroot/js/ace
223 4 4
ext-keybinding_menu.js
in src/SarifWeb/wwwroot/js/ace
174 10 4
ext-settings_menu.js
in src/SarifWeb/wwwroot/js/ace
717 27 4
mode-json.js
in src/SarifWeb/wwwroot/js/ace
258 21 4
ValidationService.cs
in src/SarifWeb/Services
81 2 3
ImageViewer.js
in src/SarifWeb/wwwroot/js
78 12 3
ext-emmet.js
in src/SarifWeb/wwwroot/js/ace
1129 92 3
ext-options.js
in src/SarifWeb/wwwroot/js/ace
696 23 3