microsoft / AaronLocker
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 30 files with 5,733 lines of code.
    • 0 very long files (0 lines of code)
    • 2 long files (1,428 lines of code)
    • 9 medium size files (3,077 lines of codeclsfd_ftr_w_mp_ins)
    • 6 small files (823 lines of code)
    • 13 very small files (405 lines of code)
0% | 24% | 53% | 14% | 7%
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
ps10% | 24% | 53% | 14% | 7%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
AaronLocker0% | 36% | 56% | 4% | 2%
AaronLocker/Support0% | 25% | 61% | 10% | 2%
AaronLocker/CustomizationInputs0% | 0% | 29% | 49% | 21%
AaronLocker/LocalConfiguration0% | 0% | 0% | 0% | 100%
Longest Files (Top 30)
File# lines# units
Get-AppLockerEvents.ps1
in AaronLocker
790 -
Create-Policies-AppLocker.ps1
in AaronLocker/Support
638 -
BuildRulesForFilesInWritableDirectories.ps1
in AaronLocker/Support
474 -
Scan-Directories.ps1
in AaronLocker
464 -
SupportFunctions.ps1
in AaronLocker/Support
457 -
Create-Policies-WDAC.ps1
in AaronLocker/Support
429 -
Compare-Policies.ps1
in AaronLocker
323 -
WDACTrustedSigners-MsvcMfc.ps1
in AaronLocker/CustomizationInputs
267 -
Generate-EventWorkbook.ps1
in AaronLocker
229 -
Create-Policies.ps1
in AaronLocker
221 -
Enum-WritableDirs.ps1
in AaronLocker/Support
213 -
TrustedSigners-MsvcMfc.ps1
in AaronLocker/CustomizationInputs
199 -
ExportPolicy-ToCsv.ps1
in AaronLocker/Support
165 -
TrustedSigners.ps1
in AaronLocker/CustomizationInputs
144 -
WDACTrustedSigners.ps1
in AaronLocker/CustomizationInputs
107 -
ExportPolicy-ToExcel.ps1
in AaronLocker
107 -
Config.ps1
in AaronLocker/Support
101 -
UnsafePathsToBuildRulesFor.ps1
in AaronLocker/CustomizationInputs
72 -
Get-AaronLockerTimestamp.ps1
in AaronLocker/Support
54 -
Save-WEFEvents.ps1
in AaronLocker
48 -
GetSafePathsToAllow.ps1
in AaronLocker/CustomizationInputs
47 -
ApplyPolicyToLocalGPO.ps1
in AaronLocker/LocalConfiguration
37 -
GetExeFilesToDenyList.ps1
in AaronLocker/CustomizationInputs
36 -
ConfigureForAppLocker.ps1
in AaronLocker/LocalConfiguration
35 -
HashRuleData.ps1
in AaronLocker/CustomizationInputs
24 -
KnownAdmins.ps1
in AaronLocker/CustomizationInputs
16 -
DownloadAccesschk.ps1
in AaronLocker/Support
12 -
ClearLocalAppLockerPolicy.ps1
in AaronLocker/LocalConfiguration
10 -
ClearApplockerLogs.ps1
in AaronLocker/LocalConfiguration
9 -
Set-OutputEncodingToUnicode.ps1
in AaronLocker/Support
5 -
Files With Most Units (Top 0)
File# lines# units
Files With Long Lines (Top 20)

There are 24 files with lines longer than 120 characters. In total, there are 377 long lines.

File# lines# units# long lines
Get-AppLockerEvents.ps1
in AaronLocker
790 - 55
BuildRulesForFilesInWritableDirectories.ps1
in AaronLocker/Support
474 - 36
Create-Policies-WDAC.ps1
in AaronLocker/Support
429 - 36
Create-Policies.ps1
in AaronLocker
221 - 34
Compare-Policies.ps1
in AaronLocker
323 - 27
Create-Policies-AppLocker.ps1
in AaronLocker/Support
638 - 26
Generate-EventWorkbook.ps1
in AaronLocker
229 - 22
Scan-Directories.ps1
in AaronLocker
464 - 21
Enum-WritableDirs.ps1
in AaronLocker/Support
213 - 18
SupportFunctions.ps1
in AaronLocker/Support
457 - 18
Config.ps1
in AaronLocker/Support
101 - 17
UnsafePathsToBuildRulesFor.ps1
in AaronLocker/CustomizationInputs
72 - 12
ExportPolicy-ToCsv.ps1
in AaronLocker/Support
165 - 9
TrustedSigners.ps1
in AaronLocker/CustomizationInputs
144 - 8
KnownAdmins.ps1
in AaronLocker/CustomizationInputs
16 - 6
WDACTrustedSigners.ps1
in AaronLocker/CustomizationInputs
107 - 6
GetSafePathsToAllow.ps1
in AaronLocker/CustomizationInputs
47 - 5
Get-AaronLockerTimestamp.ps1
in AaronLocker/Support
54 - 5
TrustedSigners-MsvcMfc.ps1
in AaronLocker/CustomizationInputs
199 - 4
WDACTrustedSigners-MsvcMfc.ps1
in AaronLocker/CustomizationInputs
267 - 4