microsoft / Windows-AppConsult-Samples-UWP
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 121 files with 3,468 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 1 medium size files (202 lines of codeclsfd_ftr_w_mp_ins)
    • 4 small files (734 lines of code)
    • 116 very small files (2,532 lines of code)
0% | 0% | 5% | 21% | 73%
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
vcxproj0% | 0% | 53% | 46% | 0%
cs0% | 0% | 0% | 29% | 70%
xaml0% | 0% | 0% | 0% | 100%
m0% | 0% | 0% | 0% | 100%
js0% | 0% | 0% | 0% | 100%
h0% | 0% | 0% | 0% | 100%
cpp0% | 0% | 0% | 0% | 100%
filters0% | 0% | 0% | 0% | 100%
java0% | 0% | 0% | 0% | 100%
bzl0% | 0% | 0% | 0% | 100%
props0% | 0% | 0% | 0% | 100%
targets0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
GeolocationSample/windows0% | 0% | 38% | 0% | 61%
UWP-Advanced-Inking/XAMLShapesAdvancedManipulations0% | 0% | 0% | 66% | 33%
UWP-Advanced-Inking/XAMLShapesLineCurving0% | 0% | 0% | 66% | 33%
UWP-Advanced-Inking/UnprocessedInput0% | 0% | 0% | 63% | 36%
NativeModulesSample/windows0% | 0% | 0% | 46% | 53%
PlaneIdentifier/PlaneIdentifier0% | 0% | 0% | 0% | 100%
PlaneIdentifier/PlaneIdentifier.Desktop0% | 0% | 0% | 0% | 100%
UWP-Advanced-Inking/XAMLShapesManipulations0% | 0% | 0% | 0% | 100%
XamlIslands/ComplexCustomControl0% | 0% | 0% | 0% | 100%
UWP-Advanced-Inking/CurveALine0% | 0% | 0% | 0% | 100%
UWP-Advanced-Inking/StrokesToShapes0% | 0% | 0% | 0% | 100%
UWP-Advanced-Inking/InkingAndZoom0% | 0% | 0% | 0% | 100%
XamlIslands/SimpleCustomControl0% | 0% | 0% | 0% | 100%
GeolocationSample/ios0% | 0% | 0% | 0% | 100%
NativeModulesSample0% | 0% | 0% | 0% | 100%
NativeModulesSample/ios0% | 0% | 0% | 0% | 100%
GeolocationSample/android0% | 0% | 0% | 0% | 100%
GeolocationSample0% | 0% | 0% | 0% | 100%
NativeModulesSample/android0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
vcxproj
GeolocationSample.vcxproj
in GeolocationSample/windows/GeolocationSample
202 -
MainPage.xaml.cs
in UWP-Advanced-Inking/XAMLShapesAdvancedManipulations/XAMLShapesAdvancedManipulations
186 13
MainPage.xaml.cs
in UWP-Advanced-Inking/XAMLShapesLineCurving/XAMLShapesLineCurving
186 9
MainPage.xaml.cs
in UWP-Advanced-Inking/UnprocessedInput/UnprocessedInput
183 9
vcxproj
NativeModulesSample.vcxproj
in NativeModulesSample/windows/NativeModulesSample
179 -
MainPage.xaml.cs
in PlaneIdentifier/PlaneIdentifier
80 4
MainWindow.xaml.cs
in PlaneIdentifier/PlaneIdentifier.Desktop
75 4
MainPage.xaml.cs
in UWP-Advanced-Inking/XAMLShapesManipulations/XAMLShapesManipulations
73 6
filters
GeolocationSample.vcxproj.filters
in GeolocationSample/windows/GeolocationSample
63 -
MainApplication.java
in GeolocationSample/android/app/src/main/java/com/geolocationsample
59 6
filters
NativeModulesSample.vcxproj.filters
in NativeModulesSample/windows/NativeModulesSample
58 -
App.xaml.cs
in PlaneIdentifier/PlaneIdentifier
57 4
App.xaml.cs
in UWP-Advanced-Inking/CurveALine/CurveALine
57 4
App.xaml.cs
in UWP-Advanced-Inking/InkingAndZoom/InkingAndZoom
57 4
App.xaml.cs
in UWP-Advanced-Inking/StrokesToShapes/StrokesToShapes
57 4
App.xaml.cs
in UWP-Advanced-Inking/UnprocessedInput/UnprocessedInput
57 4
App.xaml.cs
in UWP-Advanced-Inking/XAMLShapesAdvancedManipulations/XAMLShapesAdvancedManipulations
57 4
App.xaml.cs
in UWP-Advanced-Inking/XAMLShapesLineCurving/XAMLShapesLineCurving
57 4
App.xaml.cs
in UWP-Advanced-Inking/XAMLShapesManipulations/XAMLShapesManipulations
57 4
GeolocationSampleTests.m
in GeolocationSample/ios/GeolocationSampleTests
51 -
App.js
in GeolocationSample
48 -
AppDelegate.m
in GeolocationSample/ios/GeolocationSample
48 1
NativeModulesSampleTests.m
in NativeModulesSample/ios/NativeModulesSampleTests
47 -
App.cpp
in GeolocationSample/windows/GeolocationSample
45 3
MainPage.xaml.cs
in UWP-Advanced-Inking/CurveALine/CurveALine
45 3
GeolocationModule.cs
in GeolocationSample/windows/GeolocationModule
44 2
Planes.cs
in PlaneIdentifier/PlaneIdentifier.Desktop
42 2
Planes.cs
in PlaneIdentifier/PlaneIdentifier
42 2
MainPage.xaml.cs
in UWP-Advanced-Inking/StrokesToShapes/StrokesToShapes
42 3
MainApplication.java
in NativeModulesSample/android/app/src/main/java/com/nativemodulessample
38 5
metro.config.js
in NativeModulesSample
37 2
MainWindow.xaml.cs
in XamlIslands/ComplexCustomControl/ComplexCustomControl.Wpf
34 2
App.js
in NativeModulesSample
29 1
App.cpp
in NativeModulesSample/windows/NativeModulesSample
29 -
AppDelegate.m
in NativeModulesSample/ios/NativeModulesSample
28 -
xaml
MainPage.xaml
in UWP-Advanced-Inking/UnprocessedInput/UnprocessedInput
27 -
MarkdownView.xaml.cs
in XamlIslands/ComplexCustomControl/ComplexCustomControl.MyControls
27 1
pch.h
in NativeModulesSample/windows/NativeModulesSample
24 -
Header.xaml.cs
in XamlIslands/SimpleCustomControl/SimpleCustomControl.MyControl
24 1
MainWindow.xaml.cs
in XamlIslands/SimpleCustomControl/SimpleCustomControl.Wpf
24 1
pch.h
in GeolocationSample/windows/GeolocationSample
23 -
xaml
MainPage.xaml
in UWP-Advanced-Inking/InkingAndZoom/InkingAndZoom
23 -
metro.config.js
in GeolocationSample
20 2
AssemblyInfo.cs
in PlaneIdentifier/PlaneIdentifier.Desktop/Properties
20 -
xaml
MainWindow.xaml
in XamlIslands/SimpleCustomControl/SimpleCustomControl.Wpf
18 -
build_defs.bzl
in GeolocationSample/android/app
17 -
MainPage.cpp
in GeolocationSample/windows/GeolocationSample
17 -
build_defs.bzl
in NativeModulesSample/android/app
17 -
MainPage.h
in GeolocationSample/windows/GeolocationSample
16 -
xaml
MainPage.xaml
in GeolocationSample/windows/GeolocationSample
16 -
Files With Most Units (Top 20)
File# lines# units
MainPage.xaml.cs
in UWP-Advanced-Inking/XAMLShapesAdvancedManipulations/XAMLShapesAdvancedManipulations
186 13
MainPage.xaml.cs
in UWP-Advanced-Inking/UnprocessedInput/UnprocessedInput
183 9
MainPage.xaml.cs
in UWP-Advanced-Inking/XAMLShapesLineCurving/XAMLShapesLineCurving
186 9
MainApplication.java
in GeolocationSample/android/app/src/main/java/com/geolocationsample
59 6
MainPage.xaml.cs
in UWP-Advanced-Inking/XAMLShapesManipulations/XAMLShapesManipulations
73 6
MainApplication.java
in NativeModulesSample/android/app/src/main/java/com/nativemodulessample
38 5
MainWindow.xaml.cs
in PlaneIdentifier/PlaneIdentifier.Desktop
75 4
App.xaml.cs
in PlaneIdentifier/PlaneIdentifier
57 4
MainPage.xaml.cs
in PlaneIdentifier/PlaneIdentifier
80 4
App.xaml.cs
in UWP-Advanced-Inking/CurveALine/CurveALine
57 4
App.xaml.cs
in UWP-Advanced-Inking/InkingAndZoom/InkingAndZoom
57 4
App.xaml.cs
in UWP-Advanced-Inking/StrokesToShapes/StrokesToShapes
57 4
App.xaml.cs
in UWP-Advanced-Inking/UnprocessedInput/UnprocessedInput
57 4
App.xaml.cs
in UWP-Advanced-Inking/XAMLShapesAdvancedManipulations/XAMLShapesAdvancedManipulations
57 4
App.xaml.cs
in UWP-Advanced-Inking/XAMLShapesLineCurving/XAMLShapesLineCurving
57 4
App.xaml.cs
in UWP-Advanced-Inking/XAMLShapesManipulations/XAMLShapesManipulations
57 4
App.cpp
in GeolocationSample/windows/GeolocationSample
45 3
MainPage.xaml.cs
in UWP-Advanced-Inking/CurveALine/CurveALine
45 3
MainPage.xaml.cs
in UWP-Advanced-Inking/StrokesToShapes/StrokesToShapes
42 3
metro.config.js
in GeolocationSample
20 2
Files With Long Lines (Top 14)

There are 14 files with lines longer than 120 characters. In total, there are 46 long lines.

File# lines# units# long lines
vcxproj
GeolocationSample.vcxproj
in GeolocationSample/windows/GeolocationSample
202 - 16
vcxproj
NativeModulesSample.vcxproj
in NativeModulesSample/windows/NativeModulesSample
179 - 12
MainPage.xaml.cs
in UWP-Advanced-Inking/XAMLShapesLineCurving/XAMLShapesLineCurving
186 9 4
MainWindow.xaml.cs
in PlaneIdentifier/PlaneIdentifier.Desktop
75 4 3
GeolocationModule.cs
in GeolocationSample/windows/GeolocationModule
44 2 2
App.js
in GeolocationSample
48 - 1
AppDelegate.m
in GeolocationSample/ios/GeolocationSample
48 1 1
GeolocationSampleTests.m
in GeolocationSample/ios/GeolocationSampleTests
51 - 1
AutolinkedNativeModules.g.cpp
in GeolocationSample/windows/GeolocationSample
9 1 1
AutolinkedNativeModules.g.h
in GeolocationSample/windows/GeolocationSample
5 - 1
ReactPackageProvider.h
in GeolocationSample/windows/GeolocationSample
10 - 1
NativeModulesSampleTests.m
in NativeModulesSample/ios/NativeModulesSampleTests
47 - 1
MainPage.xaml.cs
in PlaneIdentifier/PlaneIdentifier
80 4 1
MarkdownView.xaml.cs
in XamlIslands/ComplexCustomControl/ComplexCustomControl.MyControls
27 1 1