microsoft / VSSDK-Extensibility-Samples
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 441 files with 30,291 lines of code.
    • 0 very long files (0 lines of code)
    • 8 long files (6,634 lines of code)
    • 18 medium size files (6,112 lines of codeclsfd_ftr_w_mp_ins)
    • 43 small files (5,736 lines of code)
    • 372 very small files (11,809 lines of code)
0% | 21% | 20% | 18% | 38%
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% | 22% | 19% | 19% | 38%
cpp0% | 65% | 34% | 0% | 0%
h0% | 0% | 65% | 34% | 0%
xaml0% | 0% | 0% | 52% | 47%
vsixmanifest0% | 0% | 0% | 0% | 100%
vstemplate0% | 0% | 0% | 0% | 100%
ps10% | 0% | 0% | 0% | 100%
yml0% | 0% | 0% | 0% | 100%
targets0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
ArchivedSamples0% | 40% | 12% | 14% | 33%
WPFDesigner_XML0% | 50% | 17% | 16% | 15%
Code_Sweep0% | 13% | 43% | 24% | 18%
Editor_With_Toolbox0% | 67% | 0% | 12% | 19%
SqliteVisualizer0% | 0% | 75% | 0% | 24%
ROOT0% | 0% | 53% | 15% | 31%
Combo_Box0% | 0% | 85% | 0% | 14%
ErrorList0% | 0% | 33% | 36% | 30%
LanguageServerProtocol0% | 0% | 29% | 13% | 56%
AsyncCompletion0% | 0% | 0% | 76% | 23%
CodeLensOopSample0% | 0% | 0% | 55% | 44%
Ook_Language_Integration0% | 0% | 0% | 25% | 74%
Intra-text_Adornment0% | 0% | 0% | 28% | 71%
Highlight_Word0% | 0% | 0% | 64% | 35%
Open_Folder_Extensibility0% | 0% | 0% | 38% | 61%
Options0% | 0% | 0% | 44% | 55%
MSDNSearch0% | 0% | 0% | 33% | 66%
Backwards_Compatible_AsyncPackage_20130% | 0% | 0% | 37% | 62%
Diff_Classifier0% | 0% | 0% | 45% | 54%
Menu_And_Commands0% | 0% | 0% | 47% | 52%
Reference_Services0% | 0% | 0% | 0% | 100%
LightBulb0% | 0% | 0% | 0% | 100%
Backwards_Compatible_Editor_Command0% | 0% | 0% | 0% | 100%
Typing_Speed_Meter0% | 0% | 0% | 0% | 100%
OperationProgress0% | 0% | 0% | 0% | 100%
Todo_Classification0% | 0% | 0% | 0% | 100%
Windows_Forms_Controls_Installer0% | 0% | 0% | 0% | 100%
AsyncToolWindow0% | 0% | 0% | 0% | 100%
AsyncPackageMigration0% | 0% | 0% | 0% | 100%
SingleFileGenerator0% | 0% | 0% | 0% | 100%
VisibilityConstraints0% | 0% | 0% | 0% | 100%
Caret_Fish_Eye0% | 0% | 0% | 0% | 100%
AsyncQuickInfo0% | 0% | 0% | 0% | 100%
CustomCommand0% | 0% | 0% | 0% | 100%
Completion_Tooltip_Customization0% | 0% | 0% | 0% | 100%
SolutionLoadEvents0% | 0% | 0% | 0% | 100%
ProtocolHandler0% | 0% | 0% | 0% | 100%
TextmateGrammar0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
SccProviderService.cs
in ArchivedSamples/Source_Code_Control_Provider/C#
983 58
SccProviderService.cs
in ArchivedSamples/Source_Control_Provider_Status_Bar_Integration/C#
952 56
SccProvider.cs
in ArchivedSamples/Source_Control_Provider_Status_Bar_Integration/C#
929 43
SccProvider.cs
in ArchivedSamples/Source_Code_Control_Provider/C#
917 43
ViewModel.cs
in WPFDesigner_XML/WPFDesigner_XML
831 17
VsUIDpiHelper.cpp
in ArchivedSamples/High-DPI_Images_Icons/Cpp
745 68
MatchFinder.cs
in Code_Sweep/C#/Scanner
689 34
EditorPane.cs
in Editor_With_Toolbox/CS
588 11
Task.cs
in Code_Sweep/C#/VsPackage
471 39
TaskProvider.cs
in Code_Sweep/C#/VsPackage
469 40
SqliteFuncEvalQuery.cs
in SqliteVisualizer/SqliteVisualizer
409 11
vsdpiawareness.h
in ArchivedSamples/High-DPI_Images_Icons/Cpp
402 34
VsUIGdiplusImage.cpp
in ArchivedSamples/High-DPI_Images_Icons/Cpp
395 23
VisualizerWindowViewModel.cs
in SqliteVisualizer/SqliteVisualizer
386 8
VsPkg.cs
in Combo_Box/C#
370 10
BuildManager.cs
in Code_Sweep/C#/VsPackage
368 18
Utilities.cs
in Code_Sweep/C#/Utilities
345 14
ConfigDialog.cs
in Code_Sweep/C#/VsPackage
330 23
SourceCodeGenerator.cs
in ArchivedSamples/Single_File_Generator/C#
313 8
Event.cs
in RunningDocumentTable(RDT)_Event_Explorer/C#/Helper
304 14
EditorPane.cs
in WPFDesigner_XML/WPFDesigner_XML
293 15
BackgroundScanner.cs
in Code_Sweep/C#/VsPackage
278 13
RdtEventControl.cs
in RunningDocumentTable(RDT)_Event_Explorer/C#
264 19
ProgressBarPackage.cs
in ArchivedSamples/Build_Progress_Bar/C#/BuildProgressBar
250 4
SpellChecker.cs
in ErrorList/C#
240 8
LanguageServer.cs
in LanguageServerProtocol/LanguageServerLibrary
225 17
SampleCompletionSource.cs
in AsyncCompletion/src/JsonElementCompletion
192 8
GitCommitDataPointProvider.cs
in CodeLensOopSample/src/CodeLensOopProvider
186 8
VsPkg.cs
in Code_Sweep/C#/VsPackage
174 11
Scanner.cs
in Code_Sweep/C#/Scanner
172 9
CompletionController.cs
in Ook_Language_Integration/C#/Intellisense
163 9
Options.cs
in RunningDocumentTable(RDT)_Event_Explorer/C#/Helper
160 1
ElementCatalog.cs
in AsyncCompletion/src/JsonElementCompletion
157 1
DataStreamFromComStream.cs
in ArchivedSamples/Source_Code_Control_Provider/C#
154 8
DataStreamFromComStream.cs
in ArchivedSamples/Source_Control_Provider_Status_Bar_Integration/C#
154 8
OptionsCompositeControl.cs
in ArchivedSamples/Options_Page/C#
151 6
ScannerTask.cs
in Code_Sweep/C#/BuildTask
150 5
NonMSBuildProjectConfigStore.cs
in Code_Sweep/C#/VsPackage
148 10
IntraTextAdornmentTagger.cs
in Intra-text_Adornment/C#/Support
147 8
HighlightWordTagger.cs
in Highlight_Word/C#
144 8
EditorFactory.cs
in WPFDesigner_XML/WPFDesigner_XML
140 8
SccProviderStorage.cs
in ArchivedSamples/Source_Code_Control_Provider/C#
139 8
SccProviderStorage.cs
in ArchivedSamples/Source_Control_Provider_Status_Bar_Integration/C#
139 8
IgnoreInstance.cs
in Code_Sweep/C#/BuildTask
139 7
xaml
ListViewStyle.xaml
in ArchivedSamples/WPF_Toolwindow/C#
136 -
SpellingErrorsSnapshot.cs
in ErrorList/C#
136 5
ProjectUtilities.cs
in Code_Sweep/C#/VsPackage
131 8
xaml
VsDesignerControl.xaml
in WPFDesigner_XML/WPFDesigner_XML
131 -
BasicSccProvider.cs
in ArchivedSamples/Basic_Source_Control_Provider/C#
130 8
ProjectConfigStore.cs
in Code_Sweep/C#/VsPackage
129 10
Files With Most Units (Top 20)
File# lines# units
VsUIDpiHelper.cpp
in ArchivedSamples/High-DPI_Images_Icons/Cpp
745 68
SccProviderService.cs
in ArchivedSamples/Source_Code_Control_Provider/C#
983 58
SccProviderService.cs
in ArchivedSamples/Source_Control_Provider_Status_Bar_Integration/C#
952 56
SccProvider.cs
in ArchivedSamples/Source_Code_Control_Provider/C#
917 43
SccProvider.cs
in ArchivedSamples/Source_Control_Provider_Status_Bar_Integration/C#
929 43
TaskProvider.cs
in Code_Sweep/C#/VsPackage
469 40
Task.cs
in Code_Sweep/C#/VsPackage
471 39
vsdpiawareness.h
in ArchivedSamples/High-DPI_Images_Icons/Cpp
402 34
MatchFinder.cs
in Code_Sweep/C#/Scanner
689 34
VsUIGdiplusImage.cpp
in ArchivedSamples/High-DPI_Images_Icons/Cpp
395 23
ConfigDialog.cs
in Code_Sweep/C#/VsPackage
330 23
RdtEventControl.cs
in RunningDocumentTable(RDT)_Event_Explorer/C#
264 19
BuildManager.cs
in Code_Sweep/C#/VsPackage
368 18
LanguageServer.cs
in LanguageServerProtocol/LanguageServerLibrary
225 17
ViewModel.cs
in WPFDesigner_XML/WPFDesigner_XML
831 17
EditorPane.cs
in WPFDesigner_XML/WPFDesigner_XML
293 15
Utilities.cs
in Code_Sweep/C#/Utilities
345 14
Event.cs
in RunningDocumentTable(RDT)_Event_Explorer/C#/Helper
304 14
BackgroundScanner.cs
in Code_Sweep/C#/VsPackage
278 13
VsPkg.cs
in Code_Sweep/C#/VsPackage
174 11
Files With Long Lines (Top 20)

There are 204 files with lines longer than 120 characters. In total, there are 960 long lines.

File# lines# units# long lines
SccProviderService.cs
in ArchivedSamples/Source_Control_Provider_Status_Bar_Integration/C#
952 56 49
SccProviderService.cs
in ArchivedSamples/Source_Code_Control_Provider/C#
983 58 45
SccProvider.cs
in ArchivedSamples/Source_Control_Provider_Status_Bar_Integration/C#
929 43 28
xaml
ListViewStyle.xaml
in ArchivedSamples/WPF_Toolwindow/C#
136 - 25
SccProvider.cs
in ArchivedSamples/Source_Code_Control_Provider/C#
917 43 24
VsPkg.cs
in Combo_Box/C#
370 10 20
xaml
VsDesignerControl.xaml
in WPFDesigner_XML/WPFDesigner_XML
131 - 20
MatchFinder.cs
in Code_Sweep/C#/Scanner
689 34 17
SampleCompletionSource.cs
in AsyncCompletion/src/JsonElementCompletion
192 8 16
VsUIDpiHelper.h
in ArchivedSamples/High-DPI_Images_Icons/Cpp
108 - 14
FxCopSuppressions.cs
in Diff_Classifier/C#/Properties
16 - 13
vsixmanifest
source.extension.vsixmanifest
in Backwards_Compatible_Editor_Command/src/CommandDefinition
24 - 10
BuildManager.cs
in Code_Sweep/C#/VsPackage
368 18 10
TaskProvider.cs
in Code_Sweep/C#/VsPackage
469 40 10
IntraTextAdornmentTagger.cs
in Intra-text_Adornment/C#/Support
147 8 10
EditorPane.cs
in Editor_With_Toolbox/CS
588 11 9
VisualizerWindowViewModel.cs
in SqliteVisualizer/SqliteVisualizer
386 8 9
VsUIDpiHelper.cpp
in ArchivedSamples/High-DPI_Images_Icons/Cpp
745 68 8
SourceCodeGenerator.cs
in ArchivedSamples/Single_File_Generator/C#
313 8 8
xaml
DynamicWindowWPFControl.xaml
in ArchivedSamples/WPF_Toolwindow/C#
51 - 8