microsoft / Windows-appsample-familynotes
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 33 files with 4,150 lines of code.
    • 0 very long files (0 lines of code)
    • 2 long files (1,261 lines of code)
    • 5 medium size files (1,508 lines of codeclsfd_ftr_w_mp_ins)
    • 5 small files (716 lines of code)
    • 21 very small files (665 lines of code)
0% | 30% | 36% | 17% | 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
cs0% | 35% | 33% | 16% | 13%
xaml0% | 0% | 53% | 18% | 27%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
FamilyNotes0% | 37% | 37% | 15% | 9%
FamilyNotes/Speech0% | 84% | 0% | 0% | 15%
FamilyNotes/UserDetection0% | 0% | 100% | 0% | 0%
FamilyNotes/Controls0% | 0% | 36% | 40% | 23%
FamilyNotes/AppDialogs0% | 0% | 0% | 39% | 60%
FamilyNotes/Themes0% | 0% | 0% | 0% | 100%
FamilyNotes/VoiceCommandObjects0% | 0% | 0% | 0% | 100%
FamilyNotes/Properties0% | 0% | 0% | 0% | 100%
Longest Files (Top 33)
File# lines# units
MainPage.xaml.cs
in FamilyNotes
682 35
SpeechManager.cs
in FamilyNotes/Speech
579 24
App.xaml.cs
in FamilyNotes
356 9
xaml
MainPage.xaml
in FamilyNotes
335 -
Note.xaml.cs
in FamilyNotes/Controls
286 21
UserPresence.cs
in FamilyNotes/UserDetection
266 14
FacialSimilarity.cs
in FamilyNotes/UserDetection
265 9
NotesCanvas.cs
in FamilyNotes/Controls
200 11
Settings.cs
in FamilyNotes
159 4
Model.cs
in FamilyNotes
133 7
xaml
Note.xaml
in FamilyNotes/Controls
119 -
AddPersonContentDialog.xaml.cs
in FamilyNotes/AppDialogs
105 7
xaml
AddPersonContentDialog.xaml
in FamilyNotes/AppDialogs
82 -
StickyNote.cs
in FamilyNotes
75 2
NotesPanel.cs
in FamilyNotes/Controls
66 8
Converters.cs
in FamilyNotes/Controls
56 4
StateChangedEventArgs.cs
in FamilyNotes/Speech
52 2
Person.cs
in FamilyNotes
35 1
xaml
App.xaml
in FamilyNotes
33 -
BindableInkCanvas.cs
in FamilyNotes/Controls
29 1
PhraseRecognizedEventArgs.cs
in FamilyNotes/Speech
24 1
BindableBase.cs
in FamilyNotes
23 2
DeleteConfirmationDialog.xaml.cs
in FamilyNotes/AppDialogs
22 3
WarningDialog.xaml.cs
in FamilyNotes/AppDialogs
22 3
xaml
Generic.xaml
in FamilyNotes/Themes
21 -
xaml
DeleteConfirmationDialog.xaml
in FamilyNotes/AppDialogs
19 -
xaml
WarningDialog.xaml
in FamilyNotes/AppDialogs
18 -
InputModeChangedArgs.cs
in FamilyNotes/Controls
16 1
CommandVerb.cs
in FamilyNotes/Speech
16 -
VoiceCommands.cs
in FamilyNotes/VoiceCommandObjects
16 -
NoteInputMode.cs
in FamilyNotes/Controls
14 -
AssemblyInfo.cs
in FamilyNotes/Properties
14 -
RecognitionMode.cs
in FamilyNotes/Speech
12 -
Files With Most Units (Top 20)
File# lines# units
MainPage.xaml.cs
in FamilyNotes
682 35
SpeechManager.cs
in FamilyNotes/Speech
579 24
Note.xaml.cs
in FamilyNotes/Controls
286 21
UserPresence.cs
in FamilyNotes/UserDetection
266 14
NotesCanvas.cs
in FamilyNotes/Controls
200 11
App.xaml.cs
in FamilyNotes
356 9
FacialSimilarity.cs
in FamilyNotes/UserDetection
265 9
NotesPanel.cs
in FamilyNotes/Controls
66 8
AddPersonContentDialog.xaml.cs
in FamilyNotes/AppDialogs
105 7
Model.cs
in FamilyNotes
133 7
Converters.cs
in FamilyNotes/Controls
56 4
Settings.cs
in FamilyNotes
159 4
DeleteConfirmationDialog.xaml.cs
in FamilyNotes/AppDialogs
22 3
WarningDialog.xaml.cs
in FamilyNotes/AppDialogs
22 3
BindableBase.cs
in FamilyNotes
23 2
StateChangedEventArgs.cs
in FamilyNotes/Speech
52 2
StickyNote.cs
in FamilyNotes
75 2
BindableInkCanvas.cs
in FamilyNotes/Controls
29 1
InputModeChangedArgs.cs
in FamilyNotes/Controls
16 1
Person.cs
in FamilyNotes
35 1
Files With Long Lines (Top 12)

There are 12 files with lines longer than 120 characters. In total, there are 58 long lines.

File# lines# units# long lines
MainPage.xaml.cs
in FamilyNotes
682 35 14
FacialSimilarity.cs
in FamilyNotes/UserDetection
265 9 11
UserPresence.cs
in FamilyNotes/UserDetection
266 14 8
App.xaml.cs
in FamilyNotes
356 9 7
xaml
MainPage.xaml
in FamilyNotes
335 - 6
Model.cs
in FamilyNotes
133 7 3
SpeechManager.cs
in FamilyNotes/Speech
579 24 3
xaml
Note.xaml
in FamilyNotes/Controls
119 - 2
xaml
App.xaml
in FamilyNotes
33 - 1
xaml
AddPersonContentDialog.xaml
in FamilyNotes/AppDialogs
82 - 1
xaml
WarningDialog.xaml
in FamilyNotes/AppDialogs
18 - 1
Person.cs
in FamilyNotes
35 1 1