microsoft / Partner-Center-PowerShell
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 291 files with 11,614 lines of code.
    • 0 very long files (0 lines of code)
    • 1 long files (517 lines of code)
    • 4 medium size files (1,009 lines of codeclsfd_ftr_w_mp_ins)
    • 11 small files (1,548 lines of code)
    • 275 very small files (8,540 lines of code)
0% | 4% | 8% | 13% | 73%
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
ps1xml0% | 100% | 0% | 0% | 0%
cs0% | 0% | 4% | 13% | 81%
psm10% | 0% | 80% | 0% | 19%
psd10% | 0% | 100% | 0% | 0%
yml0% | 0% | 0% | 100% | 0%
ps10% | 0% | 0% | 0% | 100%
proj0% | 0% | 0% | 0% | 100%
props0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
src/PowerShell0% | 62% | 27% | 0% | 10%
src/PowerShell/Commands0% | 0% | 8% | 13% | 77%
tools/HelpGeneration0% | 0% | 100% | 0% | 0%
src/PowerShell/Network0% | 0% | 0% | 62% | 37%
src/PowerShell/Authenticators0% | 0% | 0% | 27% | 72%
src/PowerShell/Utilities0% | 0% | 0% | 26% | 73%
ROOT0% | 0% | 0% | 72% | 27%
src/PowerShell/Attributes0% | 0% | 0% | 82% | 17%
src/PowerShell/Models0% | 0% | 0% | 0% | 100%
src/PowerShell/Extensions0% | 0% | 0% | 0% | 100%
src/PowerShell/Factories0% | 0% | 0% | 0% | 100%
src/PowerShell/Validations0% | 0% | 0% | 0% | 100%
src/PowerShell/Exceptions0% | 0% | 0% | 0% | 100%
tools0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
Microsoft.Store.PartnerCenter.PowerShell.format.ps1xml
in src/PowerShell
517 -
HelpGeneration.psm1
in tools/HelpGeneration
306 -
GetPartnerUserSignInActivity.cs
in src/PowerShell/Commands
240 5
NewPartnerAccessToken.cs
in src/PowerShell/Commands
235 2
PartnerCenter.psd1
in src/PowerShell
228 -
PartnerPSCmdlet.cs
in src/PowerShell/Commands
193 13
DelegatingAuthenticator.cs
in src/PowerShell/Authenticators
166 7
NewPartnerCustomer.cs
in src/PowerShell/Commands
158 -
RecordingTracingInterceptor.cs
in src/PowerShell/Network
143 13
ConcurrencyTaskScheduler.cs
in src/PowerShell/Utilities
140 8
ConnectPartnerCenter.cs
in src/PowerShell/Commands
136 -
PartnerAsyncCmdlet.cs
in src/PowerShell/Commands
132 7
azure-pipelines.yml
in root
131 -
DefaultOsBrowserWebUi.cs
in src/PowerShell/Network
129 4
BreakingChangeBaseAttribute.cs
in src/PowerShell/Attributes
112 7
SetPartnerBillingProfile.cs
in src/PowerShell/Commands
108 -
PersistentTokenCache.cs
in src/PowerShell/Utilities
96 6
GetPartnerInvoiceLineItem.cs
in src/PowerShell/Commands
89 1
InteractiveUserAuthenticator.cs
in src/PowerShell/Authenticators
82 3
ResolvePartnerError.cs
in src/PowerShell/Commands
82 3
SetPartnerOrganizationProfile.cs
in src/PowerShell/Commands
82 -
ClientFactory.cs
in src/PowerShell/Factories
82 4
SharedUtilities.cs
in src/PowerShell/Utilities
79 5
GetPartnerProductSku.cs
in src/PowerShell/Commands
78 1
GetPartnerCustomerUser.cs
in src/PowerShell/Commands
76 -
CrossPlatformLock.cs
in src/PowerShell/Utilities
76 4
HttpListenerInterceptor.cs
in src/PowerShell/Network
75 3
AuthenticationFactory.cs
in src/PowerShell/Factories
72 2
PartnerCenter.psm1
in src/PowerShell
72 -
SetPartnerCustomer.cs
in src/PowerShell/Commands
71 -
PSDailyRatedUsageLineItem.cs
in src/PowerShell/Models/Invoices
69 2
PartnerModule.cs
in src/PowerShell/Commands
68 3
TestPartnerSecurityRequirement.cs
in src/PowerShell/Commands
67 1
PartnerEnvironment.cs
in src/PowerShell/Models/Authentication
67 1
AddressValidator.cs
in src/PowerShell/Validations
67 2
GetPartnerProductAvailability.cs
in src/PowerShell/Commands
66 1
RestorePartnerCustomerUser.cs
in src/PowerShell/Commands
66 -
PSAzureUtilizationRecord.cs
in src/PowerShell/Models/Utilizations
66 3
InMemoryTokenCache.cs
in src/PowerShell/Utilities
65 6
AccessTokenAuthenticator.cs
in src/PowerShell/Authenticators
63 3
GetPartnerInvoiceTaxReceiptStatement.cs
in src/PowerShell/Commands
63 1
GetPartnerProduct.cs
in src/PowerShell/Commands
63 1
PartnerSession.cs
in src/PowerShell/Models/Authentication
61 4
GetPartnerAuditRecord.cs
in src/PowerShell/Commands
60 2
SetPartnerCustomerUser.cs
in src/PowerShell/Commands
60 -
GetPartnerOffer.cs
in src/PowerShell/Commands
58 2
PSOneTimeInvoiceLineItem.cs
in src/PowerShell/Models/Invoices
58 2
NewPartnerCustomerUser.cs
in src/PowerShell/Commands
57 -
SetPartnerCustomerConfigurationPolicy.cs
in src/PowerShell/Commands
57 -
SetPartnerCustomerSubscription.cs
in src/PowerShell/Commands
57 -
Files With Most Units (Top 20)
File# lines# units
PartnerPSCmdlet.cs
in src/PowerShell/Commands
193 13
RecordingTracingInterceptor.cs
in src/PowerShell/Network
143 13
ConcurrencyTaskScheduler.cs
in src/PowerShell/Utilities
140 8
BreakingChangeBaseAttribute.cs
in src/PowerShell/Attributes
112 7
DelegatingAuthenticator.cs
in src/PowerShell/Authenticators
166 7
PartnerAsyncCmdlet.cs
in src/PowerShell/Commands
132 7
PartnerPowerShellException.cs
in src/PowerShell/Exceptions
46 7
InMemoryTokenCache.cs
in src/PowerShell/Utilities
65 6
PersistentTokenCache.cs
in src/PowerShell/Utilities
96 6
GetPartnerUserSignInActivity.cs
in src/PowerShell/Commands
240 5
PowerShellCredentials.cs
in src/PowerShell/Models/Authentication
43 5
SharedUtilities.cs
in src/PowerShell/Utilities
79 5
AssertExtensions.cs
in src/PowerShell/Extensions
38 4
ClientFactory.cs
in src/PowerShell/Factories
82 4
PartnerSession.cs
in src/PowerShell/Models/Authentication
61 4
PSDirectoryRole.cs
in src/PowerShell/Models/Roles
33 4
DefaultOsBrowserWebUi.cs
in src/PowerShell/Network
129 4
CrossPlatformLock.cs
in src/PowerShell/Utilities
76 4
PartnerTokenCache.cs
in src/PowerShell/Utilities
29 4
ValidationException.cs
in src/PowerShell/Validations
23 4
Files With Long Lines (Top 20)

There are 169 files with lines longer than 120 characters. In total, there are 639 long lines.

File# lines# units# long lines
NewPartnerAccessToken.cs
in src/PowerShell/Commands
235 2 43
ConnectPartnerCenter.cs
in src/PowerShell/Commands
136 - 24
GetPartnerUserSignInActivity.cs
in src/PowerShell/Commands
240 5 22
SetPartnerCustomer.cs
in src/PowerShell/Commands
71 - 20
GlobalSuppressions.cs
in src/PowerShell
16 - 15
GetPartnerCustomerUser.cs
in src/PowerShell/Commands
76 - 14
GetPartnerProductSku.cs
in src/PowerShell/Commands
78 1 13
GetPartnerCustomerSubscription.cs
in src/PowerShell/Commands
45 - 12
GetPartnerProduct.cs
in src/PowerShell/Commands
63 1 12
GetPartnerServiceRequest.cs
in src/PowerShell/Commands
36 - 11
RestorePartnerCustomerUser.cs
in src/PowerShell/Commands
66 - 11
SetPartnerCustomerSubscription.cs
in src/PowerShell/Commands
57 - 11
proj
build.proj
in root
41 - 10
GetPartnerProductAvailability.cs
in src/PowerShell/Commands
66 1 10
NewPartnerCustomer.cs
in src/PowerShell/Commands
158 - 9
PartnerPSCmdlet.cs
in src/PowerShell/Commands
193 13 9
DefaultOsBrowserWebUi.cs
in src/PowerShell/Network
129 4 8
InteractiveUserAuthenticator.cs
in src/PowerShell/Authenticators
82 3 7
PartnerAsyncCmdlet.cs
in src/PowerShell/Commands
132 7 7
RemovePartnerCustomerUser.cs
in src/PowerShell/Commands
44 - 7