microsoft / VSSDK-Analyzers
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 68 files with 3,103 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 1 medium size files (288 lines of codeclsfd_ftr_w_mp_ins)
    • 6 small files (991 lines of code)
    • 61 very small files (1,824 lines of code)
0% | 0% | 9% | 31% | 58%
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% | 18% | 53% | 28%
ps10% | 0% | 0% | 15% | 84%
yml0% | 0% | 0% | 0% | 100%
props0% | 0% | 0% | 0% | 100%
cmd0% | 0% | 0% | 0% | 100%
targets0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
src/Microsoft.VisualStudio.SDK.Analyzers0% | 0% | 23% | 51% | 25%
src/Microsoft.VisualStudio.SDK.Analyzers.CodeFixes0% | 0% | 0% | 59% | 40%
tools0% | 0% | 0% | 42% | 57%
azure-pipelines0% | 0% | 0% | 0% | 100%
azure-pipelines/artifacts0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
src/Microsoft.VisualStudio.SDK.Analyzers.CodeFixes/tools0% | 0% | 0% | 0% | 100%
azure-pipelines/variables0% | 0% | 0% | 0% | 100%
src0% | 0% | 0% | 0% | 100%
src/Microsoft.VisualStudio.SDK.Analyzers.CodeFixes/build0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
VSSDK007ThreadHelperJTFRunAsync.cs
in src/Microsoft.VisualStudio.SDK.Analyzers
288 11
VSSDK006CheckServicesExistAnalyzer.cs
in src/Microsoft.VisualStudio.SDK.Analyzers
200 6
VSSDK001DeriveFromAsyncPackageCodeFix.cs
in src/Microsoft.VisualStudio.SDK.Analyzers.CodeFixes
190 2
Types.cs
in src/Microsoft.VisualStudio.SDK.Analyzers
169 1
Utils.cs
in src/Microsoft.VisualStudio.SDK.Analyzers
169 11
Install-DotNetSdk.ps1
in tools
161 -
VSSDK003SupportAsyncToolWindowAnalyzer.cs
in src/Microsoft.VisualStudio.SDK.Analyzers
102 3
official.yml
in azure-pipelines
95 -
init.ps1
in root
89 -
VSSDK002PackageRegistrationMatchesBaseTypeAnalyzer.cs
in src/Microsoft.VisualStudio.SDK.Analyzers
82 2
Set-EnvVars.ps1
in tools
82 -
VSSDK004ProvideAutoLoadAttributeAnalyzer.cs
in src/Microsoft.VisualStudio.SDK.Analyzers
75 2
release.yml
in azure-pipelines
68 -
VSSDK006CheckServicesExistCodeFix.cs
in src/Microsoft.VisualStudio.SDK.Analyzers.CodeFixes
66 3
VSSDK002PackageRegistrationMatchesBaseTypeCodeFix.cs
in src/Microsoft.VisualStudio.SDK.Analyzers.CodeFixes
64 2
Install-NuGetCredProvider.ps1
in tools
61 -
Get-SymbolFiles.ps1
in azure-pipelines
60 -
VSSDK001DeriveFromAsyncPackageAnalyzer.cs
in src/Microsoft.VisualStudio.SDK.Analyzers
56 2
Namespaces.cs
in src/Microsoft.VisualStudio.SDK.Analyzers
53 -
props
Directory.Build.props
in root
51 -
uninstall.ps1
in src/Microsoft.VisualStudio.SDK.Analyzers.CodeFixes/tools
51 -
_stage_all.ps1
in azure-pipelines/artifacts
50 -
vs-insertion.yml
in azure-pipelines
49 -
VSSDK005UseJoinableTaskContextSingletonAnalyzer.cs
in src/Microsoft.VisualStudio.SDK.Analyzers
49 2
Install-NuGetPackage.ps1
in azure-pipelines
47 -
install.ps1
in src/Microsoft.VisualStudio.SDK.Analyzers.CodeFixes/tools
45 -
_all.ps1
in azure-pipelines/artifacts
42 -
dotnet.yml
in azure-pipelines
41 -
build.yml
in azure-pipelines
40 -
Check-DotNetRuntime.ps1
in tools
37 -
Variables.ps1
in azure-pipelines/artifacts
36 -
Convert-PDB.ps1
in azure-pipelines
34 -
Check-DotNetSdk.ps1
in tools
34 -
publish-codecoverage.yml
in azure-pipelines
27 -
microbuild.after.yml
in azure-pipelines
26 -
_pipelines.ps1
in azure-pipelines/variables
22 -
azure-pipelines.yml
in root
19 -
Get-NuGetTool.ps1
in azure-pipelines
19 -
Get-nbgv.ps1
in azure-pipelines
19 -
coverageResults.ps1
in azure-pipelines/artifacts
19 -
cmd
init.cmd
in root
17 -
install-dependencies.yml
in azure-pipelines
15 -
Get-ProcDump.ps1
in azure-pipelines
13 -
testResults.ps1
in azure-pipelines/artifacts
12 -
InsertConfigValues.ps1
in azure-pipelines/variables
12 -
Get-TempToolsPath.ps1
in azure-pipelines
11 -
VSInsertion.ps1
in azure-pipelines/artifacts
11 -
SignType.ps1
in azure-pipelines/variables
11 -
build_logs.ps1
in azure-pipelines/artifacts
10 -
deployables.ps1
in azure-pipelines/artifacts
10 -
Files With Most Units (Top 12)
File# lines# units
Utils.cs
in src/Microsoft.VisualStudio.SDK.Analyzers
169 11
VSSDK007ThreadHelperJTFRunAsync.cs
in src/Microsoft.VisualStudio.SDK.Analyzers
288 11
VSSDK006CheckServicesExistAnalyzer.cs
in src/Microsoft.VisualStudio.SDK.Analyzers
200 6
VSSDK006CheckServicesExistCodeFix.cs
in src/Microsoft.VisualStudio.SDK.Analyzers.CodeFixes
66 3
VSSDK003SupportAsyncToolWindowAnalyzer.cs
in src/Microsoft.VisualStudio.SDK.Analyzers
102 3
VSSDK001DeriveFromAsyncPackageCodeFix.cs
in src/Microsoft.VisualStudio.SDK.Analyzers.CodeFixes
190 2
VSSDK002PackageRegistrationMatchesBaseTypeCodeFix.cs
in src/Microsoft.VisualStudio.SDK.Analyzers.CodeFixes
64 2
VSSDK001DeriveFromAsyncPackageAnalyzer.cs
in src/Microsoft.VisualStudio.SDK.Analyzers
56 2
VSSDK002PackageRegistrationMatchesBaseTypeAnalyzer.cs
in src/Microsoft.VisualStudio.SDK.Analyzers
82 2
VSSDK004ProvideAutoLoadAttributeAnalyzer.cs
in src/Microsoft.VisualStudio.SDK.Analyzers
75 2
VSSDK005UseJoinableTaskContextSingletonAnalyzer.cs
in src/Microsoft.VisualStudio.SDK.Analyzers
49 2
Types.cs
in src/Microsoft.VisualStudio.SDK.Analyzers
169 1
Files With Long Lines (Top 20)

There are 36 files with lines longer than 120 characters. In total, there are 234 long lines.

File# lines# units# long lines
VSSDK006CheckServicesExistAnalyzer.cs
in src/Microsoft.VisualStudio.SDK.Analyzers
200 6 42
VSSDK001DeriveFromAsyncPackageCodeFix.cs
in src/Microsoft.VisualStudio.SDK.Analyzers.CodeFixes
190 2 29
Types.cs
in src/Microsoft.VisualStudio.SDK.Analyzers
169 1 18
VSSDK007ThreadHelperJTFRunAsync.cs
in src/Microsoft.VisualStudio.SDK.Analyzers
288 11 17
VSSDK002PackageRegistrationMatchesBaseTypeAnalyzer.cs
in src/Microsoft.VisualStudio.SDK.Analyzers
82 2 15
VSSDK003SupportAsyncToolWindowAnalyzer.cs
in src/Microsoft.VisualStudio.SDK.Analyzers
102 3 15
VSSDK004ProvideAutoLoadAttributeAnalyzer.cs
in src/Microsoft.VisualStudio.SDK.Analyzers
75 2 13
Install-DotNetSdk.ps1
in tools
161 - 12
init.ps1
in root
89 - 9
VSSDK002PackageRegistrationMatchesBaseTypeCodeFix.cs
in src/Microsoft.VisualStudio.SDK.Analyzers.CodeFixes
64 2 9
Utils.cs
in src/Microsoft.VisualStudio.SDK.Analyzers
169 11 9
VSSDK006CheckServicesExistCodeFix.cs
in src/Microsoft.VisualStudio.SDK.Analyzers.CodeFixes
66 3 6
VSSDK001DeriveFromAsyncPackageAnalyzer.cs
in src/Microsoft.VisualStudio.SDK.Analyzers
56 2 5
Set-EnvVars.ps1
in tools
82 - 4
dotnet.yml
in azure-pipelines
41 - 3
Install-NuGetCredProvider.ps1
in tools
61 - 3
props
Directory.Build.props
in root
51 - 2
Convert-PDB.ps1
in azure-pipelines
34 - 2
Get-SymbolFiles.ps1
in azure-pipelines
60 - 2
_pipelines.ps1
in azure-pipelines/variables
22 - 2