microsoft / Windows-appsample-photo-editor
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 15 files with 2,223 lines of code.
    • 0 very long files (0 lines of code)
    • 1 long files (758 lines of code)
    • 1 medium size files (493 lines of codeclsfd_ftr_w_mp_ins)
    • 4 small files (595 lines of code)
    • 9 very small files (377 lines of code)
0% | 34% | 22% | 26% | 16%
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
xaml0% | 86% | 0% | 12% | 1%
cpp0% | 0% | 65% | 21% | 13%
vcxproj0% | 0% | 0% | 100% | 0%
h0% | 0% | 0% | 43% | 56%
filters0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
PhotoEditor0% | 34% | 22% | 26% | 16%
Longest Files (Top 15)
File# lines# units
xaml
DetailPage.xaml
in PhotoEditor
758 -
DetailPage.cpp
in PhotoEditor
493 28
vcxproj
PhotoEditor.vcxproj
in PhotoEditor
178 -
MainPage.cpp
in PhotoEditor
161 10
Photo.h
in PhotoEditor
142 23
xaml
MainPage.xaml
in PhotoEditor
114 -
DetailPage.h
in PhotoEditor
99 6
filters
PhotoEditor.vcxproj.filters
in PhotoEditor
82 -
App.cpp
in PhotoEditor
54 3
Photo.cpp
in PhotoEditor
45 4
MainPage.h
in PhotoEditor
37 1
pch.h
in PhotoEditor
36 -
App.h
in PhotoEditor
13 -
xaml
App.xaml
in PhotoEditor
9 -
pch.cpp
in PhotoEditor
2 -
Files With Most Units (Top 7)
File# lines# units
DetailPage.cpp
in PhotoEditor
493 28
Photo.h
in PhotoEditor
142 23
MainPage.cpp
in PhotoEditor
161 10
DetailPage.h
in PhotoEditor
99 6
Photo.cpp
in PhotoEditor
45 4
App.cpp
in PhotoEditor
54 3
MainPage.h
in PhotoEditor
37 1
Files With Long Lines (Top 8)

There are 8 files with lines longer than 120 characters. In total, there are 35 long lines.

File# lines# units# long lines
DetailPage.h
in PhotoEditor
99 6 10
vcxproj
PhotoEditor.vcxproj
in PhotoEditor
178 - 9
xaml
DetailPage.xaml
in PhotoEditor
758 - 6
DetailPage.cpp
in PhotoEditor
493 28 3
MainPage.h
in PhotoEditor
37 1 3
Photo.h
in PhotoEditor
142 23 2
MainPage.cpp
in PhotoEditor
161 10 1
xaml
MainPage.xaml
in PhotoEditor
114 - 1