microsoft / StoreBroker
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 27 files with 15,327 lines of code.
    • 6 very long files (11,795 lines of code)
    • 2 long files (1,379 lines of code)
    • 4 medium size files (1,325 lines of codeclsfd_ftr_w_mp_ins)
    • 3 small files (381 lines of code)
    • 12 very small files (447 lines of code)
76% | 8% | 8% | 2% | 2%
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
ps181% | 11% | 6% | 0% | 0%
psm1100% | 0% | 0% | 0% | 0%
cs0% | 0% | 58% | 0% | 41%
psd10% | 0% | 0% | 100% | 0%
csdef0% | 0% | 0% | 100% | 0%
ccproj0% | 0% | 0% | 100% | 0%
cscfg0% | 0% | 0% | 0% | 100%
html0% | 0% | 0% | 0% | 100%
asax0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
StoreBroker85% | 6% | 6% | 1% | 0%
Extensions71% | 28% | 0% | 0% | 0%
RESTProxy/Models0% | 0% | 74% | 0% | 25%
AzureService0% | 0% | 0% | 79% | 20%
RESTProxy/App_Start0% | 0% | 0% | 0% | 100%
RESTProxy/Controllers0% | 0% | 0% | 0% | 100%
RESTProxy0% | 0% | 0% | 0% | 100%
RESTProxy/Properties0% | 0% | 0% | 0% | 100%
Longest Files (Top 27)
File# lines# units
PackageTool.ps1
in StoreBroker
3199 -
StoreIngestionApi.psm1
in StoreBroker
1920 -
StoreIngestionApplicationApi.ps1
in StoreBroker
1917 -
StoreIngestionFlightingApi.ps1
in StoreBroker
1886 -
StoreIngestionIapApi.ps1
in StoreBroker
1552 -
ConvertFrom-ExistingSubmission.ps1
in Extensions
1321 -
Helpers.ps1
in StoreBroker
858 -
ConvertFrom-ExistingIapSubmission.ps1
in Extensions
521 -
Telemetry.ps1
in StoreBroker
491 -
NugetTools.ps1
in StoreBroker
305 -
Endpoint.cs
in RESTProxy/Models
287 7
ProxyManager.cs
in RESTProxy/Models
242 4
StoreBroker.psd1
in StoreBroker
158 -
csdef
ServiceDefinition.csdef
in AzureService
115 -
ccproj
AzureService.ccproj
in AzureService
108 -
RootController.cs
in RESTProxy/Controllers
82 1
TenantEndpointCollection.cs
in RESTProxy/Models
77 3
WebApiConfig.cs
in RESTProxy/App_Start
72 3
AsyncLock.cs
in RESTProxy/Models
52 4
Encryption.cs
in RESTProxy/Models
50 3
cscfg
ServiceConfiguration.Cloud.cscfg
in AzureService
28 -
cscfg
ServiceConfiguration.Local.cscfg
in AzureService
28 -
AiExceptionLogger.cs
in RESTProxy/App_Start
18 1
AssemblyInfo.cs
in RESTProxy/Properties
16 -
Global.asax.cs
in RESTProxy
12 1
index.html
in RESTProxy
11 -
asax
Global.asax
in RESTProxy
1 -
Files With Most Units (Top 9)
File# lines# units
Endpoint.cs
in RESTProxy/Models
287 7
AsyncLock.cs
in RESTProxy/Models
52 4
ProxyManager.cs
in RESTProxy/Models
242 4
WebApiConfig.cs
in RESTProxy/App_Start
72 3
Encryption.cs
in RESTProxy/Models
50 3
TenantEndpointCollection.cs
in RESTProxy/Models
77 3
AiExceptionLogger.cs
in RESTProxy/App_Start
18 1
RootController.cs
in RESTProxy/Controllers
82 1
Global.asax.cs
in RESTProxy
12 1
Files With Long Lines (Top 20)

There are 22 files with lines longer than 120 characters. In total, there are 613 long lines.

File# lines# units# long lines
PackageTool.ps1
in StoreBroker
3199 - 136
StoreIngestionFlightingApi.ps1
in StoreBroker
1886 - 106
StoreIngestionApplicationApi.ps1
in StoreBroker
1917 - 91
StoreIngestionApi.psm1
in StoreBroker
1920 - 73
StoreIngestionIapApi.ps1
in StoreBroker
1552 - 51
ConvertFrom-ExistingSubmission.ps1
in Extensions
1321 - 33
Helpers.ps1
in StoreBroker
858 - 25
csdef
ServiceDefinition.csdef
in AzureService
115 - 23
Telemetry.ps1
in StoreBroker
491 - 18
NugetTools.ps1
in StoreBroker
305 - 16
ConvertFrom-ExistingIapSubmission.ps1
in Extensions
521 - 14
ProxyManager.cs
in RESTProxy/Models
242 4 12
Endpoint.cs
in RESTProxy/Models
287 7 4
ccproj
AzureService.ccproj
in AzureService
108 - 2
cscfg
ServiceConfiguration.Cloud.cscfg
in AzureService
28 - 2
cscfg
ServiceConfiguration.Local.cscfg
in AzureService
28 - 1
WebApiConfig.cs
in RESTProxy/App_Start
72 3 1
RootController.cs
in RESTProxy/Controllers
82 1 1
asax
Global.asax
in RESTProxy
1 - 1
Encryption.cs
in RESTProxy/Models
50 3 1