microsoft / vssetup.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 32 files with 1,607 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 0 medium size files (0 lines of codeclsfd_ftr_w_mp_ins)
    • 5 small files (644 lines of code)
    • 27 very small files (963 lines of code)
0% | 0% | 0% | 40% | 59%
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
cs0% | 0% | 0% | 33% | 66%
yml0% | 0% | 0% | 81% | 18%
ps10% | 0% | 0% | 100% | 0%
ps1xml0% | 0% | 0% | 0% | 100%
targets0% | 0% | 0% | 0% | 100%
psd10% | 0% | 0% | 0% | 100%
psm10% | 0% | 0% | 0% | 100%
cmd0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
src/VSSetup.PowerShell/PowerShell0% | 0% | 0% | 54% | 45%
src/VSSetup.PowerShell0% | 0% | 0% | 20% | 79%
build0% | 0% | 0% | 77% | 22%
tools0% | 0% | 0% | 96% | 3%
ROOT0% | 0% | 0% | 0% | 100%
src/VSSetup.PowerShell/Properties0% | 0% | 0% | 0% | 100%
docker0% | 0% | 0% | 0% | 100%
Longest Files (Top 32)
File# lines# units
Instance.cs
in src/VSSetup.PowerShell
182 2
build.yml
in build
132 -
test.ps1
in tools
112 -
GetInstanceCommand.cs
in src/VSSetup.PowerShell/PowerShell
110 5
InstanceAdapter.cs
in src/VSSetup.PowerShell/PowerShell
108 8
Utilities.cs
in src/VSSetup.PowerShell
94 6
Module.cs
in src/VSSetup.PowerShell
92 4
Extensions.cs
in src/VSSetup.PowerShell/PowerShell
67 3
VSSetup.types.ps1xml
in src/VSSetup.PowerShell
66 -
ReadOnlyDictionary.cs
in src/VSSetup.PowerShell
56 1
Lazy.cs
in src/VSSetup.PowerShell
52 1
InstanceComparer.cs
in src/VSSetup.PowerShell
47 2
SelectInstanceCommand.cs
in src/VSSetup.PowerShell/PowerShell
47 -
PackageReference.cs
in src/VSSetup.PowerShell
45 2
Extensions.cs
in src/VSSetup.PowerShell
42 4
VersionTable.cs
in src/VSSetup.PowerShell/PowerShell
42 2
NativeMethods.cs
in src/VSSetup.PowerShell
36 1
VSSetup.psd1
in src/VSSetup.PowerShell
30 -
Validate.cs
in src/VSSetup.PowerShell
29 3
PropertySet.cs
in src/VSSetup.PowerShell/PowerShell
27 3
targets
Transform.targets
in build
26 -
QueryFactory.cs
in src/VSSetup.PowerShell
25 1
Errors.cs
in src/VSSetup.PowerShell
20 1
SafeModuleHandle.cs
in src/VSSetup.PowerShell
19 2
PackageReferenceFactory.cs
in src/VSSetup.PowerShell
18 2
azure-pipelines.yml
in root
17 -
AssemblyInfo.cs
in src/VSSetup.PowerShell/Properties
17 -
targets
Version.targets
in build
13 -
docker-compose.debug.yml
in docker
13 -
FailedPackageReference.cs
in src/VSSetup.PowerShell
13 1
VSSetup.psm1
in src/VSSetup.PowerShell
6 -
cmd
test.cmd
in tools
4 -
Files With Most Units (Top 20)
File# lines# units
InstanceAdapter.cs
in src/VSSetup.PowerShell/PowerShell
108 8
Utilities.cs
in src/VSSetup.PowerShell
94 6
GetInstanceCommand.cs
in src/VSSetup.PowerShell/PowerShell
110 5
Extensions.cs
in src/VSSetup.PowerShell
42 4
Module.cs
in src/VSSetup.PowerShell
92 4
Extensions.cs
in src/VSSetup.PowerShell/PowerShell
67 3
PropertySet.cs
in src/VSSetup.PowerShell/PowerShell
27 3
Validate.cs
in src/VSSetup.PowerShell
29 3
Instance.cs
in src/VSSetup.PowerShell
182 2
InstanceComparer.cs
in src/VSSetup.PowerShell
47 2
PackageReference.cs
in src/VSSetup.PowerShell
45 2
PackageReferenceFactory.cs
in src/VSSetup.PowerShell
18 2
VersionTable.cs
in src/VSSetup.PowerShell/PowerShell
42 2
SafeModuleHandle.cs
in src/VSSetup.PowerShell
19 2
Errors.cs
in src/VSSetup.PowerShell
20 1
FailedPackageReference.cs
in src/VSSetup.PowerShell
13 1
Lazy.cs
in src/VSSetup.PowerShell
52 1
NativeMethods.cs
in src/VSSetup.PowerShell
36 1
QueryFactory.cs
in src/VSSetup.PowerShell
25 1
ReadOnlyDictionary.cs
in src/VSSetup.PowerShell
56 1
Files With Long Lines (Top 12)

There are 12 files with lines longer than 120 characters. In total, there are 28 long lines.

File# lines# units# long lines
test.ps1
in tools
112 - 5
build.yml
in build
132 - 4
Instance.cs
in src/VSSetup.PowerShell
182 2 4
targets
Version.targets
in build
13 - 2
Errors.cs
in src/VSSetup.PowerShell
20 1 2
Extensions.cs
in src/VSSetup.PowerShell/PowerShell
67 3 2
GetInstanceCommand.cs
in src/VSSetup.PowerShell/PowerShell
110 5 2
SelectInstanceCommand.cs
in src/VSSetup.PowerShell/PowerShell
47 - 2
ReadOnlyDictionary.cs
in src/VSSetup.PowerShell
56 1 2
targets
Transform.targets
in build
26 - 1
docker-compose.debug.yml
in docker
13 - 1
Module.cs
in src/VSSetup.PowerShell
92 4 1