microsoft / MSLab
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 94 files with 22,898 lines of code.
    • 4 very long files (5,213 lines of code)
    • 13 long files (9,416 lines of code)
    • 17 medium size files (5,460 lines of codeclsfd_ftr_w_mp_ins)
    • 10 small files (1,489 lines of code)
    • 50 very small files (1,320 lines of code)
22% | 41% | 23% | 6% | 5%
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
ps123% | 41% | 24% | 5% | 5%
psd10% | 0% | 0% | 73% | 26%
yml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
Scripts72% | 0% | 18% | 9% | 0%
Scenarios/AzSHCI and MDT99% | 0% | 0% | 0% | <1%
Scenarios/Exploring new features in 21H299% | 0% | 0% | 0% | <1%
Scenarios/AzSHCI Deployment0% | 99% | 0% | 0% | <1%
Tools0% | 54% | 18% | 7% | 20%
Scenarios/S2D Converged0% | 98% | 0% | 0% | 1%
Scenarios/S2D Hyperconverged0% | 97% | 0% | 0% | 2%
Scenarios/Securing LDAP0% | 99% | 0% | 0% | <1%
Scenarios/S2D and Grafana0% | 83% | 0% | 0% | 16%
Scenarios/AzSHCI and Kubernetes0% | 99% | 0% | 0% | <1%
Scenarios/AzSHCI and Bare Metal with SCVMM0% | 99% | 0% | 0% | <1%
Scenarios/S2D and Bare Metal with SCVMM0% | 100% | 0% | 0% | 0%
Scenarios/S2D and SDN0% | 97% | 0% | 0% | 2%
Scenarios/AzSHCI and Stretch Cluster0% | 98% | 0% | 0% | 1%
Scenarios/SDNExpress with SCVMM0% | 74% | 0% | 25% | 0%
Scenarios/AzSHCI and AVD0% | 100% | 0% | 0% | 0%
Scenarios/StorageReplica0% | 0% | 67% | 23% | 9%
Scenarios/AzSHCI and Migration from Windows Server0% | 0% | 96% | 0% | 3%
Scenarios/AzSHCI and Azure Benefits0% | 0% | 98% | 0% | 1%
Scenarios/S2D and Cloud Services Onboarding0% | 0% | 98% | 0% | 1%
Scenarios/SDNExpress with Windows Admin Center0% | 0% | 83% | 0% | 16%
Scenarios/Rolling Cluster Upgrade0% | 0% | 100% | 0% | 0%
Scenarios/AzSHCI and Arc-enabled VMs0% | 0% | 97% | 0% | 2%
Scenarios/Hyper-V with Shared Storage0% | 0% | 99% | 0% | <1%
Scenarios/TestingCSVRedirection0% | 0% | 97% | 0% | 2%
Scenarios/Azure Arc for Servers0% | 0% | 98% | 0% | 1%
Scenarios/Securing Admin Workstation0% | 0% | 97% | 0% | 2%
Scenarios/S2D and Azure Arc0% | 0% | 97% | 0% | 2%
Scenarios/S2D and SCVMM in large Datacenters0% | 0% | 100% | 0% | 0%
Scenarios/Azure Image Builder0% | 0% | 0% | 100% | 0%
Scenarios/S2D and Direct Connectivity0% | 0% | 0% | 98% | 1%
Scenarios/BitLocker on S2D cluster0% | 0% | 0% | 80% | 19%
Scenarios/AzSHCI and VMFleet0% | 0% | 0% | 100% | 0%
Scenarios/Running WSLab in Azure0% | 0% | 0% | 0% | 100%
Scenarios/StorageMigrationService0% | 0% | 0% | 0% | 100%
Scenarios/FSLogix0% | 0% | 0% | 0% | 100%
Scenarios/AppAttach0% | 0% | 0% | 0% | 100%
Scenarios/S2D on AWS and VMware0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
Scenarios/S2D and Validate-DCB0% | 0% | 0% | 0% | 100%
Scenarios/Testing Nano performance0% | 0% | 0% | 0% | 100%
Scenarios/LAPS on Nano0% | 0% | 0% | 0% | 100%
Docs0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
Scenario.ps1
in Scenarios/AzSHCI and MDT
1530 -
3_Deploy.ps1
in Scripts
1451 -
Scenario.ps1
in Scenarios/Exploring new features in 21H2
1172 -
2_CreateParentDisks.ps1
in Scripts
1060 -
Scenario.ps1
in Scenarios/AzSHCI Deployment
982 -
Convert-WindowsImage.ps1
in Tools
918 -
Scenario.ps1
in Scenarios/S2D Converged
813 -
Scenario.ps1
in Scenarios/S2D Hyperconverged
784 -
Scenario.ps1
in Scenarios/Securing LDAP
751 -
Scenario.ps1
in Scenarios/S2D and Grafana
719 -
Scenario.ps1
in Scenarios/AzSHCI and Bare Metal with SCVMM
715 -
Scenario.ps1
in Scenarios/AzSHCI and Kubernetes
715 -
scenario.ps1
in Scenarios/S2D and Bare Metal with SCVMM
715 -
scenario.ps1
in Scenarios/S2D and SDN
633 -
Scenario.ps1
in Scenarios/AzSHCI and Stretch Cluster
564 -
Scenario.ps1
in Scenarios/SDNExpress with SCVMM
558 -
Scenario.ps1
in Scenarios/AzSHCI and AVD
549 -
scenario.ps1
in Scenarios/StorageReplica/S2D_to_S2D_Complex
479 -
Scenario.ps1
in Scenarios/AzSHCI and Migration from Windows Server
468 -
Scenario.ps1
in Scenarios/AzSHCI and Azure Benefits
460 -
scenario.ps1
in Scenarios/S2D and Cloud Services Onboarding
353 -
Scenario.ps1
in Scenarios/SDNExpress with Windows Admin Center
346 -
Scenario.ps1
in Scenarios/Rolling Cluster Upgrade/RCU and Hyper-V Replica
332 -
Scenario.ps1
in Scenarios/AzSHCI and Arc-enabled VMs
317 -
0_Shared.ps1
in Scripts
316 -
LabConfig.ps1
in Scripts
313 -
CreateParentDisk.ps1
in Tools
310 -
Scenario.ps1
in Scenarios/Hyper-V with Shared Storage
307 -
Scenario.ps1
in Scenarios/StorageReplica/Stretch_Cluster
295 -
Scenario.ps1
in Scenarios/TestingCSVRedirection
249 -
Scenario.ps1
in Scenarios/Azure Arc for Servers
242 -
Scenario.ps1
in Scenarios/Securing Admin Workstation
240 -
scenario.ps1
in Scenarios/S2D and Azure Arc
228 -
Scenario.ps1
in Scenarios/S2D and SCVMM in large Datacenters
205 -
1_Prereq.ps1
in Scripts
189 -
Fabricconfig.psd1
in Scenarios/SDNExpress with SCVMM
188 -
Scenario.ps1
in Scenarios/Azure Image Builder
174 -
Scenario.ps1
in Scenarios/StorageReplica/S2D_to_S2D
159 -
scenario.ps1
in Scenarios/S2D and Direct Connectivity
158 -
EnableBitlockerOnS2D.ps1
in Scenarios/BitLocker on S2D cluster
145 -
Cleanup.ps1
in Scripts
126 -
Scenario.ps1
in Scenarios/AzSHCI and VMFleet
122 -
CreateVMFleetDisk.ps1
in Tools
122 -
Scenario.ps1
in Scenarios/StorageReplica/Cluster_to_Cluster
106 -
Scenario.ps1
in Scenarios/StorageReplica/Server_to_server
88 -
telegraf.ps1
in Scenarios/S2D and Grafana
85 -
PatchParentDisks.ps1
in Tools
85 -
scenario.ps1
in Scenarios/StorageMigrationService
82 -
3_SCVMM_Install.ps1
in Tools
74 -
1_SQL_Install.ps1
in Tools
72 -
Files With Most Units (Top 0)
File# lines# units
Files With Long Lines (Top 20)

There are 92 files with lines longer than 120 characters. In total, there are 2721 long lines.

File# lines# units# long lines
Scenario.ps1
in Scenarios/Exploring new features in 21H2
1172 - 210
Scenario.ps1
in Scenarios/AzSHCI Deployment
982 - 162
Scenario.ps1
in Scenarios/S2D Hyperconverged
784 - 148
Scenario.ps1
in Scenarios/S2D Converged
813 - 139
Scenario.ps1
in Scenarios/AzSHCI and MDT
1530 - 130
3_Deploy.ps1
in Scripts
1451 - 120
Scenario.ps1
in Scenarios/AzSHCI and Bare Metal with SCVMM
715 - 102
scenario.ps1
in Scenarios/S2D and Bare Metal with SCVMM
715 - 102
LabConfig.ps1
in Scripts
313 - 95
Scenario.ps1
in Scenarios/AzSHCI and Kubernetes
715 - 81
scenario.ps1
in Scenarios/StorageReplica/S2D_to_S2D_Complex
479 - 80
Scenario.ps1
in Scenarios/S2D and Grafana
719 - 77
scenario.ps1
in Scenarios/S2D and SDN
633 - 75
Scenario.ps1
in Scenarios/AzSHCI and Stretch Cluster
564 - 69
Scenario.ps1
in Scenarios/AzSHCI and AVD
549 - 68
Scenario.ps1
in Scenarios/Securing LDAP
751 - 67
scenario.ps1
in Scenarios/S2D and Cloud Services Onboarding
353 - 58
Scenario.ps1
in Scenarios/AzSHCI and Migration from Windows Server
468 - 57
Scenario.ps1
in Scenarios/Hyper-V with Shared Storage
307 - 54
Scenario.ps1
in Scenarios/SDNExpress with SCVMM
558 - 54