microsoft / vscode-docker
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 288 files with 25,078 lines of code.
    • 1 very long files (10,469 lines of code)
    • 0 long files (0 lines of code)
    • 8 medium size files (2,186 lines of codeclsfd_ftr_w_mp_ins)
    • 27 small files (3,834 lines of code)
    • 252 very small files (8,589 lines of code)
41% | 0% | 8% | 15% | 34%
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
html100% | 0% | 0% | 0% | 0%
ts0% | 0% | 15% | 26% | 58%
targets0% | 0% | 0% | 0% | 100%
js0% | 0% | 0% | 0% | 100%
py0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
ROOT99% | 0% | 0% | 0% | <1%
src/docker0% | 0% | 47% | 28% | 24%
src/debugging0% | 0% | 41% | 28% | 29%
src/tree0% | 0% | 8% | 20% | 71%
src0% | 0% | 61% | 0% | 38%
src/tasks0% | 0% | 16% | 34% | 49%
src/commands0% | 0% | 0% | 26% | 73%
src/utils0% | 0% | 0% | 38% | 61%
src/scaffolding0% | 0% | 0% | 30% | 69%
src/telemetry0% | 0% | 0% | 0% | 100%
resources/netCore0% | 0% | 0% | 0% | 100%
resources/python0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
NOTICE.html
in root
10469 -
LocalRootTreeItemBase.ts
in src/tree
341 32
DockerodeApiClient.ts
in src/docker/DockerodeApiClient
322 31
ContextManager.ts
in src/docker
308 24
DockerServerReadyAction.ts
in src/debugging
264 20
NetCoreDebugHelper.ts
in src/debugging/netcore
264 19
extension.ts
in src
264 12
NetCoreTaskHelper.ts
in src/tasks/netcore
221 17
DockerServeClient.ts
in src/docker/DockerServeClient
202 31
TaskHelper.ts
in src/tasks
196 14
ContainerFilesProvider.ts
in src/docker/files
195 13
spawnAsync.ts
in src/utils
189 11
RegistriesTreeItem.ts
in src/tree/registries
187 11
selectCommandTemplate.ts
in src/commands
186 13
registerCommands.ts
in src/commands
183 2
ContainerFilesUtils.ts
in src/docker/files
181 14
scheduleRunRequest.ts
in src/commands/registries/azure/tasks
148 5
NodeTaskHelper.ts
in src/tasks/node
146 10
ContainerTreeItem.ts
in src/tree/containers
146 20
httpRequest.ts
in src/utils
146 9
quickPickFile.ts
in src/utils
143 13
DockerDebugConfigurationProvider.ts
in src/debugging
138 8
ContainersTreeItem.ts
in src/tree/containers
135 10
ContextLoadingClient.ts
in src/docker/ContextLoadingClient
134 28
commandLineBuilder.ts
in src/utils
131 10
DockerSiteCreateStep.ts
in src/commands/registries/azure
128 6
PythonGatherInformationStep.ts
in src/scaffolding/wizard/python
127 7
ScaffoldFileStep.ts
in src/scaffolding/wizard
123 9
ImageProperties.ts
in src/tree/images
118 4
PythonDebugHelper.ts
in src/debugging/python
117 4
AspNetSslHelper.ts
in src/debugging/netcore
109 10
HelpsTreeItem.ts
in src/tree/help
109 12
dockerInstaller.ts
in src/commands
107 9
NetCoreGatherInformationStep.ts
in src/scaffolding/wizard/netCore
105 8
ContextsTreeItem.ts
in src/tree/contexts
105 10
PythonTaskHelper.ts
in src/tasks/python
102 8
DockerHubAccountTreeItem.ts
in src/tree/registries/dockerHub
99 10
DockerRunTaskProvider.ts
in src/tasks
98 4
registerTrees.ts
in src/tree
96 1
deployImageToAci.ts
in src/commands/registries/azure
94 9
DockerComposeTaskProvider.ts
in src/tasks
94 4
AzureRegistryTreeItem.ts
in src/tree/registries/azure
90 15
DebugHelper.ts
in src/debugging
87 4
DockerDebugScaffoldingProvider.ts
in src/debugging
87 5
DockerodeUtils.ts
in src/docker/DockerodeApiClient
87 6
DockerPseudoterminal.ts
in src/tasks
86 12
updateBlazorManifest.ts
in src/tasks/netcore
86 5
getComposeSubsetList.ts
in src/commands/compose
85 8
NodeDebugHelper.ts
in src/debugging/node
85 2
ImageTreeItem.ts
in src/tree/images
85 11
Files With Most Units (Top 20)
File# lines# units
LocalRootTreeItemBase.ts
in src/tree
341 32
DockerServeClient.ts
in src/docker/DockerServeClient
202 31
DockerodeApiClient.ts
in src/docker/DockerodeApiClient
322 31
ContextLoadingClient.ts
in src/docker/ContextLoadingClient
134 28
ContextManager.ts
in src/docker
308 24
DockerServerReadyAction.ts
in src/debugging
264 20
ContainerTreeItem.ts
in src/tree/containers
146 20
NetCoreDebugHelper.ts
in src/debugging/netcore
264 19
NetCoreTaskHelper.ts
in src/tasks/netcore
221 17
AzureRegistryTreeItem.ts
in src/tree/registries/azure
90 15
ContainerFilesUtils.ts
in src/docker/files
181 14
TaskHelper.ts
in src/tasks
196 14
selectCommandTemplate.ts
in src/commands
186 13
ContainerFilesProvider.ts
in src/docker/files
195 13
ContextTreeItem.ts
in src/tree/contexts
77 13
quickPickFile.ts
in src/utils
143 13
extension.ts
in src
264 12
DockerPseudoterminal.ts
in src/tasks
86 12
HelpsTreeItem.ts
in src/tree/help
109 12
registryContextValues.ts
in src/tree/registries
47 12
Files With Long Lines (Top 20)

There are 207 files with lines longer than 120 characters. In total, there are 1236 long lines.

File# lines# units# long lines
NOTICE.html
in root
10469 - 367
DockerodeApiClient.ts
in src/docker/DockerodeApiClient
322 31 24
NetCoreDebugHelper.ts
in src/debugging/netcore
264 19 23
scheduleRunRequest.ts
in src/commands/registries/azure/tasks
148 5 20
LocalRootTreeItemBase.ts
in src/tree
341 32 20
selectCommandTemplate.ts
in src/commands
186 13 19
compose.ts
in src/commands/compose
79 6 16
DockerDebugConfigurationProvider.ts
in src/debugging
138 8 16
DockerServerReadyAction.ts
in src/debugging
264 20 16
DockerServeClient.ts
in src/docker/DockerServeClient
202 31 15
registerTrees.ts
in src/tree
96 1 15
RegistriesTreeItem.ts
in src/tree/registries
187 11 14
quickPickFile.ts
in src/utils
143 13 14
TaskHelper.ts
in src/tasks
196 14 13
NetCoreTaskHelper.ts
in src/tasks/netcore
221 17 13
NetCoreGatherInformationStep.ts
in src/scaffolding/wizard/netCore
105 8 12
dockerInstaller.ts
in src/commands
107 9 11
registerWorkspaceCommand.ts
in src/commands
77 4 10
ContextLoadingClient.ts
in src/docker/ContextLoadingClient
134 28 10
ContextManager.ts
in src/docker
308 24 10