microsoft / vscode-postgresql
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 93 files with 9,523 lines of code.
    • 0 very long files (0 lines of code)
    • 2 long files (1,160 lines of code)
    • 13 medium size files (4,105 lines of codeclsfd_ftr_w_mp_ins)
    • 12 small files (1,600 lines of code)
    • 66 very small files (2,658 lines of code)
0% | 12% | 43% | 16% | 27%
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
ts0% | 14% | 43% | 14% | 27%
xlf0% | 0% | 89% | 0% | 10%
js0% | 0% | 31% | 41% | 26%
css0% | 0% | 0% | 69% | 30%
html0% | 0% | 0% | 0% | 100%
ejs0% | 0% | 0% | 0% | 100%
yml0% | 0% | 0% | 0% | 100%
ps10% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
src/views0% | 23% | 37% | 14% | 24%
src/controllers0% | 33% | 45% | 7% | 13%
src/models0% | 0% | 60% | 23% | 16%
localization/xliff0% | 0% | 89% | 0% | 10%
src/languageservice0% | 0% | 33% | 27% | 39%
tasks0% | 0% | 43% | 29% | 27%
ROOT0% | 0% | 0% | 82% | 17%
src/prompts0% | 0% | 0% | 0% | 100%
src/configurations0% | 0% | 0% | 0% | 100%
src/connectionconfig0% | 0% | 0% | 0% | 100%
src/constants0% | 0% | 0% | 0% | 100%
src/credentialstore0% | 0% | 0% | 0% | 100%
src0% | 0% | 0% | 0% | 100%
src/utils0% | 0% | 0% | 0% | 100%
scripts0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
app.component.ts
in src/views/htmlcontent/src/js/components
647 8
connectionManager.ts
in src/controllers
513 38
connectionUI.ts
in src/views
458 26
sqlOutputContentProvider.ts
in src/models
457 37
mainController.ts
in src/controllers
402 30
xlf
localizedConstants.enu.xlf
in localization/xliff/enu/constants
373 -
slick.dragrowselector.ts
in src/views/htmlcontent/src/js
330 21
connectionStore.ts
in src/models
305 24
platform.ts
in src/models
303 20
queryRunner.ts
in src/controllers
301 29
serviceclient.ts
in src/languageservice
270 19
statusView.ts
in src/views
243 21
utils.ts
in src/models
240 26
connectionCredentials.ts
in src/models
213 10
htmltasks.js
in tasks
210 -
interfaces.ts
in src/models
176 -
resultsSerializer.ts
in src/models
172 10
data.service.ts
in src/views/htmlcontent/src/js/services
162 5
localizationtasks.js
in tasks
142 5
connectionInfo.ts
in src/models
141 9
gulpfile.js
in root
138 -
vscodeWrapper.ts
in src/controllers
120 29
slick.autosizecolumn.ts
in src/views/htmlcontent/src/js
116 12
serviceDownloadProvider.ts
in src/languageservice
113 7
httpClient.ts
in src/languageservice
111 6
styles.css
in src/views/htmlcontent/src/css
105 -
telemetry.ts
in src/models
104 7
localWebService.ts
in src/controllers
99 5
connectionconfig.ts
in src/connectionconfig
96 8
adapter.ts
in src/prompts
96 10
interfaces.ts
in src/views/htmlcontent/src/js
96 -
constants.ts
in src/constants
95 -
queryNotificationHandler.ts
in src/controllers
95 9
queryExecute.ts
in src/models/contracts
85 -
serverStatus.ts
in src/languageservice
84 13
serviceInstallerUtil.ts
in src/languageservice
84 3
shortcuts.service.ts
in src/views/htmlcontent/src/js/services
83 2
contextmenu.component.ts
in src/views/htmlcontent/src/js/components
79 1
config.ts
in src/configurations
75 12
app.html
in src/views/htmlcontent/src/html
72 -
packagetasks.js
in tasks
72 4
connection.ts
in src/models/contracts
70 -
server.ts
in src/languageservice
65 4
messagescontextmenu.component.ts
in src/views/htmlcontent/src/js/components
61 1
ejs
sqlOutput.ejs
in src/views/htmlcontent/src/html
60 -
extConfig.ts
in src/configurations
59 9
expand.ts
in src/prompts
59 6
progressIndicator.ts
in src/prompts
54 7
credentialstore.ts
in src/credentialstore
48 4
contracts.ts
in src/models
48 -
Files With Most Units (Top 20)
File# lines# units
connectionManager.ts
in src/controllers
513 38
sqlOutputContentProvider.ts
in src/models
457 37
mainController.ts
in src/controllers
402 30
queryRunner.ts
in src/controllers
301 29
vscodeWrapper.ts
in src/controllers
120 29
utils.ts
in src/models
240 26
connectionUI.ts
in src/views
458 26
connectionStore.ts
in src/models
305 24
slick.dragrowselector.ts
in src/views/htmlcontent/src/js
330 21
statusView.ts
in src/views
243 21
platform.ts
in src/models
303 20
serviceclient.ts
in src/languageservice
270 19
serverStatus.ts
in src/languageservice
84 13
config.ts
in src/configurations
75 12
slick.autosizecolumn.ts
in src/views/htmlcontent/src/js
116 12
connectionCredentials.ts
in src/models
213 10
resultsSerializer.ts
in src/models
172 10
adapter.ts
in src/prompts
96 10
extConfig.ts
in src/configurations
59 9
queryNotificationHandler.ts
in src/controllers
95 9
Files With Long Lines (Top 20)

There are 42 files with lines longer than 120 characters. In total, there are 183 long lines.

File# lines# units# long lines
connectionManager.ts
in src/controllers
513 38 19
connectionStore.ts
in src/models
305 24 14
sqlOutputContentProvider.ts
in src/models
457 37 11
contextmenu.component.ts
in src/views/htmlcontent/src/js/components
79 1 10
xlf
localizedConstants.enu.xlf
in localization/xliff/enu/constants
373 - 9
app.component.ts
in src/views/htmlcontent/src/js/components
647 8 8
connectionCredentials.ts
in src/models
213 10 7
connectionUI.ts
in src/views
458 26 7
contextmenu.component.html
in src/views/htmlcontent/src/html
14 - 7
resultsSerializer.ts
in src/models
172 10 6
mainController.ts
in src/controllers
402 30 5
queryNotificationHandler.ts
in src/controllers
95 9 5
serviceclient.ts
in src/languageservice
270 19 5
utils.ts
in src/models
240 26 5
xlf
localizedPackage.json.enu.xlf
in localization/xliff/enu
42 - 4
queryRunner.ts
in src/controllers
301 29 4
slick.dragrowselector.ts
in src/views/htmlcontent/src/js
330 21 4
gulpfile.js
in root
138 - 3
httpClient.ts
in src/languageservice
111 6 3
connectionInfo.ts
in src/models
141 9 3