microsoft / navcontainerhelper
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 167 files with 25,263 lines of code.
    • 3 very long files (5,290 lines of code)
    • 5 long files (3,402 lines of code)
    • 20 medium size files (6,079 lines of codeclsfd_ftr_w_mp_ins)
    • 35 small files (4,923 lines of code)
    • 104 very small files (5,569 lines of code)
20% | 13% | 24% | 19% | 22%
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
ps121% | 13% | 23% | 19% | 22%
psm10% | 0% | 100% | 0% | 0%
psd10% | 0% | 0% | 100% | 0%
toml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
ContainerHandling42% | 12% | 5% | 19% | 20%
AppHandling20% | 23% | 36% | 13% | 6%
ROOT43% | 21% | 21% | 11% | 2%
Misc0% | 0% | 33% | 7% | 58%
AzureAD0% | 0% | 80% | 0% | 19%
Bacpac0% | 0% | 41% | 49% | 9%
BcSaaS0% | 0% | 27% | 32% | 39%
ObjectHandling0% | 0% | 22% | 29% | 48%
UserHandling0% | 0% | 0% | 76% | 23%
ConfigPackageHandling0% | 0% | 0% | 71% | 28%
Api0% | 0% | 0% | 68% | 31%
PackageHandling0% | 0% | 0% | 39% | 60%
AzureVM0% | 0% | 0% | 45% | 54%
ContainerInfo0% | 0% | 0% | 10% | 89%
TenantHandling0% | 0% | 0% | 45% | 54%
CompanyHandling0% | 0% | 0% | 0% | 100%
SymbolHandling0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
New-NavContainer.ps1
in ContainerHandling
2014 -
Run-AlPipeline.ps1
in AppHandling
1801 -
CreateScript.ps1
in root
1475 -
PsTestFunctions.ps1
in AppHandling
991 -
HelperFunctions.ps1
in root
739 -
New-NavImage.ps1
in ContainerHandling
600 -
Compile-AppInNavContainer.ps1
in AppHandling
542 -
Run-AlValidation.ps1
in AppHandling
530 -
ClientContext.ps1
in AppHandling
484 -
Run-TestsInNavContainer.ps1
in AppHandling
463 -
Create-AadAppsForNav.ps1
in AzureAD
391 -
BcContainerHelper.psm1
in root
385 -
Export-NavContainerDatabasesAsBacpac.ps1
in Bacpac
360 -
TelemetryHelper.ps1
in root
360 -
Publish-NavContainerApp.ps1
in AppHandling
342 -
New-BcAuthContext.ps1
in BcSaaS
334 -
Import-TestToolkitToNavContainer.ps1
in ObjectHandling
275 -
Get-BCArtifactUrl.ps1
in Misc
269 -
Create-AlProjectFolderFromNavContainer.ps1
in AppHandling
266 -
Get-BestGenericImageName.ps1
in ContainerHandling
259 -
Run-AlCops.ps1
in AppHandling
255 -
Run-ConnectionTestToNavContainer.ps1
in AppHandling
255 -
Clean-BcContainerDatabase.ps1
in AppHandling
251 -
Get-TestsFromNavContainer.ps1
in AppHandling
249 -
Extract-AppFileToFolder.ps1
in AppHandling
246 -
Publish-NewApplicationToNavContainer.ps1
in AppHandling
217 -
Download-Artifacts.ps1
in Misc
216 -
Copy-AlSourceFiles.ps1
in AppHandling
202 -
BcContainerHelper.psd1
in root
200 -
Extract-FilesFromStoppedNavContainer.ps1
in ContainerHandling
199 -
Setup-TraefikContainerForNavContainers.ps1
in ContainerHandling
192 -
Restore-BcDatabaseFromArtifacts.ps1
in Bacpac
184 -
UploadImportAndApply-ConfigPackageInBcContainer.ps1
in ConfigPackageHandling
184 -
Check-BcContainerHelperPermissions.ps1
in root
182 -
Run-BCPTTestsInBcContainer.ps1
in AppHandling
180 -
Replace-DependenciesInAppFile.ps1
in AppHandling
176 -
Invoke-NavContainerApi.ps1
in Api
170 -
Flush-ContainerHelperCache.ps1
in ContainerHandling
155 -
Publish-PerTenantExtensionApps.ps1
in BcSaaS
151 -
Sign-NavContainerApp.ps1
in AppHandling
150 -
Resolve-DependenciesFromAzureFeed.ps1
in PackageHandling
150 -
Export-NavContainerObjects.ps1
in ObjectHandling
143 -
Restore-DatabasesInNavContainer.ps1
in Bacpac
137 -
Convert-BcAppsToRuntimePackages.ps1
in AppHandling
136 -
Sort-AppFilesByDependencies.ps1
in AppHandling
135 -
Convert-ALCOutputToAzureDevOps.ps1
in AppHandling
131 -
New-NavContainerNavUser.ps1
in UserHandling
130 -
Remove-NavContainer.ps1
in ContainerHandling
129 -
Setup-NavContainerTestUsers.ps1
in UserHandling
126 -
updatehosts.ps1
in ContainerHandling
123 -
Files With Most Units (Top 0)
File# lines# units
Files With Long Lines (Top 20)

There are 152 files with lines longer than 120 characters. In total, there are 1580 long lines.

File# lines# units# long lines
New-NavContainer.ps1
in ContainerHandling
2014 - 133
Run-AlPipeline.ps1
in AppHandling
1801 - 114
CreateScript.ps1
in root
1475 - 86
Create-AadAppsForNav.ps1
in AzureAD
391 - 54
ClientContext.ps1
in AppHandling
484 - 51
PsTestFunctions.ps1
in AppHandling
991 - 49
Compile-AppInNavContainer.ps1
in AppHandling
542 - 41
Export-NavContainerDatabasesAsBacpac.ps1
in Bacpac
360 - 41
Run-TestsInNavContainer.ps1
in AppHandling
463 - 40
Import-TestToolkitToNavContainer.ps1
in ObjectHandling
275 - 38
Clean-BcContainerDatabase.ps1
in AppHandling
251 - 36
Publish-NavContainerApp.ps1
in AppHandling
342 - 30
Run-AlValidation.ps1
in AppHandling
530 - 28
Publish-NewApplicationToNavContainer.ps1
in AppHandling
217 - 26
New-NavImage.ps1
in ContainerHandling
600 - 26
Run-ConnectionTestToNavContainer.ps1
in AppHandling
255 - 25
Extract-FilesFromStoppedNavContainer.ps1
in ContainerHandling
199 - 25
HelperFunctions.ps1
in root
739 - 24
Get-TestsFromNavContainer.ps1
in AppHandling
249 - 22
Restore-BcDatabaseFromArtifacts.ps1
in Bacpac
184 - 18