microsoft / vscode-azurefunctions
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 265 files with 19,841 lines of code.
    • 1 very long files (6,401 lines of code)
    • 1 long files (841 lines of code)
    • 5 medium size files (1,190 lines of codeclsfd_ftr_w_mp_ins)
    • 28 small files (3,613 lines of code)
    • 230 very small files (7,796 lines of code)
32% | 4% | 5% | 18% | 39%
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% | 6% | 7% | 25% | 60%
cs0% | 0% | 42% | 47% | 10%
js0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
ROOT98% | 0% | 0% | 0% | 1%
src/commands0% | 12% | 6% | 21% | 59%
src/templates0% | 0% | 34% | 38% | 27%
tools/JsonCli0% | 0% | 42% | 47% | 10%
src/tree0% | 0% | 0% | 57% | 42%
src/debug0% | 0% | 0% | 62% | 37%
src/utils0% | 0% | 0% | 19% | 80%
src/funcCoreTools0% | 0% | 0% | 19% | 80%
src/vsCodeConfig0% | 0% | 0% | 0% | 100%
src0% | 0% | 0% | 0% | 100%
src/funcConfig0% | 0% | 0% | 0% | 100%
src/downloadAzureProject0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
NOTICE.html
in root
6401 -
backupStacks.ts
in src/commands/createFunctionApp/stacks
841 -
Installer.cs
in tools/JsonCli/src
268 9
CentralTemplateProvider.ts
in src/templates
264 20
FunctionListStep.ts
in src/commands/createFunction
234 15
InitVSCodeStepBase.ts
in src/commands/initProjectForVSCode/InitVSCodeStep
220 15
parseScriptTemplates.ts
in src/templates/script
204 13
SlotTreeItemBase.ts
in src/tree
171 19
CommandLineParser.cs
in tools/JsonCli/src
159 8
FunctionAppCreateStep.ts
in src/commands/createFunctionApp
154 10
SubscriptionTreeItem.ts
in src/tree
152 5
getStackPicks.ts
in src/commands/createFunctionApp/stacks
147 7
DotnetTemplateProvider.ts
in src/templates/dotnet
146 14
AzureAccountTreeItemWithProjects.ts
in src/tree
146 10
Program.cs
in tools/JsonCli/src
144 3
TemplateProviderBase.ts
in src/templates
141 20
PythonProjectCreateStep.ts
in src/commands/createNewProject/ProjectCreateStep
140 1
DotnetInitVSCodeStep.ts
in src/commands/initProjectForVSCode/InitVSCodeStep
140 5
pickFuncProcess.ts
in src/commands
140 7
DebugProxy.ts
in src/commands/remoteDebugJava
128 4
nugetUtils.ts
in src/utils
128 3
FuncTaskProvider.ts
in src/debug
123 7
parseDotnetTemplates.ts
in src/templates/dotnet
123 8
validatePreDebug.ts
in src/debug
122 6
deploy.ts
in src/commands/deploy
121 5
FunctionTreeItemBase.ts
in src/tree
116 15
LocalProjectTreeItem.ts
in src/tree/localProject
116 13
PowerShellProjectCreateStep.ts
in src/commands/createNewProject/ProjectCreateStep
115 8
PythonInitVSCodeStep.ts
in src/commands/initProjectForVSCode/InitVSCodeStep
110 10
NewProjectLanguageStep.ts
in src/commands/createNewProject
109 4
validateFuncCoreToolsIsLatest.ts
in src/funcCoreTools
109 3
dotnetUtils.ts
in src/utils
107 12
JavaScriptProjectCreateStep.ts
in src/commands/createNewProject/ProjectCreateStep
103 6
registerCommands.ts
in src/commands
102 1
ScriptTemplateProvider.ts
in src/templates/script
101 12
remoteDebugJavaFunctionApp.ts
in src/commands/remoteDebugJava
99 5
LocalFunctionsTreeItem.ts
in src/tree/localProject
98 6
JavaInitVSCodeStep.ts
in src/commands/initProjectForVSCode/InitVSCodeStep
93 9
OpenAPICreateStep.ts
in src/commands/createFunction/openAPISteps
89 6
verifyAppSettings.ts
in src/commands/deploy
89 4
venvUtils.ts
in src/utils
89 9
verifyTargetFramework.ts
in src/vsCodeConfig
89 5
createFunction.ts
in src/commands/createFunction
88 4
extension.ts
in src
88 3
setupProjectFolder.ts
in src/downloadAzureProject
86 2
settings.ts
in src/vsCodeConfig
85 10
bundleFeedUtils.ts
in src/utils
83 7
verifyExtensionBundle.ts
in src/utils
79 4
constants.ts
in src
78 -
funcHostTask.ts
in src/funcCoreTools
78 4
Files With Most Units (Top 20)
File# lines# units
CentralTemplateProvider.ts
in src/templates
264 20
TemplateProviderBase.ts
in src/templates
141 20
SlotTreeItemBase.ts
in src/tree
171 19
FunctionListStep.ts
in src/commands/createFunction
234 15
InitVSCodeStepBase.ts
in src/commands/initProjectForVSCode/InitVSCodeStep
220 15
FunctionTreeItemBase.ts
in src/tree
116 15
DotnetTemplateProvider.ts
in src/templates/dotnet
146 14
parseScriptTemplates.ts
in src/templates/script
204 13
LocalProjectTreeItem.ts
in src/tree/localProject
116 13
ScriptTemplateProvider.ts
in src/templates/script
101 12
dotnetUtils.ts
in src/utils
107 12
FunctionAppCreateStep.ts
in src/commands/createFunctionApp
154 10
PythonInitVSCodeStep.ts
in src/commands/initProjectForVSCode/InitVSCodeStep
110 10
AzureAccountTreeItemWithProjects.ts
in src/tree
146 10
settings.ts
in src/vsCodeConfig
85 10
JavaInitVSCodeStep.ts
in src/commands/initProjectForVSCode/InitVSCodeStep
93 9
venvUtils.ts
in src/utils
89 9
workspace.ts
in src/utils
75 9
Installer.cs
in tools/JsonCli/src
268 9
PowerShellProjectCreateStep.ts
in src/commands/createNewProject/ProjectCreateStep
115 8
Files With Long Lines (Top 20)

There are 165 files with lines longer than 120 characters. In total, there are 951 long lines.

File# lines# units# long lines
NOTICE.html
in root
6401 - 247
CentralTemplateProvider.ts
in src/templates
264 20 31
Installer.cs
in tools/JsonCli/src
268 9 18
FunctionListStep.ts
in src/commands/createFunction
234 15 16
deploy.ts
in src/commands/deploy
121 5 15
AzureAccountTreeItemWithProjects.ts
in src/tree
146 10 15
InitVSCodeStepBase.ts
in src/commands/initProjectForVSCode/InitVSCodeStep
220 15 14
DotnetTemplateProvider.ts
in src/templates/dotnet
146 14 13
verifyAppSettings.ts
in src/commands/deploy
89 4 12
pickFuncProcess.ts
in src/commands
140 7 12
validatePreDebug.ts
in src/debug
122 6 12
startStreamingLogs.ts
in src/commands/logstream
74 4 11
validateFuncCoreToolsIsLatest.ts
in src/funcCoreTools
109 3 11
getStackPicks.ts
in src/commands/createFunctionApp/stacks
147 7 9
setupProjectFolder.ts
in src/downloadAzureProject
86 2 9
local.settings.ts
in src/funcConfig
68 3 9
verifyTargetFramework.ts
in src/vsCodeConfig
89 5 9
verifyIsProject.ts
in src/commands/createNewProject
70 4 8
initProjectForVSCode.ts
in src/commands/initProjectForVSCode
45 1 8
FuncTaskProvider.ts
in src/debug
123 7 8