microsoft / Windows-AppConsult-Samples-DesktopBridge
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 200 files with 13,626 lines of code.
    • 2 very long files (3,117 lines of code)
    • 1 long files (588 lines of code)
    • 7 medium size files (1,680 lines of codeclsfd_ftr_w_mp_ins)
    • 22 small files (3,376 lines of code)
    • 168 very small files (4,865 lines of code)
22% | 4% | 12% | 24% | 35%
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
aspx100% | 0% | 0% | 0% | 0%
cpp0% | 54% | 0% | 39% | 6%
xaml0% | 0% | 55% | 23% | 21%
vcxproj0% | 0% | 30% | 69% | 0%
h0% | 0% | 64% | 0% | 35%
cs0% | 0% | 0% | 29% | 70%
html0% | 0% | 0% | 100% | 0%
ps10% | 0% | 0% | 0% | 100%
filters0% | 0% | 0% | 0% | 100%
yml0% | 0% | 0% | 0% | 100%
vsixmanifest0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
UWPAPIsUsedFromUnityEXEApp95% | 0% | 0% | 0% | 4%
Docs-ContextMenuSample0% | 37% | 13% | 39% | 10%
Blog-WpfNetCore0% | 0% | 35% | 28% | 36%
Blog-AppTransition0% | 0% | 25% | 22% | 52%
Blog-WinRTComponent0% | 0% | 49% | 0% | 50%
Blog-OptionalPackages0% | 0% | 0% | 52% | 47%
Blog-ModernizationStory0% | 0% | 0% | 61% | 38%
Blog-PSF0% | 0% | 0% | 58% | 41%
Blog-SourceGenerator0% | 0% | 0% | 40% | 59%
Blog-AdvancedInstaller0% | 0% | 0% | 34% | 65%
Blog-Scripting0% | 0% | 0% | 0% | 100%
Blog-Sqlite0% | 0% | 0% | 0% | 100%
Blog-FIPs0% | 0% | 0% | 0% | 100%
MSIX-Shared-Storage-Folder0% | 0% | 0% | 0% | 100%
Blog-MSIXModificationPackages0% | 0% | 0% | 0% | 100%
Blog-AppInstallerWithActivation0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
aspx
DefaultWsdlHelpGenerator.aspx
in UWPAPIsUsedFromUnityEXEApp/UnityEXEApp/Appx/UnityEXEApp_Data/Mono/etc/mono/2.0
1589 -
aspx
DefaultWsdlHelpGenerator.aspx
in UWPAPIsUsedFromUnityEXEApp/UnityEXEApp/Appx/UnityEXEApp_Data/Mono/etc/mono/1.0
1528 -
RegisterExtension.cpp
in Docs-ContextMenuSample/ExplorerCommandVerb
588 56
xaml
Resources.xaml
in Blog-AppTransition/ExpenseIt/ExpenseItDemo
322 -
xaml
CreateExpenseReportDialogBox.xaml
in Blog-WpfNetCore/ExpenseIt/ExpenseItDemo
236 -
xaml
CreateExpenseReportDialogBox.xaml
in Blog-WpfNetCore/ExpenseItNetCore
236 -
vcxproj
Notifications.vcxproj
in Blog-WinRTComponent/WinRTComponent/Notifications
226 -
xaml
App.xaml
in Blog-WpfNetCore/ExpenseIt/ExpenseItDemo
226 -
xaml
App.xaml
in Blog-WpfNetCore/ExpenseItNetCore
226 -
ShellHelpers.h
in Docs-ContextMenuSample/ExplorerCommandVerb
208 17
FormDynamic.Designer.cs
in Blog-ModernizationStory/DynamicWindowsForms
197 2
vcxproj
ExplorerCommandVerb.vcxproj
in Docs-ContextMenuSample/ExplorerCommandVerb
197 -
xaml
MainWindow.xaml
in Blog-WpfNetCore/ExpenseIt/ExpenseItDemo
191 -
xaml
MainWindow.xaml
in Blog-WpfNetCore/ExpenseItNetCore
191 -
EditBox.cs
in Blog-WpfNetCore/ExpenseIt/EditBoxControlLibrary
187 11
EditBox.cs
in Blog-WpfNetCore/ExpenseItNetCore
187 11
vcxproj
PSFDemo.Fixups.vcxproj
in Blog-PSF/PSFDemo/PSFDemo.Fixups
185 -
ExplorerCommandVerb.cpp
in Docs-ContextMenuSample/ExplorerCommandVerb
185 16
FormDynamic.cs
in Blog-ModernizationStory/DynamicWindowsForms
170 14
ControlHelperXamlIslandControls.cs
in Blog-ModernizationStory/DynamicWindowsForms/ControlHelpers
167 5
xaml
CreateExpenseReportDialogBox.xaml
in Blog-AppTransition/ExpenseIt/ExpenseItDemo
149 -
vcxproj
PSFDemo.Launcher.vcxproj
in Blog-PSF/PSFDemo/PSFDemo.Launcher
145 -
AutoImplementNotifyPropertyChangedGenerator.cs
in Blog-SourceGenerator/MvvmGenerator
145 6
NuGetUpgradeLog.html
in Blog-OptionalPackages/MyEmployees-ModificationPackages/MigrationBackup/6a8a1fba/MyEmployees
142 -
NuGetUpgradeLog.html
in Blog-OptionalPackages/MyEmployees-ModificationPackages/MigrationBackup/b9d0abcc/ExportDataLibrary
140 -
dll.cpp
in Docs-ContextMenuSample/ExplorerCommandVerb
129 11
DatabaseService.cs
in Blog-AppTransition/ExpenseIt/ExpenseItDemo.Data/Services
128 5
Form1.Designer.cs
in Blog-OptionalPackages/MyEmployees-ModificationPackages/MyEmployees
110 2
Form1.Designer.cs
in Blog-OptionalPackages/MyEmployees-OptionalPackages/MyEmployees
110 2
Form1.Designer.cs
in Blog-AdvancedInstaller/MyEmployees
109 2
ExplorerCommandStateHandler.cpp
in Docs-ContextMenuSample/ExplorerCommandVerb
109 6
Form1.cs
in Blog-OptionalPackages/MyEmployees-OptionalPackages/MyEmployees
103 6
MainWindow.cs
in Blog-AppTransition/ExpenseIt/ExpenseItDemo
97 5
Form1.cs
in Blog-OptionalPackages/MyEmployees-ModificationPackages/MyEmployees
94 6
Form1.Designer.cs
in Blog-Scripting/MyEmployees/MyEmployees
86 2
FipsCodeAnalyzerAnalyzer.cs
in Blog-FIPs/FipsCodeAnalyzer/FipsCodeAnalyzer
84 2
ControlTypeHelper.cs
in Blog-ModernizationStory/DynamicWindowsForms/ControlHelpers
83 2
EditboxAdorner.cs
in Blog-WpfNetCore/ExpenseIt/EditBoxControlLibrary
83 6
EditboxAdorner.cs
in Blog-WpfNetCore/ExpenseItNetCore
83 6
xaml
MainWindow.xaml
in Blog-AppTransition/ExpenseIt/ExpenseItDemo
82 -
MainWindow.xaml.cs
in Blog-Sqlite/SqlLite.UI
80 3
ExpenseReport.cs
in Blog-AppTransition/ExpenseIt/ExpenseItDemo
78 4
MainWindow.cs
in Blog-WpfNetCore/ExpenseIt/ExpenseItDemo
76 8
MainWindow.cs
in Blog-WpfNetCore/ExpenseItNetCore
76 8
ControlHelperStandardNetControls.cs
in Blog-ModernizationStory/DynamicWindowsForms/ControlHelpers
75 8
NotificationHelper.cs
in UWPAPIsUsedFromUnityEXEApp/dotNETClassLibraryUsingUWPAPIs/dotNETClassLibraryUsingUWPAPIs
75 4
CreateExpenseReportDialogBox.cs
in Blog-AppTransition/ExpenseIt/ExpenseItDemo
71 6
RegisterExtension.h
in Docs-ContextMenuSample/ExplorerCommandVerb
70 2
ControlFactoryXaml.cs
in Blog-ModernizationStory/DynamicWindowsForms/ControlHelpers
68 1
ExpenseReport.cs
in Blog-WpfNetCore/ExpenseIt/ExpenseItDemo
68 4
Files With Most Units (Top 20)
File# lines# units
RegisterExtension.cpp
in Docs-ContextMenuSample/ExplorerCommandVerb
588 56
ShellHelpers.h
in Docs-ContextMenuSample/ExplorerCommandVerb
208 17
ExplorerCommandVerb.cpp
in Docs-ContextMenuSample/ExplorerCommandVerb
185 16
FormDynamic.cs
in Blog-ModernizationStory/DynamicWindowsForms
170 14
EditBox.cs
in Blog-WpfNetCore/ExpenseIt/EditBoxControlLibrary
187 11
EditBox.cs
in Blog-WpfNetCore/ExpenseItNetCore
187 11
dll.cpp
in Docs-ContextMenuSample/ExplorerCommandVerb
129 11
ControlHelperStandardNetControls.cs
in Blog-ModernizationStory/DynamicWindowsForms/ControlHelpers
75 8
MainWindow.cs
in Blog-WpfNetCore/ExpenseIt/ExpenseItDemo
76 8
MainWindow.cs
in Blog-WpfNetCore/ExpenseItNetCore
76 8
CreateExpenseReportDialogBox.cs
in Blog-AppTransition/ExpenseIt/ExpenseItDemo
71 6
Form1.cs
in Blog-OptionalPackages/MyEmployees-ModificationPackages/MyEmployees
94 6
Form1.cs
in Blog-OptionalPackages/MyEmployees-OptionalPackages/MyEmployees
103 6
AutoImplementNotifyPropertyChangedGenerator.cs
in Blog-SourceGenerator/MvvmGenerator
145 6
EditboxAdorner.cs
in Blog-WpfNetCore/ExpenseIt/EditBoxControlLibrary
83 6
EditboxAdorner.cs
in Blog-WpfNetCore/ExpenseItNetCore
83 6
ExplorerCommandStateHandler.cpp
in Docs-ContextMenuSample/ExplorerCommandVerb
109 6
DatabaseService.cs
in Blog-AppTransition/ExpenseIt/ExpenseItDemo.Data/Services
128 5
MainWindow.cs
in Blog-AppTransition/ExpenseIt/ExpenseItDemo
97 5
ControlHelperXamlIslandControls.cs
in Blog-ModernizationStory/DynamicWindowsForms/ControlHelpers
167 5
Files With Long Lines (Top 20)

There are 50 files with lines longer than 120 characters. In total, there are 272 long lines.

File# lines# units# long lines
RegisterExtension.cpp
in Docs-ContextMenuSample/ExplorerCommandVerb
588 56 42
aspx
DefaultWsdlHelpGenerator.aspx
in UWPAPIsUsedFromUnityEXEApp/UnityEXEApp/Appx/UnityEXEApp_Data/Mono/etc/mono/2.0
1589 - 33
aspx
DefaultWsdlHelpGenerator.aspx
in UWPAPIsUsedFromUnityEXEApp/UnityEXEApp/Appx/UnityEXEApp_Data/Mono/etc/mono/1.0
1528 - 32
AutoImplementNotifyPropertyChangedGenerator.cs
in Blog-SourceGenerator/MvvmGenerator
145 6 13
vcxproj
Notifications.vcxproj
in Blog-WinRTComponent/WinRTComponent/Notifications
226 - 12
NuGetUpgradeLog.html
in Blog-OptionalPackages/MyEmployees-ModificationPackages/MigrationBackup/6a8a1fba/MyEmployees
142 - 11
NuGetUpgradeLog.html
in Blog-OptionalPackages/MyEmployees-ModificationPackages/MigrationBackup/b9d0abcc/ExportDataLibrary
140 - 11
vcxproj
PSFDemo.Fixups.vcxproj
in Blog-PSF/PSFDemo/PSFDemo.Fixups
185 - 11
vsixmanifest
source.extension.vsixmanifest
in Blog-FIPs/FipsCodeAnalyzer/FipsCodeAnalyzer.Vsix
22 - 8
Fixups.cpp
in Blog-PSF/PSFDemo/PSFDemo.Fixups
48 - 8
vcxproj
ExplorerCommandVerb.vcxproj
in Docs-ContextMenuSample/ExplorerCommandVerb
197 - 8
stdafx.h
in Blog-PSF/PSFDemo/PSFDemo.Fixups
14 - 7
vcxproj
PSFDemo.Launcher.vcxproj
in Blog-PSF/PSFDemo/PSFDemo.Launcher
145 - 7
FipsCodeAnalyzerAnalyzer.cs
in Blog-FIPs/FipsCodeAnalyzer/FipsCodeAnalyzer
84 2 5
xaml
CreateExpenseReportDialogBox.xaml
in Blog-AppTransition/ExpenseIt/ExpenseItDemo
149 - 3
FormDynamic.Designer.cs
in Blog-ModernizationStory/DynamicWindowsForms
197 2 3
stdafx.cpp
in Blog-PSF/PSFDemo/PSFDemo.Fixups
6 - 3
targetver.h
in Blog-PSF/PSFDemo/PSFDemo.Fixups
5 - 3
Form1.cs
in Blog-Scripting/MyEmployees/MyEmployees
65 4 3
xaml
MainWindow.xaml
in Blog-Sqlite/SqlLite.UI
21 - 3