microsoft / appcenter-sdk-dotnet
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 477 files with 28,145 lines of code.
    • 0 very long files (0 lines of code)
    • 2 long files (1,198 lines of code)
    • 32 medium size files (9,786 lines of codeclsfd_ftr_w_mp_ins)
    • 49 small files (6,676 lines of code)
    • 394 very small files (10,485 lines of code)
0% | 4% | 34% | 23% | 37%
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
yaml0% | 100% | 0% | 0% | 0%
cs0% | 2% | 37% | 21% | 37%
cake0% | 0% | 59% | 13% | 27%
xaml0% | 0% | 0% | 53% | 46%
axml0% | 0% | 0% | 64% | 35%
ps10% | 0% | 0% | 82% | 17%
cmd0% | 0% | 0% | 0% | 100%
shproj0% | 0% | 0% | 0% | 100%
targets0% | 0% | 0% | 0% | 100%
cfg0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
swagger0% | 100% | 0% | 0% | 0%
SDK/AppCenter0% | 7% | 24% | 29% | 38%
SDK/AppCenterCrashes0% | 0% | 43% | 14% | 42%
ROOT0% | 0% | 65% | 32% | 2%
Apps/Contoso.WinForms.Puppet.DotNetCore0% | 0% | 90% | 0% | 9%
Apps/Contoso.WinForms.Demo.DotNetCore0% | 0% | 91% | 0% | 8%
Apps/Contoso.WinForms.Puppet0% | 0% | 89% | 0% | 10%
Apps/Contoso.WinForms.Demo0% | 0% | 89% | 0% | 10%
Apps/Contoso.Forms.Puppet0% | 0% | 23% | 19% | 56%
Apps/Contoso.Forms.Demo0% | 0% | 23% | 20% | 55%
Apps/Contoso.WinUI.Desktop.Puppet0% | 0% | 52% | 38% | 9%
Apps/Contoso.WinUI.Desktop.Demo0% | 0% | 52% | 38% | 9%
Apps/Contoso.WPF.Puppet0% | 0% | 47% | 18% | 34%
Apps/Contoso.WPF.Demo0% | 0% | 47% | 18% | 34%
Apps/Contoso.WPF.Puppet.DotNetCore0% | 0% | 48% | 34% | 17%
Apps/Contoso.WPF.Demo.DotNetCore0% | 0% | 48% | 34% | 17%
SDK/AppCenterAnalytics0% | 0% | 22% | 17% | 60%
Apps/Contoso.Android.Puppet0% | 0% | 0% | 70% | 29%
SDK/AppCenterDistribute0% | 0% | 0% | 44% | 55%
Apps/Contoso.iOS.Puppet0% | 0% | 0% | 46% | 53%
Apps/Contoso.MacOS.Puppet0% | 0% | 0% | 27% | 72%
scripts/configuration0% | 0% | 0% | 0% | 100%
Apps/Contoso.UWP.Puppet0% | 0% | 0% | 0% | 100%
Apps/Contoso.UWP.Demo0% | 0% | 0% | 0% | 100%
scripts0% | 0% | 0% | 0% | 100%
Apps/Contoso.UtilClassLibrary0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
ingestion.yaml
in swagger
648 -
Channel.cs
in SDK/AppCenter/Microsoft.AppCenter.Windows.Shared/Channel
550 20
MainForm.Designer.cs
in Apps/Contoso.WinForms.Demo.DotNetCore
462 2
MainForm.Designer.cs
in Apps/Contoso.WinForms.Puppet.DotNetCore
462 2
MainForm.Designer.cs
in Apps/Contoso.WinForms.Demo
451 2
MainForm.Designer.cs
in Apps/Contoso.WinForms.Puppet
451 2
AppCenter.cs
in SDK/AppCenter/Microsoft.AppCenter.Windows.Shared
412 22
Storage.cs
in SDK/AppCenter/Microsoft.AppCenter.Windows.Shared/Storage
412 24
MainWindow.xaml.cs
in Apps/Contoso.WinUI.Desktop.Puppet/Contoso.WinUI.Desktop.Puppet
399 46
MainWindow.xaml.cs
in Apps/Contoso.WinUI.Desktop.Demo/Contoso.WinUI.Desktop.Demo
398 46
Crashes.cs
in SDK/AppCenterCrashes/Microsoft.AppCenter.Crashes.Windows.Shared
397 28
cake
version.cake
in root
384 15
cake
test-tools.cake
in root
345 8
MainWindow.xaml.cs
in Apps/Contoso.WPF.Puppet
306 34
MainWindow.xaml.cs
in Apps/Contoso.WPF.Demo
305 34
MainWindow.xaml.cs
in Apps/Contoso.WPF.Demo.DotNetCore
301 33
MainWindow.xaml.cs
in Apps/Contoso.WPF.Puppet.DotNetCore
301 33
StorageAdapter.cs
in SDK/AppCenter/Microsoft.AppCenter.Windows.Shared/Storage
274 22
App.xaml.cs
in Apps/Contoso.Forms.Puppet/Contoso.Forms.Puppet
259 15
App.xaml.cs
in Apps/Contoso.Forms.Demo/Contoso.Forms.Demo
254 15
Crashes.cs
in SDK/AppCenterCrashes/Microsoft.AppCenter.Crashes.Android
254 20
Crashes.cs
in SDK/AppCenterCrashes/Microsoft.AppCenter.Crashes.MacOS
253 18
Crashes.cs
in SDK/AppCenterCrashes/Microsoft.AppCenter.Crashes.iOS
253 18
CrashesContentPage.xaml.cs
in Apps/Contoso.Forms.Demo/Contoso.Forms.Demo/ModulePages
249 24
CrashesContentPage.xaml.cs
in Apps/Contoso.Forms.Puppet/Contoso.Forms.Puppet/ModulePages
249 24
ErrorLogHelper.cs
in SDK/AppCenterCrashes/Microsoft.AppCenter.Crashes.Windows.Shared/Utils
243 15
DeviceInformationHelper.cs
in SDK/AppCenter/Microsoft.AppCenter.WindowsDesktop/Utils
230 12
MainForm.cs
in Apps/Contoso.WinForms.Demo
215 25
MainForm.cs
in Apps/Contoso.WinForms.Puppet
215 25
MainForm.cs
in Apps/Contoso.WinForms.Demo.DotNetCore
214 25
MainForm.cs
in Apps/Contoso.WinForms.Puppet.DotNetCore
214 25
Analytics.cs
in SDK/AppCenterAnalytics/Microsoft.AppCenter.Analytics.Windows.Shared
212 16
ApiDefinition.cs
in SDK/AppCenter/Microsoft.AppCenter.MacOS.Bindings
206 -
ApiDefinition.cs
in SDK/AppCenter/Microsoft.AppCenter.iOS.Bindings
206 -
AppCenter.cs
in SDK/AppCenter/Microsoft.AppCenter.Android
200 13
build.ps1
in root
198 -
ChannelGroup.cs
in SDK/AppCenter/Microsoft.AppCenter.Windows.Shared/Channel
188 20
AppCenter.cs
in SDK/AppCenter/Microsoft.AppCenter.MacOS
185 15
AppCenter.cs
in SDK/AppCenter/Microsoft.AppCenter.iOS
185 15
ApiDefinition.cs
in SDK/AppCenterCrashes/Microsoft.AppCenter.Crashes.MacOS.Bindings
178 -
xaml
MainWindow.xaml
in Apps/Contoso.WinUI.Desktop.Demo/Contoso.WinUI.Desktop.Demo
177 -
xaml
MainWindow.xaml
in Apps/Contoso.WinUI.Desktop.Puppet/Contoso.WinUI.Desktop.Puppet
177 -
ApiDefinition.cs
in SDK/AppCenterCrashes/Microsoft.AppCenter.Crashes.iOS.Bindings
175 -
DefaultApplicationSettings.cs
in SDK/AppCenter/Microsoft.AppCenter.WindowsDesktop/Utils
171 9
SessionTracker.cs
in SDK/AppCenterAnalytics/Microsoft.AppCenter.Analytics.Windows.Shared/Channel
169 12
MainActivity.cs
in Apps/Contoso.Android.Puppet
167 10
cake
build.cake
in root
161 1
ApplicationLifecycleHelperDesktop.cs
in SDK/AppCenter/Microsoft.AppCenter.WindowsDesktop/Utils
159 9
CrashesFragment.cs
in Apps/Contoso.Android.Puppet/ModulePages
157 17
axml
AppCenter.axml
in Apps/Contoso.Android.Puppet/Resources/layout
157 -
Files With Most Units (Top 20)
File# lines# units
MainWindow.xaml.cs
in Apps/Contoso.WinUI.Desktop.Demo/Contoso.WinUI.Desktop.Demo
398 46
MainWindow.xaml.cs
in Apps/Contoso.WinUI.Desktop.Puppet/Contoso.WinUI.Desktop.Puppet
399 46
MainWindow.xaml.cs
in Apps/Contoso.WPF.Demo
305 34
MainWindow.xaml.cs
in Apps/Contoso.WPF.Puppet
306 34
MainWindow.xaml.cs
in Apps/Contoso.WPF.Demo.DotNetCore
301 33
MainWindow.xaml.cs
in Apps/Contoso.WPF.Puppet.DotNetCore
301 33
Crashes.cs
in SDK/AppCenterCrashes/Microsoft.AppCenter.Crashes.Windows.Shared
397 28
MainForm.cs
in Apps/Contoso.WinForms.Demo.DotNetCore
214 25
MainForm.cs
in Apps/Contoso.WinForms.Demo
215 25
MainForm.cs
in Apps/Contoso.WinForms.Puppet.DotNetCore
214 25
MainForm.cs
in Apps/Contoso.WinForms.Puppet
215 25
CrashesContentPage.xaml.cs
in Apps/Contoso.Forms.Demo/Contoso.Forms.Demo/ModulePages
249 24
CrashesContentPage.xaml.cs
in Apps/Contoso.Forms.Puppet/Contoso.Forms.Puppet/ModulePages
249 24
Storage.cs
in SDK/AppCenter/Microsoft.AppCenter.Windows.Shared/Storage
412 24
AppCenter.cs
in SDK/AppCenter/Microsoft.AppCenter.Windows.Shared
412 22
StorageAdapter.cs
in SDK/AppCenter/Microsoft.AppCenter.Windows.Shared/Storage
274 22
Channel.cs
in SDK/AppCenter/Microsoft.AppCenter.Windows.Shared/Channel
550 20
ChannelGroup.cs
in SDK/AppCenter/Microsoft.AppCenter.Windows.Shared/Channel
188 20
Crashes.cs
in SDK/AppCenterCrashes/Microsoft.AppCenter.Crashes.Android
254 20
Crashes.cs
in SDK/AppCenterCrashes/Microsoft.AppCenter.Crashes.MacOS
253 18
Files With Long Lines (Top 20)

There are 181 files with lines longer than 120 characters. In total, there are 700 long lines.

File# lines# units# long lines
xaml
MainWindow.xaml
in Apps/Contoso.WinUI.Desktop.Demo/Contoso.WinUI.Desktop.Demo
177 - 32
xaml
MainWindow.xaml
in Apps/Contoso.WinUI.Desktop.Puppet/Contoso.WinUI.Desktop.Puppet
177 - 32
MainForm.Designer.cs
in Apps/Contoso.WinForms.Demo.DotNetCore
462 2 21
MainForm.Designer.cs
in Apps/Contoso.WinForms.Demo
451 2 21
MainForm.Designer.cs
in Apps/Contoso.WinForms.Puppet.DotNetCore
462 2 21
MainForm.Designer.cs
in Apps/Contoso.WinForms.Puppet
451 2 21
xaml
MainWindow.xaml
in Apps/Contoso.WPF.Demo.DotNetCore
113 - 18
xaml
MainWindow.xaml
in Apps/Contoso.WPF.Demo
117 - 18
xaml
MainWindow.xaml
in Apps/Contoso.WPF.Puppet.DotNetCore
113 - 18
xaml
MainWindow.xaml
in Apps/Contoso.WPF.Puppet
117 - 18
cake
version.cake
in root
384 15 15
AppCenter.cs
in SDK/AppCenter/Microsoft.AppCenter.Windows.Shared
412 22 13
ingestion.yaml
in swagger
648 - 12
xaml
CrashesContentPage.xaml
in Apps/Contoso.Forms.Demo/Contoso.Forms.Demo/ModulePages
49 - 11
xaml
CrashesContentPage.xaml
in Apps/Contoso.Forms.Puppet/Contoso.Forms.Puppet/ModulePages
49 - 11
StorageAdapter.cs
in SDK/AppCenter/Microsoft.AppCenter.Windows.Shared/Storage
274 22 11
App.xaml.cs
in Apps/Contoso.Forms.Demo/Contoso.Forms.Demo
254 15 9
App.xaml.cs
in Apps/Contoso.Forms.Puppet/Contoso.Forms.Puppet
259 15 9
Crashes.cs
in SDK/AppCenterCrashes/Microsoft.AppCenter.Crashes.Windows.Shared
397 28 9
cake
test-tools.cake
in root
345 8 9