microsoft / vscode-azuretools
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 256 files with 22,374 lines of code.
    • 2 very long files (4,777 lines of code)
    • 2 long files (1,560 lines of code)
    • 19 medium size files (5,317 lines of codeclsfd_ftr_w_mp_ins)
    • 30 small files (4,236 lines of code)
    • 203 very small files (6,484 lines of code)
21% | 6% | 23% | 18% | 28%
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
ts22% | 7% | 23% | 19% | 27%
js0% | 0% | 29% | 0% | 70%
yml0% | 0% | 0% | 0% | 100%
mjs0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
kudu/src45% | 14% | 30% | 4% | 4%
ui/src0% | 0% | 18% | 40% | 40%
appservice/src0% | 0% | 11% | 38% | 49%
databases/src0% | 0% | 31% | 0% | 68%
triage-actions/api0% | 0% | 60% | 15% | 23%
dev/src0% | 0% | 0% | 74% | 25%
triage-actions/stale-closer0% | 0% | 0% | 0% | 100%
triage-actions/needs-more-info-closer0% | 0% | 0% | 0% | 100%
triage-actions/common0% | 0% | 0% | 0% | 100%
triage-actions/locker0% | 0% | 0% | 0% | 100%
dev/scripts0% | 0% | 0% | 0% | 100%
eslint-config-azuretools0% | 0% | 0% | 0% | 100%
kudu0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
jobs.ts
in kudu/src/operations
3124 1
index.ts
in kudu/src/models
1653 -
process.ts
in kudu/src/operations
951 1
mappers.ts
in kudu/src/models
609 -
deployment.ts
in kudu/src/operations
425 1
parameters.ts
in kudu/src/models
407 -
functionModel.ts
in kudu/src/operations
360 1
diagnostics.ts
in kudu/src/operations
344 1
webHooks.ts
in kudu/src/operations
344 1
AzExtParentTreeItem.ts
in ui/src/tree
321 29
liveScmEditor.ts
in kudu/src/operations
294 1
vfs.ts
in kudu/src/operations
294 1
settings.ts
in kudu/src/operations
266 1
SiteClient.ts
in appservice/src
259 37
TunnelProxy.ts
in appservice/src
242 10
PostgresServerSkuStep.ts
in databases/src/create/PostgresAccountWizard/createPostgresServer
236 5
zip.ts
in kudu/src/operations
226 1
octokit.ts
in triage-actions/api
226 17
ConnectDatabaseAccountPromptStep.ts
in databases/src/connect
217 25
octokit.js
in triage-actions/api
216 17
AzureAccountTreeItemBase.ts
in ui/src/tree
216 14
siteExtension.ts
in kudu/src/operations
214 1
AzExtTreeDataProvider.ts
in ui/src/tree
210 17
showQuickPick.ts
in ui/src/userInput
200 3
callWithTelemetryAndErrorHandling.ts
in ui/src
192 8
createAzureClient.ts
in ui/src
187 16
AzureWizard.ts
in ui/src/wizard
187 15
AppServicePlanSkuStep.ts
in appservice/src/createAppService
185 12
LocationListStep.ts
in ui/src/wizard
176 22
error404.ts
in kudu/src/operations
167 1
TestUserInput.ts
in dev/src
162 13
parseError.ts
in ui/src
162 12
DeploymentTreeItem.ts
in appservice/src/tree
161 18
connectToGitHub.ts
in appservice/src/github
155 9
waitForDeploymentToComplete.ts
in appservice/src/deploy
153 7
liveScm.ts
in kudu/src/operations
152 1
sSHKey.ts
in kudu/src/operations
152 1
AzExtTreeItem.ts
in ui/src/tree
140 22
StorageAccountListStep.ts
in ui/src/wizard
127 11
getDeployFsPath.ts
in appservice/src/deploy
123 7
addPackageLintSuites.ts
in dev/src/testing
123 5
AzExtTreeFileSystem.ts
in ui/src
123 18
startRemoteDebug.ts
in appservice/src/remoteDebug
122 8
AppInsightsCreateStep.ts
in appservice/src/createAppService
121 6
AppServicePlanCreateStep.ts
in appservice/src/createAppService
119 8
testbed.ts
in triage-actions/api
116 13
AppServicePlanListStep.ts
in appservice/src/createAppService
111 9
AppSettingsTreeItem.ts
in appservice/src/tree
107 10
runWithZipStream.ts
in appservice/src/deploy
104 5
deploy.ts
in appservice/src/deploy
103 2
Files With Most Units (Top 20)
File# lines# units
SiteClient.ts
in appservice/src
259 37
AzExtParentTreeItem.ts
in ui/src/tree
321 29
ConnectDatabaseAccountPromptStep.ts
in databases/src/connect
217 25
AzExtTreeItem.ts
in ui/src/tree
140 22
LocationListStep.ts
in ui/src/wizard
176 22
Action.ts
in triage-actions/common
81 19
DeploymentTreeItem.ts
in appservice/src/tree
161 18
AzExtTreeFileSystem.ts
in ui/src
123 18
octokit.js
in triage-actions/api
216 17
octokit.ts
in triage-actions/api
226 17
AzExtTreeDataProvider.ts
in ui/src/tree
210 17
createAzureClient.ts
in ui/src
187 16
AzureWizard.ts
in ui/src/wizard
187 15
AzureAccountTreeItemBase.ts
in ui/src/tree
216 14
AppSettingTreeItem.ts
in appservice/src/tree
103 13
TestAzureAccount.ts
in dev/src
102 13
TestUserInput.ts
in dev/src
162 13
testbed.js
in triage-actions/api
98 13
testbed.ts
in triage-actions/api
116 13
AppServicePlanSkuStep.ts
in appservice/src/createAppService
185 12
Files With Long Lines (Top 20)

There are 164 files with lines longer than 120 characters. In total, there are 1113 long lines.

File# lines# units# long lines
jobs.ts
in kudu/src/operations
3124 1 245
process.ts
in kudu/src/operations
951 1 51
SiteClient.ts
in appservice/src
259 37 27
deployment.ts
in kudu/src/operations
425 1 21
LocationListStep.ts
in ui/src/wizard
176 22 20
startRemoteDebug.ts
in appservice/src/remoteDebug
122 8 18
AzureAccountTreeItemBase.ts
in ui/src/tree
216 14 18
ConnectDatabaseAccountPromptStep.ts
in databases/src/connect
217 25 17
siteExtension.ts
in kudu/src/operations
214 1 17
getDeployFsPath.ts
in appservice/src/deploy
123 7 16
diagnostics.ts
in kudu/src/operations
344 1 16
functionModel.ts
in kudu/src/operations
360 1 16
liveScmEditor.ts
in kudu/src/operations
294 1 16
runDeployTask.ts
in appservice/src/deploy
93 6 15
AppInsightsCreateStep.ts
in appservice/src/createAppService
121 6 14
webHooks.ts
in kudu/src/operations
344 1 14
AzExtTreeDataProvider.ts
in ui/src/tree
210 17 14
createAzureClient.ts
in ui/src
187 16 13
addPackageLintSuites.ts
in dev/src/testing
123 5 12
vfs.ts
in kudu/src/operations
294 1 12