microsoft / AISchoolTutorials
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 394 files with 44,192 lines of code.
    • 7 very long files (12,884 lines of code)
    • 8 long files (5,120 lines of code)
    • 24 medium size files (7,069 lines of codeclsfd_ftr_w_mp_ins)
    • 60 small files (8,464 lines of code)
    • 295 very small files (10,655 lines of code)
29% | 11% | 15% | 19% | 24%
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
js76% | 18% | 0% | 1% | 3%
xaml48% | 0% | 20% | 17% | 12%
cs8% | 13% | 23% | 22% | 30%
css0% | 41% | 29% | 0% | 28%
html0% | 0% | 24% | 65% | 9%
cshtml0% | 0% | 10% | 33% | 56%
py0% | 0% | 0% | 43% | 56%
yml0% | 0% | 0% | 0% | 100%
yaml0% | 0% | 0% | 0% | 100%
props0% | 0% | 0% | 0% | 100%
cfg0% | 0% | 0% | 0% | 100%
ps10% | 0% | 0% | 0% | 100%
asax0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
sketch2code/Sketch2Code.Web53% | 17% | 6% | 11% | 12%
snipinsights/windows22% | 11% | 23% | 20% | 22%
sketch2code/Sketch2Code.Core0% | 0% | 47% | 29% | 22%
pix2story/source0% | 0% | 0% | 43% | 56%
MLNETCrashCourse/00.CompleteExamples0% | 0% | 0% | 64% | 35%
style-transfer/Training0% | 0% | 0% | 36% | 63%
style-transfer/WebApp0% | 0% | 0% | 11% | 88%
MLNETCrashCourse/Common0% | 0% | 0% | 69% | 30%
sketch2code/Sketch2Code.AI0% | 0% | 0% | 0% | 100%
sketch2code/Import0% | 0% | 0% | 0% | 100%
sketch2code/Sketch2Code.Api0% | 0% | 0% | 0% | 100%
MLNETCrashCourse/05.LogisticRegression0% | 0% | 0% | 0% | 100%
MLNETCrashCourse/06.SupportVectorMachines0% | 0% | 0% | 0% | 100%
MLNETCrashCourse/03.MultipleLinearRegression0% | 0% | 0% | 0% | 100%
MLNETCrashCourse/04.PolynomialRegression0% | 0% | 0% | 0% | 100%
MLNETCrashCourse/02.LinearRegression0% | 0% | 0% | 0% | 100%
pix2story0% | 0% | 0% | 0% | 100%
MLNETCrashCourse/01.IntroductionToMLNET0% | 0% | 0% | 0% | 100%
sketch2code/model0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
bootstrap.bundle.js
in sketch2code/Sketch2Code.Web/Scripts
4010 210
xaml
SnipStyles.xaml
in snipinsights/windows/SnipInsight/ResourceDictionaries
1957 -
AppManager.cs
in snipinsights/windows/SnipInsight
1776 98
xaml
AriadneStyles.xaml
in snipinsights/windows/SnipInsight/ResourceDictionaries
1650 -
popper.js
in sketch2code/Sketch2Code.Web/Scripts/umd
1205 83
popper.js
in sketch2code/Sketch2Code.Web/Scripts/esm
1199 82
popper.js
in sketch2code/Sketch2Code.Web/Scripts
1087 71
NativeMethods.cs
in snipinsights/windows/SnipInsight/Util
812 17
RegistrySettings.cs
in snipinsights/windows/SnipInsight/Util
796 16
popper-utils.js
in sketch2code/Sketch2Code.Web/Scripts/umd
651 48
popper-utils.js
in sketch2code/Sketch2Code.Web/Scripts/esm
616 47
SnipInsightViewModel.cs
in snipinsights/windows/SnipInsight/ViewModels
603 4
popper-utils.js
in sketch2code/Sketch2Code.Web/Scripts
576 46
Site.css
in sketch2code/Sketch2Code.Web/Content
549 -
ToolWindow.xaml.cs
in snipinsights/windows/SnipInsight/Views
517 38
xaml
SettingsPanel.xaml
in snipinsights/windows/SnipInsight/Views
453 -
StateMachine.cs
in snipinsights/windows/SnipInsight/StateMachine
430 17
OneNoteManager.cs
in snipinsights/windows/SnipInsight/SendTo
423 24
OCRViewModel.cs
in snipinsights/windows/SnipInsight/AIServices/AIViewModels
406 12
main.css
in sketch2code/Sketch2Code.Web/Content
399 -
xaml
ComboBoxStyles.xaml
in snipinsights/windows/SnipInsight/ResourceDictionaries
362 -
Geometry.cs
in sketch2code/Sketch2Code.Core/Entities/BoxGeometry
351 16
KeyCombo.cs
in snipinsights/windows/SnipInsight/Util
329 19
MainWindow.xaml.cs
in snipinsights/windows/SnipInsight/Views
308 24
SettingsPanel.xaml.cs
in snipinsights/windows/SnipInsight/Views
297 26
AIPanelViewModel.cs
in snipinsights/windows/SnipInsight/ViewModels
291 14
xaml
ToolWindow.xaml
in snipinsights/windows/SnipInsight/Views
280 -
ImageCaptureWindow.xaml.cs
in snipinsights/windows/SnipInsight/ImageCapture
261 17
IndexCarrousel.html
in sketch2code/Sketch2Code.Web/Maqueta
250 -
SmartBoundaryDetection.cs
in snipinsights/windows/SnipInsight/ImageCapture
246 11
KeyComboPicker.xaml.cs
in snipinsights/windows/SnipInsight/Views
230 11
AnimationUtilities.cs
in snipinsights/windows/SnipInsight/Util
228 34
xaml
EditorSideNavigation.xaml
in snipinsights/windows/SnipInsight/Views
228 -
cshtml
_main.cshtml
in sketch2code/Sketch2Code.Web/Views/Shared
226 -
EmailManager.cs
in snipinsights/windows/SnipInsight/Email
225 3
xaml
OCRControl.xaml
in snipinsights/windows/SnipInsight/AIServices/AIComponents
221 -
ImageAnalysisViewModel.cs
in snipinsights/windows/SnipInsight/AIServices/AIViewModels
217 11
ImageHelper.cs
in sketch2code/Sketch2Code.Core/Helpers
206 4
LayoutUtilities.cs
in snipinsights/windows/SnipInsight/Views
202 23
AriModernWindow.cs
in snipinsights/windows/SnipInsight/Controls/Ariadne
200 12
ObjectDetectionAppService.cs
in sketch2code/Sketch2Code.Core/Services
199 10
DelegateCommand.cs
in snipinsights/windows/SnipInsight/ViewModels
196 13
AppController.cs
in sketch2code/Sketch2Code.Web/Controllers
193 18
AreaSelection.cs
in snipinsights/windows/SnipInsight/ImageCapture
190 7
ControlTreeEnumerator.cs
in snipinsights/windows/SnipInsight/Views
186 25
EditorSideNavigation.xaml.cs
in snipinsights/windows/SnipInsight/Views
186 13
LogUploader.cs
in snipinsights/windows/SnipInsight/Util
182 8
Index.html
in sketch2code/Sketch2Code.Web/Maqueta
178 -
cshtml
_Layout.cshtml
in sketch2code/Sketch2Code.Web/Views/Shared
177 -
LibraryPanel.xaml.cs
in snipinsights/windows/SnipInsight/Views
177 15
Files With Most Units (Top 20)
File# lines# units
bootstrap.bundle.js
in sketch2code/Sketch2Code.Web/Scripts
4010 210
AppManager.cs
in snipinsights/windows/SnipInsight
1776 98
popper.js
in sketch2code/Sketch2Code.Web/Scripts/umd
1205 83
popper.js
in sketch2code/Sketch2Code.Web/Scripts/esm
1199 82
popper.js
in sketch2code/Sketch2Code.Web/Scripts
1087 71
popper-utils.js
in sketch2code/Sketch2Code.Web/Scripts/umd
651 48
popper-utils.js
in sketch2code/Sketch2Code.Web/Scripts/esm
616 47
popper-utils.js
in sketch2code/Sketch2Code.Web/Scripts
576 46
ToolWindow.xaml.cs
in snipinsights/windows/SnipInsight/Views
517 38
AnimationUtilities.cs
in snipinsights/windows/SnipInsight/Util
228 34
SettingsPanel.xaml.cs
in snipinsights/windows/SnipInsight/Views
297 26
ControlTreeEnumerator.cs
in snipinsights/windows/SnipInsight/Views
186 25
OneNoteManager.cs
in snipinsights/windows/SnipInsight/SendTo
423 24
MainWindow.xaml.cs
in snipinsights/windows/SnipInsight/Views
308 24
LayoutUtilities.cs
in snipinsights/windows/SnipInsight/Views
202 23
utils.py
in pix2story/source/skipthoughts_vectors/encdec_functs
175 22
KeyCombo.cs
in snipinsights/windows/SnipInsight/Util
329 19
DependencyPropertyUtilities.cs
in snipinsights/windows/SnipInsight/Views
138 19
FirstRunWindow.xaml.cs
in snipinsights/windows/SnipInsight/Views
163 19
AppController.cs
in sketch2code/Sketch2Code.Web/Controllers
193 18
Files With Long Lines (Top 20)

There are 160 files with lines longer than 120 characters. In total, there are 942 long lines.

File# lines# units# long lines
bootstrap.bundle.js
in sketch2code/Sketch2Code.Web/Scripts
4010 210 56
xaml
AriadneStyles.xaml
in snipinsights/windows/SnipInsight/ResourceDictionaries
1650 - 45
xaml
SnipStyles.xaml
in snipinsights/windows/SnipInsight/ResourceDictionaries
1957 - 34
OneNoteManager.cs
in snipinsights/windows/SnipInsight/SendTo
423 24 29
IndexCarrousel.html
in sketch2code/Sketch2Code.Web/Maqueta
250 - 27
AppManager.cs
in snipinsights/windows/SnipInsight
1776 98 26
popper.js
in sketch2code/Sketch2Code.Web/Scripts
1087 71 24
popper.js
in sketch2code/Sketch2Code.Web/Scripts/esm
1199 82 23
popper.js
in sketch2code/Sketch2Code.Web/Scripts/umd
1205 83 23
RegistrySettings.cs
in snipinsights/windows/SnipInsight/Util
796 16 23
xaml
ComboBoxStyles.xaml
in snipinsights/windows/SnipInsight/ResourceDictionaries
362 - 21
xaml
SettingsPanel.xaml
in snipinsights/windows/SnipInsight/Views
453 - 20
cshtml
_Layout.cshtml
in sketch2code/Sketch2Code.Web/Views/Shared
177 - 19
DependencyPropertyUtilities.cs
in snipinsights/windows/SnipInsight/Views
138 19 19
LayoutUtilities.cs
in snipinsights/windows/SnipInsight/Views
202 23 19
cshtml
_LayoutDetails.cshtml
in sketch2code/Sketch2Code.Web/Views/Shared
174 - 18
Details.html
in sketch2code/Sketch2Code.Web/Maqueta
156 - 17
Index.html
in sketch2code/Sketch2Code.Web/Maqueta
178 - 15
cshtml
_main.cshtml
in sketch2code/Sketch2Code.Web/Views/Shared
226 - 15
RibbonComboBoxItem.cs
in snipinsights/windows/SnipInsight/Controls
90 3 14