microsoft / vscode-html-languageservice
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 37 files with 11,452 lines of code.
    • 5 very long files (8,377 lines of code)
    • 1 long files (560 lines of code)
    • 3 medium size files (862 lines of codeclsfd_ftr_w_mp_ins)
    • 6 small files (837 lines of code)
    • 22 very small files (816 lines of code)
73% | 4% | 7% | 7% | 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
js96% | 0% | 0% | 0% | 3%
ts43% | 11% | 16% | 16% | 11%
yml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
src/beautify99% | 0% | 0% | 0% | <1%
src/beautify/esm100% | 0% | 0% | 0% | 0%
src/parser80% | 0% | 14% | 5% | 0%
src/services0% | 33% | 15% | 40% | 10%
src0% | 0% | 74% | 0% | 25%
src/utils0% | 0% | 0% | 0% | 100%
build0% | 0% | 0% | 0% | 100%
src/languageFacts0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
Longest Files (Top 37)
File# lines# units
htmlEntities.ts
in src/parser
2233 -
beautify-html.js
in src/beautify
2023 186
beautify-html.js
in src/beautify/esm
2000 181
beautify-css.js
in src/beautify
1068 92
beautify-css.js
in src/beautify/esm
1053 90
htmlCompletion.ts
in src/services
560 31
htmlScanner.ts
in src/parser
389 24
htmlHover.ts
in src/services
255 11
htmlLanguageTypes.ts
in src
218 -
htmlFolding.ts
in src/services
153 3
htmlParser.ts
in src/parser
151 5
pathCompletion.ts
in src/services
146 11
htmlSelectionRange.ts
in src/services
138 5
htmlFormatter.ts
in src/services
125 19
htmlLinks.ts
in src/services
124 6
update-jsbeautify.js
in build
99 6
dataProvider.ts
in src/languageFacts
99 6
htmlLanguageService.ts
in src
76 3
resources.ts
in src/utils
64 7
htmlRename.ts
in src/services
53 3
strings.ts
in src/utils
52 5
paths.ts
in src/utils
46 4
htmlHighlighting.ts
in src/services
39 4
htmlSymbolsProvider.ts
in src/services
37 3
arrays.ts
in src/utils
31 2
htmlLinkedEditing.ts
in src/services
30 1
copy-jsbeautify.js
in build
25 1
remove-sourcemap-refs.js
in build
25 1
htmlMatchingTagPosition.ts
in src/services
25 1
generateData.js
in build
24 1
post-publish.js
in build
23 1
azure-pipelines.yml
in root
22 -
dataManager.ts
in src/languageFacts
19 3
markup.ts
in src/utils
16 1
fact.ts
in src/languageFacts
5 1
beautify.ts
in src/beautify
3 1
object.ts
in src/utils
3 1
Files With Most Units (Top 20)
File# lines# units
beautify-html.js
in src/beautify
2023 186
beautify-html.js
in src/beautify/esm
2000 181
beautify-css.js
in src/beautify
1068 92
beautify-css.js
in src/beautify/esm
1053 90
htmlCompletion.ts
in src/services
560 31
htmlScanner.ts
in src/parser
389 24
htmlFormatter.ts
in src/services
125 19
htmlHover.ts
in src/services
255 11
pathCompletion.ts
in src/services
146 11
resources.ts
in src/utils
64 7
update-jsbeautify.js
in build
99 6
dataProvider.ts
in src/languageFacts
99 6
htmlLinks.ts
in src/services
124 6
htmlParser.ts
in src/parser
151 5
htmlSelectionRange.ts
in src/services
138 5
strings.ts
in src/utils
52 5
htmlHighlighting.ts
in src/services
39 4
paths.ts
in src/utils
46 4
htmlLanguageService.ts
in src
76 3
dataManager.ts
in src/languageFacts
19 3
Files With Long Lines (Top 19)

There are 19 files with lines longer than 120 characters. In total, there are 103 long lines.

File# lines# units# long lines
htmlCompletion.ts
in src/services
560 31 16
beautify-html.js
in src/beautify
2023 186 11
beautify-html.js
in src/beautify/esm
2000 181 11
htmlScanner.ts
in src/parser
389 24 10
htmlHover.ts
in src/services
255 11 9
beautify-css.js
in src/beautify
1068 92 6
beautify-css.js
in src/beautify/esm
1053 90 6
htmlLanguageService.ts
in src
76 3 6
htmlHighlighting.ts
in src/services
39 4 4
pathCompletion.ts
in src/services
146 11 4
htmlFormatter.ts
in src/services
125 19 3
htmlLinks.ts
in src/services
124 6 3
htmlSelectionRange.ts
in src/services
138 5 3
update-jsbeautify.js
in build
99 6 2
dataProvider.ts
in src/languageFacts
99 6 2
fact.ts
in src/languageFacts
5 1 2
htmlParser.ts
in src/parser
151 5 2
htmlSymbolsProvider.ts
in src/services
37 3 2
htmlLanguageTypes.ts
in src
218 - 1