microsoft / Cognitive-Samples-IntelligentKiosk
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 263 files with 34,791 lines of code.
    • 1 very long files (1,001 lines of code)
    • 10 long files (5,886 lines of code)
    • 40 medium size files (12,503 lines of codeclsfd_ftr_w_mp_ins)
    • 58 small files (8,460 lines of code)
    • 154 very small files (6,941 lines of code)
2% | 16% | 35% | 24% | 19%
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
cs3% | 17% | 42% | 18% | 17%
xaml0% | 13% | 16% | 41% | 28%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
Kiosk41% | 0% | 37% | 10% | 10%
Kiosk/Views0% | 23% | 39% | 26% | 9%
Kiosk/Controls0% | 8% | 27% | 15% | 48%
Kiosk/ServiceHelpers0% | 0% | 35% | 37% | 26%
Kiosk/Styles0% | 0% | 0% | 100% | 0%
Kiosk/Models0% | 0% | 0% | 0% | 100%
Kiosk/KioskRuntimeComponent0% | 0% | 0% | 0% | 100%
Kiosk/Extensions0% | 0% | 0% | 0% | 100%
Kiosk/Properties0% | 0% | 0% | 0% | 100%
Kiosk/Themes0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
SettingsHelper.cs
in Kiosk
1001 20
CustomVisionSetup.xaml.cs
in Kiosk/Views/CustomVision
694 46
ImageInsightsViewModel.cs
in Kiosk/Views/DigitalAssetManagement
687 27
xaml
FaceLandmarksControl.xaml
in Kiosk/Views/FaceApiExplorer
607 -
FaceIdentificationSetup.xaml.cs
in Kiosk/Views
589 39
VideoInsightsPage.xaml.cs
in Kiosk/Views/VideoInsights
588 22
CameraControl.xaml.cs
in Kiosk/Controls
575 21
xaml
DigitalAssetManagementPage.xaml
in Kiosk/Views/DigitalAssetManagement
547 -
TranslatorExplorerPage.xaml.cs
in Kiosk/Views/TranslatorExplorer
539 31
AnomalyChartControl.xaml.cs
in Kiosk/Views/AnomalyDetector
537 22
SpeechToTextExplorer.xaml.cs
in Kiosk/Views/SpeechToText
523 22
InsuranceClaimAutomation.xaml.cs
in Kiosk/Views/InsuranceClaimAutomation
497 19
VisualAlertBuilderPage.xaml.cs
in Kiosk/Views/VisualAlert
466 26
FormRecognizerExplorer.xaml.cs
in Kiosk/Views/FormRecognizer
464 27
Util.cs
in Kiosk
423 28
VisionApiExplorer.xaml.cs
in Kiosk/Views
412 19
RealtimeDriverMonitoring.xaml.cs
in Kiosk/Views
394 25
RealTimeDemo.xaml.cs
in Kiosk/Views
383 24
ImageAnalyzer.cs
in Kiosk/ServiceHelpers
382 13
Converters.cs
in Kiosk/Controls
371 44
ImageProcessor.cs
in Kiosk/Views/DigitalAssetManagement
368 17
DemoLauncherPage.xaml.cs
in Kiosk/Views/DemoLauncher
366 18
xaml
SettingsPage.xaml
in Kiosk/Views
361 -
DigitalAssetManagementPage.xaml.cs
in Kiosk/Views/DigitalAssetManagement
355 24
RealtimeImageClassification.xaml.cs
in Kiosk/Views
341 21
SpeechToTextWithTranslation.xaml.cs
in Kiosk/Views/SpeechToText
335 20
FaceServiceHelper.cs
in Kiosk/ServiceHelpers
329 30
CustomVisionExplorer.xaml.cs
in Kiosk/Views/CustomVision
326 16
xaml
VisionApiExplorer.xaml
in Kiosk/Views
326 -
BingNewsAnalytics.xaml.cs
in Kiosk/Views
322 18
MallKioskPage.xaml.cs
in Kiosk/Views
315 18
SpeakerRecognitionExplorer.xaml.cs
in Kiosk/Views/SpeakerRecognition
296 21
RealtimeObjectDetection.xaml.cs
in Kiosk/Views
290 19
FaceApiExplorerPage.xaml.cs
in Kiosk/Views/FaceApiExplorer
288 11
ImageSearchUserControl.xaml.cs
in Kiosk/Controls
278 18
ImagePickerControl.xaml.cs
in Kiosk/Controls
276 17
SpeakerRecognitionModelSetup.xaml.cs
in Kiosk/Views/SpeakerRecognition
270 24
BingSearchHelper.cs
in Kiosk/ServiceHelpers
264 7
xaml
FaceApiExplorerPage.xaml
in Kiosk/Views/FaceApiExplorer
264 -
AppShell.xaml.cs
in Kiosk
257 16
OverlayLabel.xaml.cs
in Kiosk/Controls/Overlays/Primitives
249 10
InputPickerControl.xaml.cs
in Kiosk/Views/InsuranceClaimAutomation
239 17
SpeechToTextControl.xaml.cs
in Kiosk/Controls
238 13
SettingsPage.xaml.cs
in Kiosk/Views
233 22
xaml
FormRecognizerExplorer.xaml
in Kiosk/Views/FormRecognizer
232 -
PdfViewerControl.xaml.cs
in Kiosk/Controls
230 16
xaml
InsuranceClaimAutomation.xaml
in Kiosk/Views/InsuranceClaimAutomation
223 -
AnomalyDetectorDemo.xaml.cs
in Kiosk/Views/AnomalyDetector
214 10
OverlayPresenter.xaml.cs
in Kiosk/Controls/Overlays/Primitives
212 10
CognitiveServiceApiKeyTester.cs
in Kiosk
211 12
Files With Most Units (Top 20)
File# lines# units
CustomVisionSetup.xaml.cs
in Kiosk/Views/CustomVision
694 46
Converters.cs
in Kiosk/Controls
371 44
FaceIdentificationSetup.xaml.cs
in Kiosk/Views
589 39
TranslatorExplorerPage.xaml.cs
in Kiosk/Views/TranslatorExplorer
539 31
FaceServiceHelper.cs
in Kiosk/ServiceHelpers
329 30
Util.cs
in Kiosk
423 28
ImageInsightsViewModel.cs
in Kiosk/Views/DigitalAssetManagement
687 27
FormRecognizerExplorer.xaml.cs
in Kiosk/Views/FormRecognizer
464 27
VisualAlertBuilderPage.xaml.cs
in Kiosk/Views/VisualAlert
466 26
RealtimeDriverMonitoring.xaml.cs
in Kiosk/Views
394 25
DigitalAssetManagementPage.xaml.cs
in Kiosk/Views/DigitalAssetManagement
355 24
RealTimeDemo.xaml.cs
in Kiosk/Views
383 24
SpeakerRecognitionModelSetup.xaml.cs
in Kiosk/Views/SpeakerRecognition
270 24
AnomalyChartControl.xaml.cs
in Kiosk/Views/AnomalyDetector
537 22
SettingsPage.xaml.cs
in Kiosk/Views
233 22
SpeechToTextExplorer.xaml.cs
in Kiosk/Views/SpeechToText
523 22
VideoInsightsPage.xaml.cs
in Kiosk/Views/VideoInsights
588 22
CameraControl.xaml.cs
in Kiosk/Controls
575 21
RealtimeImageClassification.xaml.cs
in Kiosk/Views
341 21
SpeakerRecognitionExplorer.xaml.cs
in Kiosk/Views/SpeakerRecognition
296 21
Files With Long Lines (Top 20)

There are 199 files with lines longer than 120 characters. In total, there are 2361 long lines.

File# lines# units# long lines
xaml
DigitalAssetManagementPage.xaml
in Kiosk/Views/DigitalAssetManagement
547 - 105
xaml
FaceLandmarksControl.xaml
in Kiosk/Views/FaceApiExplorer
607 - 81
xaml
SettingsPage.xaml
in Kiosk/Views
361 - 81
FaceServiceHelper.cs
in Kiosk/ServiceHelpers
329 30 64
CustomVisionSetup.xaml.cs
in Kiosk/Views/CustomVision
694 46 56
xaml
InsuranceClaimAutomation.xaml
in Kiosk/Views/InsuranceClaimAutomation
223 - 43
SettingsHelper.cs
in Kiosk
1001 20 42
xaml
FaceIdentificationSetup.xaml
in Kiosk/Views
192 - 40
InsuranceClaimAutomation.xaml.cs
in Kiosk/Views/InsuranceClaimAutomation
497 19 37
xaml
FaceApiExplorerPage.xaml
in Kiosk/Views/FaceApiExplorer
264 - 35
xaml
FormRecognizerExplorer.xaml
in Kiosk/Views/FormRecognizer
232 - 35
xaml
SpeakerRecognitionExplorer.xaml
in Kiosk/Views/SpeakerRecognition
154 - 35
CameraControl.xaml.cs
in Kiosk/Controls
575 21 34
xaml
CustomVisionSetup.xaml
in Kiosk/Views/CustomVision
175 - 34
SpeechToTextExplorer.xaml.cs
in Kiosk/Views/SpeechToText
523 22 34
xaml
VisionApiExplorer.xaml
in Kiosk/Views
326 - 34
xaml
DemoLauncherPage.xaml
in Kiosk/Views/DemoLauncher
169 - 32
FaceApiExplorerPage.xaml.cs
in Kiosk/Views/FaceApiExplorer
288 11 30
VideoInsightsPage.xaml.cs
in Kiosk/Views/VideoInsights
588 22 30
Util.cs
in Kiosk
423 28 29