microsoft / csa-misc-utils
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 76 files with 4,061 lines of code.
    • 0 very long files (0 lines of code)
    • 1 long files (569 lines of code)
    • 0 medium size files (0 lines of codeclsfd_ftr_w_mp_ins)
    • 7 small files (1,044 lines of code)
    • 68 very small files (2,448 lines of code)
0% | 14% | 0% | 25% | 60%
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
asp0% | 74% | 0% | 16% | 9%
ps10% | 0% | 0% | 30% | 69%
py0% | 0% | 0% | 46% | 53%
csl0% | 0% | 0% | 0% | 100%
yaml0% | 0% | 0% | 0% | 100%
yml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
sample-EasyAuth-ClassicASP0% | 74% | 0% | 16% | 9%
psh-B2B-two-tenant-sync0% | 0% | 0% | 87% | 12%
psh-ManagedDiskUtils0% | 0% | 0% | 68% | 31%
psh-b2c-custom-attributes0% | 0% | 0% | 100% | 0%
sa-dsml-many-models0% | 0% | 0% | 46% | 53%
psh-BlobDataSync-Workflow0% | 0% | 0% | 100% | 0%
sample-UpdateManagement0% | 0% | 0% | 0% | 100%
psh-RBAC-CopyPaste0% | 0% | 0% | 0% | 100%
sample-AzGuardRails-Governance0% | 0% | 0% | 0% | 100%
sample-k8sRefArch0% | 0% | 0% | 0% | 100%
psh-exo-encrypted-mailsend-script0% | 0% | 0% | 0% | 100%
psh-sql-update-firewall0% | 0% | 0% | 0% | 100%
psh-GetArmLimitsViaAPI0% | 0% | 0% | 0% | 100%
psh-poison-queue0% | 0% | 0% | 0% | 100%
sample-Python-KeyVault-Function0% | 0% | 0% | 0% | 100%
psh-aad-b2b-batch-invite0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
asp
EasyAuthASP.asp
in sample-EasyAuth-ClassicASP/EasyAuthClassicASP/inc
569 -
RemoveOrphanedDisks.ps1
in psh-ManagedDiskUtils
191 -
B2C_CustomAttributes.ps1
in psh-b2c-custom-attributes
174 -
B2BSync.ps1
in psh-B2B-two-tenant-sync
165 -
B2BSync_CustomAttributes.ps1
in psh-B2B-two-tenant-sync
155 -
asp
500-100.asp
in sample-EasyAuth-ClassicASP/EasyAuthClassicASP/inc
126 -
timeseries_utilities.py
in sa-dsml-many-models/code/util
118 17
BlobSync.ps1
in psh-BlobDataSync-Workflow
115 -
Utils.ps1
in psh-RBAC-CopyPaste
90 -
SendEXOMailTest1.ps1
in psh-exo-encrypted-mailsend-script
78 -
echo-api.yaml
in sample-k8sRefArch/appGw
74 -
ApplyRBAC.ps1
in psh-RBAC-CopyPaste
70 -
SendEXOMailTest2.ps1
in psh-exo-encrypted-mailsend-script
70 -
asp
default.asp
in sample-EasyAuth-ClassicASP/EasyAuthClassicASP
69 -
02-UpdateAgentReadiness.ps1
in sample-UpdateManagement/PowerShell/UpdateAgentReadiness
58 -
UpdateAllSqlFirewall.ps1
in psh-sql-update-firewall
55 -
Export-RunAsCertificateToHybridWorker.ps1
in sample-UpdateManagement/PowerShell/AzureAutomationRunbooks
54 -
csl
NotAssessedHosts.csl
in sample-UpdateManagement/Kusto/Compliance
53 -
ExtractRBAC.ps1
in psh-RBAC-CopyPaste
51 -
02-WinSvrSched.ps1
in sample-UpdateManagement/PowerShell/GroupSchedule
51 -
03-LinuxSvrSched.ps1
in sample-UpdateManagement/PowerShell/GroupSchedule
51 -
ManagedDiskCopy.ps1
in psh-ManagedDiskUtils
50 -
02-SchedTask-ADDSSecurityGroups.ps1
in sample-UpdateManagement/PowerShell/ADDS
50 -
7Zip.ps1
in sample-UpdateManagement/PowerShell/AzureAutomationRunbooks/3rdPartyPatching
50 -
JRE.ps1
in sample-UpdateManagement/PowerShell/AzureAutomationRunbooks/3rdPartyPatching
50 -
VNC.ps1
in sample-UpdateManagement/PowerShell/AzureAutomationRunbooks/3rdPartyPatching
50 -
WinZip.ps1
in sample-UpdateManagement/PowerShell/AzureAutomationRunbooks/3rdPartyPatching
50 -
Wireshark.ps1
in sample-UpdateManagement/PowerShell/AzureAutomationRunbooks/3rdPartyPatching
50 -
GetArmLimits.ps1
in psh-GetArmLimitsViaAPI
49 -
01-InitialTask-ADDSSecurityGroups.ps1
in sample-UpdateManagement/PowerShell/ADDS
48 -
02-PostAnalysisAutomation.ps1
in sample-UpdateManagement/PowerShell/AutomatedComplianceReporting
48 -
03-PreAnalysisAutomation-Linux.ps1
in sample-UpdateManagement/PowerShell/AutomatedComplianceReporting
48 -
04-PreAnalysisAutomation-Windows.ps1
in sample-UpdateManagement/PowerShell/AutomatedComplianceReporting
47 -
model_train.py
in sa-dsml-many-models/code/aml_prs
45 2
csl
Linux-PreAnalysis.csl
in sample-UpdateManagement/Kusto/Pre-Analysis
44 -
01-SvrGrping.ps1
in sample-UpdateManagement/PowerShell/GroupSchedule
44 -
csl
Windows-PreAnalysis.csl
in sample-UpdateManagement/Kusto/Pre-Analysis
43 -
01-BearerToken.ps1
in sample-UpdateManagement/PowerShell/AutomatedComplianceReporting
43 -
01-BearerToken.ps1
in sample-UpdateManagement/PowerShell/UpdateAgentReadiness
43 -
WindowsRollback.ps1
in sample-UpdateManagement/PowerShell/AzureAutomationRunbooks/RollbackPatches
41 -
StorageQueueMovePoison.ps1
in psh-poison-queue
38 -
csl
LinWin-PostAnalysis.csl
in sample-UpdateManagement/Kusto/Post Analysis
38 -
CreateDestSPs.ps1
in psh-RBAC-CopyPaste
37 -
createKeyVault.ps1
in sample-k8sRefArch/keyVault/PoSH
37 -
CopyDiskImage_verified.ps1
in psh-ManagedDiskUtils
36 -
linRollBack.py
in sample-UpdateManagement/PowerShell/AzureAutomationRunbooks/RollbackPatches
34 1
RBACDeveloper.ps1
in sample-AzGuardRails-Governance/CustomRBAC/PowerShellRoleExamples
28 -
AzResourceProviderOperations.ps1
in sample-AzGuardRails-Governance/CustomRBAC/PowerShell
27 -
many_model.yml
in sa-dsml-many-models/code/deployment
26 -
CustomRoleAssignment.ps1
in sample-AzGuardRails-Governance/CustomRBAC/PowerShell
26 -
Files With Most Units (Top 6)
File# lines# units
timeseries_utilities.py
in sa-dsml-many-models/code/util
118 17
model_train.py
in sa-dsml-many-models/code/aml_prs
45 2
prediction.py
in sa-dsml-many-models/code/aml_prs
25 2
init-manual-service-principal.py
in sample-Python-KeyVault-Function
18 2
init-with-msi.py
in sample-Python-KeyVault-Function
14 1
linRollBack.py
in sample-UpdateManagement/PowerShell/AzureAutomationRunbooks/RollbackPatches
34 1
Files With Long Lines (Top 20)

There are 48 files with lines longer than 120 characters. In total, there are 231 long lines.

File# lines# units# long lines
ManagedDiskCopy.ps1
in psh-ManagedDiskUtils
50 - 16
RemoveOrphanedDisks.ps1
in psh-ManagedDiskUtils
191 - 9
B2C_CustomAttributes.ps1
in psh-b2c-custom-attributes
174 - 8
csl
NotAssessedHosts.csl
in sample-UpdateManagement/Kusto/Compliance
53 - 8
02-PostAnalysisAutomation.ps1
in sample-UpdateManagement/PowerShell/AutomatedComplianceReporting
48 - 8
03-PreAnalysisAutomation-Linux.ps1
in sample-UpdateManagement/PowerShell/AutomatedComplianceReporting
48 - 8
04-PreAnalysisAutomation-Windows.ps1
in sample-UpdateManagement/PowerShell/AutomatedComplianceReporting
47 - 8
B2BSync_CustomAttributes.ps1
in psh-B2B-two-tenant-sync
155 - 7
WindowsRollback.ps1
in sample-UpdateManagement/PowerShell/AzureAutomationRunbooks/RollbackPatches
41 - 7
02-UpdateAgentReadiness.ps1
in sample-UpdateManagement/PowerShell/UpdateAgentReadiness
58 - 7
BlobSync.ps1
in psh-BlobDataSync-Workflow
115 - 6
GetArmLimits.ps1
in psh-GetArmLimitsViaAPI
49 - 6
csl
Windows-PreAnalysis.csl
in sample-UpdateManagement/Kusto/Pre-Analysis
43 - 6
02-SchedTask-ADDSSecurityGroups.ps1
in sample-UpdateManagement/PowerShell/ADDS
50 - 6
01-BearerToken.ps1
in sample-UpdateManagement/PowerShell/AutomatedComplianceReporting
43 - 6
7Zip.ps1
in sample-UpdateManagement/PowerShell/AzureAutomationRunbooks/3rdPartyPatching
50 - 6
JRE.ps1
in sample-UpdateManagement/PowerShell/AzureAutomationRunbooks/3rdPartyPatching
50 - 6
VNC.ps1
in sample-UpdateManagement/PowerShell/AzureAutomationRunbooks/3rdPartyPatching
50 - 6
WinZip.ps1
in sample-UpdateManagement/PowerShell/AzureAutomationRunbooks/3rdPartyPatching
50 - 6
Wireshark.ps1
in sample-UpdateManagement/PowerShell/AzureAutomationRunbooks/3rdPartyPatching
50 - 6