microsoft / configmgr-hub
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 21 files with 3,306 lines of code.
    • 1 very long files (1,013 lines of code)
    • 1 long files (821 lines of code)
    • 1 medium size files (217 lines of codeclsfd_ftr_w_mp_ins)
    • 5 small files (745 lines of code)
    • 13 very small files (510 lines of code)
30% | 24% | 6% | 22% | 15%
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
ps131% | 25% | 6% | 23% | 13%
yml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
objects/Script31% | 25% | 6% | 23% | 13%
pipelines0% | 0% | 0% | 0% | 100%
Longest Files (Top 21)
File# lines# units
Start-WindowsCleanup.ps1
in objects/Script
1013 -
Get-Windows11Compatibility.ps1
in objects/Script
821 -
Get-LenovoOdometerData.ps1
in objects/Script
217 -
Get-RebootHistory.ps1
in objects/Script
183 -
Get-ScheduledTaskInfo.ps1
in objects/Script
155 -
Update - Dell BIOS.ps1
in objects/Script
154 -
Fix Windows Update Boot Loop.ps1
in objects/Script
139 -
Set-CM Client Logging Option.ps1
in objects/Script
114 -
LocalAdminGroup.ps1
in objects/Script
87 -
secure-scan.yml
in pipelines
84 -
Trigger Client Baseline Evaluation.ps1
in objects/Script
60 -
Enable or Disable Local Administrator Account.ps1
in objects/Script
58 -
Invoke-Command.ps1
in objects/Script
56 -
Update logged on user GPOs.ps1
in objects/Script
47 -
2016orlater-InstallWSUSwPreloadedSUSDB.ps1
in objects/Script
35 -
2012R2InstallWSUSwPreloadedSUSDB.ps1
in objects/Script
30 -
Copy Missing File to Device.ps1
in objects/Script
29 -
Detect Restart.ps1
in objects/Script
18 -
Add local administrator.ps1
in objects/Script
2 -
Remove local admin.ps1
in objects/Script
2 -
Rename Computer.ps1
in objects/Script
2 -
Files With Most Units (Top 0)
File# lines# units
Files With Long Lines (Top 15)

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

File# lines# units# long lines
Start-WindowsCleanup.ps1
in objects/Script
1013 - 79
Update - Dell BIOS.ps1
in objects/Script
154 - 22
Get-RebootHistory.ps1
in objects/Script
183 - 21
Fix Windows Update Boot Loop.ps1
in objects/Script
139 - 11
Get-LenovoOdometerData.ps1
in objects/Script
217 - 8
Get-Windows11Compatibility.ps1
in objects/Script
821 - 6
2012R2InstallWSUSwPreloadedSUSDB.ps1
in objects/Script
30 - 5
2016orlater-InstallWSUSwPreloadedSUSDB.ps1
in objects/Script
35 - 5
Set-CM Client Logging Option.ps1
in objects/Script
114 - 4
Detect Restart.ps1
in objects/Script
18 - 3
Enable or Disable Local Administrator Account.ps1
in objects/Script
58 - 1
Get-ScheduledTaskInfo.ps1
in objects/Script
155 - 1
Invoke-Command.ps1
in objects/Script
56 - 1
LocalAdminGroup.ps1
in objects/Script
87 - 1
Trigger Client Baseline Evaluation.ps1
in objects/Script
60 - 1