microsoft / vscode-mssql
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 164 files with 21,794 lines of code.
    • 0 very long files (0 lines of code)
    • 16 long files (9,883 lines of code)
    • 14 medium size files (4,646 lines of codeclsfd_ftr_w_mp_ins)
    • 21 small files (2,736 lines of code)
    • 113 very small files (4,529 lines of code)
0% | 45% | 21% | 12% | 20%
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
xlf0% | 90% | 0% | 0% | 9%
ts0% | 21% | 33% | 18% | 26%
css0% | 68% | 0% | 13% | 18%
js0% | 0% | 41% | 26% | 32%
yml0% | 0% | 0% | 100% | 0%
ejs0% | 0% | 0% | 0% | 100%
html0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
localization/xliff0% | 90% | 0% | 0% | 9%
src/controllers0% | 61% | 19% | 11% | 6%
src/views0% | 48% | 22% | 11% | 18%
src/objectExplorer0% | 40% | 36% | 8% | 14%
src/models0% | 0% | 64% | 14% | 20%
lib/ads-adal-library0% | 0% | 48% | 0% | 51%
src/languageservice0% | 0% | 32% | 26% | 41%
ROOT0% | 0% | 100% | 0% | 0%
src/azure0% | 0% | 21% | 45% | 32%
src/services0% | 0% | 0% | 87% | 12%
tasks0% | 0% | 0% | 50% | 49%
src/constants0% | 0% | 0% | 100% | 0%
src/queryHistory0% | 0% | 0% | 71% | 28%
src0% | 0% | 0% | 64% | 35%
build0% | 0% | 0% | 100% | 0%
src/prompts0% | 0% | 0% | 0% | 100%
media0% | 0% | 0% | 0% | 100%
src/configurations0% | 0% | 0% | 0% | 100%
src/connectionconfig0% | 0% | 0% | 0% | 100%
src/scripting0% | 0% | 0% | 0% | 100%
src/credentialstore0% | 0% | 0% | 0% | 100%
src/firewall0% | 0% | 0% | 0% | 100%
src/metadata0% | 0% | 0% | 0% | 100%
src/utils0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
mainController.ts
in src/controllers
778 43
app.component.ts
in src/views/htmlcontent/src/js/components
764 16
connectionManager.ts
in src/controllers
665 52
xlf
localizedConstants.chs.xlf
in localization/xliff/chs/constants
599 -
xlf
localizedConstants.cht.xlf
in localization/xliff/cht/constants
599 -
xlf
localizedConstants.deu.xlf
in localization/xliff/deu/constants
599 -
xlf
localizedConstants.esn.xlf
in localization/xliff/esn/constants
599 -
xlf
localizedConstants.fra.xlf
in localization/xliff/fra/constants
599 -
xlf
localizedConstants.ita.xlf
in localization/xliff/ita/constants
599 -
xlf
localizedConstants.jpn.xlf
in localization/xliff/jpn/constants
599 -
xlf
localizedConstants.kor.xlf
in localization/xliff/kor/constants
599 -
xlf
localizedConstants.ptb.xlf
in localization/xliff/ptb/constants
599 -
xlf
localizedConstants.rus.xlf
in localization/xliff/rus/constants
599 -
connectionUI.ts
in src/views
576 31
xlf
localizedConstants.enu.xlf
in localization/xliff/enu/constants
565 -
objecttypes.css
in src/objectExplorer/objectTypes
545 -
objectExplorerService.ts
in src/objectExplorer
494 27
queryRunner.ts
in src/controllers
461 37
AzureAuth.ts
in lib/ads-adal-library/src/engine
423 22
utils.ts
in src/models
381 40
connectionStore.ts
in src/models
357 29
slick.dragrowselector.ts
in src/views/htmlcontent/src/js
330 21
sqlOutputContentProvider.ts
in src/models
327 28
interfaces.ts
in src/models
308 -
platform.ts
in src/models
304 20
statusView.ts
in src/views
286 24
serviceclient.ts
in src/languageservice
277 22
connectionCredentials.ts
in src/models
261 10
gulpfile.js
in root
231 -
azureController.ts
in src/azure
206 12
resultsSerializer.ts
in src/models
187 10
cacheService.ts
in src/azure
166 12
vscodeWrapper.ts
in src/controllers
157 39
sqlTasksService.ts
in src/services
156 7
storageService.ts
in src/azure
148 14
localizationtasks.js
in tasks
147 4
constants.ts
in src/constants
143 -
queryHistoryProvider.ts
in src/queryHistory
138 10
connectionProfile.ts
in src/models
132 6
dacFxService.ts
in src/services
130 9
protocol.ts
in src
126 7
webviewController.ts
in src/controllers
119 10
slick.autosizecolumn.ts
in src/views/htmlcontent/src/js
116 12
azureAuthRequest.ts
in src/azure
115 6
treeNodeInfo.ts
in src/objectExplorer
113 20
serviceDownloadProvider.ts
in src/languageservice
111 7
httpClient.ts
in src/languageservice
110 6
connectionInfo.ts
in src/models
108 9
styles.css
in src/views/htmlcontent/src/css
108 -
build.yml
in build
105 -
Files With Most Units (Top 20)
File# lines# units
connectionManager.ts
in src/controllers
665 52
mainController.ts
in src/controllers
778 43
utils.ts
in src/models
381 40
vscodeWrapper.ts
in src/controllers
157 39
queryRunner.ts
in src/controllers
461 37
connectionUI.ts
in src/views
576 31
connectionStore.ts
in src/models
357 29
sqlOutputContentProvider.ts
in src/models
327 28
objectExplorerService.ts
in src/objectExplorer
494 27
statusView.ts
in src/views
286 24
AzureAuth.ts
in lib/ads-adal-library/src/engine
423 22
serviceclient.ts
in src/languageservice
277 22
slick.dragrowselector.ts
in src/views/htmlcontent/src/js
330 21
platform.ts
in src/models
304 20
treeNodeInfo.ts
in src/objectExplorer
113 20
objectExplorerProvider.ts
in src/objectExplorer
75 17
app.component.ts
in src/views/htmlcontent/src/js/components
764 16
storageService.ts
in src/azure
148 14
serverStatus.ts
in src/languageservice
89 14
azureController.ts
in src/azure
206 12
Files With Long Lines (Top 20)

There are 86 files with lines longer than 120 characters. In total, there are 639 long lines.

File# lines# units# long lines
xlf
localizedConstants.deu.xlf
in localization/xliff/deu/constants
599 - 38
xlf
localizedConstants.ita.xlf
in localization/xliff/ita/constants
599 - 37
xlf
localizedConstants.fra.xlf
in localization/xliff/fra/constants
599 - 36
xlf
localizedConstants.esn.xlf
in localization/xliff/esn/constants
599 - 34
connectionManager.ts
in src/controllers
665 52 33
xlf
localizedConstants.ptb.xlf
in localization/xliff/ptb/constants
599 - 32
xlf
localizedConstants.rus.xlf
in localization/xliff/rus/constants
599 - 32
AzureAuth.ts
in lib/ads-adal-library/src/engine
423 22 27
connectionStore.ts
in src/models
357 29 20
xlf
localizedConstants.jpn.xlf
in localization/xliff/jpn/constants
599 - 17
xlf
localizedConstants.enu.xlf
in localization/xliff/enu/constants
565 - 16
xlf
localizedConstants.kor.xlf
in localization/xliff/kor/constants
599 - 15
xlf
localizedConstants.chs.xlf
in localization/xliff/chs/constants
599 - 13
xlf
localizedConstants.cht.xlf
in localization/xliff/cht/constants
599 - 13
mainController.ts
in src/controllers
778 43 13
connectionUI.ts
in src/views
576 31 12
contextmenu.component.ts
in src/views/htmlcontent/src/js/components
81 - 11
landing.css
in media
95 - 10
objectExplorerService.ts
in src/objectExplorer
494 27 9
queryRunner.ts
in src/controllers
461 37 8