microsoft / Windows-appsample-trafficapp
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 14 files with 1,157 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 1 medium size files (386 lines of codeclsfd_ftr_w_mp_ins)
    • 3 small files (479 lines of code)
    • 10 very small files (292 lines of code)
0% | 0% | 33% | 41% | 25%
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% | 38% | 32% | 29%
xaml0% | 0% | 0% | 100% | 0%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
TrafficApp0% | 0% | 65% | 26% | 7%
LocationHelper0% | 0% | 0% | 71% | 28%
TrafficApp/Common0% | 0% | 0% | 0% | 100%
TrafficMonitor0% | 0% | 0% | 0% | 100%
LocationHelper/Properties0% | 0% | 0% | 0% | 100%
TrafficApp/Properties0% | 0% | 0% | 0% | 100%
TrafficMonitor/Properties0% | 0% | 0% | 0% | 100%
Longest Files (Top 14)
File# lines# units
MainPage.xaml.cs
in TrafficApp
386 32
LocationHelper.cs
in LocationHelper
174 11
xaml
MainPage.xaml
in TrafficApp
156 -
LocationData.cs
in LocationHelper
149 3
LocationDataStore.cs
in LocationHelper
76 1
App.xaml.cs
in TrafficApp
46 4
BackgroundTaskHelper.cs
in LocationHelper
29 2
TrafficMonitor.cs
in TrafficMonitor
28 1
BooleanToVisibilityConverter.cs
in TrafficApp/Common
25 2
BindableBase.cs
in LocationHelper
23 2
Helpers.cs
in TrafficApp/Common
23 1
AssemblyInfo.cs
in LocationHelper/Properties
14 -
AssemblyInfo.cs
in TrafficApp/Properties
14 -
AssemblyInfo.cs
in TrafficMonitor/Properties
14 -
Files With Most Units (Top 10)
File# lines# units
MainPage.xaml.cs
in TrafficApp
386 32
LocationHelper.cs
in LocationHelper
174 11
App.xaml.cs
in TrafficApp
46 4
LocationData.cs
in LocationHelper
149 3
BackgroundTaskHelper.cs
in LocationHelper
29 2
BindableBase.cs
in LocationHelper
23 2
BooleanToVisibilityConverter.cs
in TrafficApp/Common
25 2
LocationDataStore.cs
in LocationHelper
76 1
Helpers.cs
in TrafficApp/Common
23 1
TrafficMonitor.cs
in TrafficMonitor
28 1
Files With Long Lines (Top 3)

There are 3 files with lines longer than 120 characters. In total, there are 30 long lines.

File# lines# units# long lines
xaml
MainPage.xaml
in TrafficApp
156 - 19
LocationHelper.cs
in LocationHelper
174 11 6
MainPage.xaml.cs
in TrafficApp
386 32 5