microsoft / Windows-AppConsult-PWALab
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 190 files with 20,370 lines of code.
    • 0 very long files (0 lines of code)
    • 12 long files (8,170 lines of code)
    • 6 medium size files (1,878 lines of codeclsfd_ftr_w_mp_ins)
    • 42 small files (6,048 lines of code)
    • 130 very small files (4,274 lines of code)
0% | 40% | 9% | 29% | 20%
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
html0% | 58% | 0% | 34% | 7%
css0% | 0% | 95% | 0% | 4%
scss0% | 0% | 0% | 31% | 68%
js0% | 0% | 0% | 48% | 51%
cs0% | 0% | 0% | 0% | 100%
cshtml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
Exercise3/02-End/Contoso.Dashboard0% | 41% | 9% | 30% | 18%
Exercise2/02-End/Contoso.Dashboard0% | 42% | 9% | 31% | 16%
Exercise3/01-Start/Contoso.Dashboard0% | 42% | 9% | 31% | 16%
Exercise1/02-End/Contoso.Dashboard0% | 43% | 9% | 31% | 15%
Exercise2/01-Start/Contoso.Dashboard0% | 43% | 9% | 31% | 15%
Exercise1/01-Start/Contoso.Dashboard0% | 43% | 9% | 32% | 14%
Exercise3/01-Start/Contoso.PushServer0% | 0% | 0% | 0% | 100%
Exercise3/02-End/Contoso.PushServer0% | 0% | 0% | 0% | 100%
Exercise3/02-End/Contoso.WebAPI0% | 0% | 0% | 0% | 100%
Exercise3/01-Start/Contoso.WebAPI0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
index.html
in Lab/Exercise1/02-End/Contoso.Dashboard
719 -
index.html
in Lab/Exercise2/01-Start/Contoso.Dashboard
719 -
index.html
in Lab/Exercise2/02-End/Contoso.Dashboard
719 -
index.html
in Lab/Exercise3/01-Start/Contoso.Dashboard
719 -
index.html
in Lab/Exercise3/02-End/Contoso.Dashboard
719 -
index.html
in Lab/Exercise1/01-Start/Contoso.Dashboard
717 -
tables.html
in Lab/Exercise1/01-Start/Contoso.Dashboard
643 -
tables.html
in Lab/Exercise1/02-End/Contoso.Dashboard
643 -
tables.html
in Lab/Exercise2/01-Start/Contoso.Dashboard
643 -
tables.html
in Lab/Exercise2/02-End/Contoso.Dashboard
643 -
tables.html
in Lab/Exercise3/01-Start/Contoso.Dashboard
643 -
tables.html
in Lab/Exercise3/02-End/Contoso.Dashboard
643 -
sb-admin.css
in Lab/Exercise1/01-Start/Contoso.Dashboard/css
313 -
sb-admin.css
in Lab/Exercise1/02-End/Contoso.Dashboard/css
313 -
sb-admin.css
in Lab/Exercise2/01-Start/Contoso.Dashboard/css
313 -
sb-admin.css
in Lab/Exercise2/02-End/Contoso.Dashboard/css
313 -
sb-admin.css
in Lab/Exercise3/01-Start/Contoso.Dashboard/css
313 -
sb-admin.css
in Lab/Exercise3/02-End/Contoso.Dashboard/css
313 -
charts.html
in Lab/Exercise1/01-Start/Contoso.Dashboard
187 -
charts.html
in Lab/Exercise1/02-End/Contoso.Dashboard
187 -
charts.html
in Lab/Exercise2/01-Start/Contoso.Dashboard
187 -
charts.html
in Lab/Exercise2/02-End/Contoso.Dashboard
187 -
charts.html
in Lab/Exercise3/01-Start/Contoso.Dashboard
187 -
charts.html
in Lab/Exercise3/02-End/Contoso.Dashboard
187 -
notifications.html
in Lab/Exercise1/01-Start/Contoso.Dashboard
154 -
notifications.html
in Lab/Exercise1/02-End/Contoso.Dashboard
154 -
notifications.html
in Lab/Exercise2/01-Start/Contoso.Dashboard
154 -
notifications.html
in Lab/Exercise2/02-End/Contoso.Dashboard
154 -
notifications.html
in Lab/Exercise3/01-Start/Contoso.Dashboard
154 -
notifications.html
in Lab/Exercise3/02-End/Contoso.Dashboard
154 -
404.html
in Lab/Exercise1/01-Start/Contoso.Dashboard
152 -
offline.html
in Lab/Exercise1/01-Start/Contoso.Dashboard
152 -
404.html
in Lab/Exercise1/02-End/Contoso.Dashboard
152 -
offline.html
in Lab/Exercise1/02-End/Contoso.Dashboard
152 -
404.html
in Lab/Exercise2/01-Start/Contoso.Dashboard
152 -
offline.html
in Lab/Exercise2/01-Start/Contoso.Dashboard
152 -
404.html
in Lab/Exercise2/02-End/Contoso.Dashboard
152 -
offline.html
in Lab/Exercise2/02-End/Contoso.Dashboard
152 -
404.html
in Lab/Exercise3/01-Start/Contoso.Dashboard
152 -
offline.html
in Lab/Exercise3/01-Start/Contoso.Dashboard
152 -
404.html
in Lab/Exercise3/02-End/Contoso.Dashboard
152 -
offline.html
in Lab/Exercise3/02-End/Contoso.Dashboard
152 -
blank.html
in Lab/Exercise1/01-Start/Contoso.Dashboard
150 -
blank.html
in Lab/Exercise1/02-End/Contoso.Dashboard
150 -
blank.html
in Lab/Exercise2/01-Start/Contoso.Dashboard
150 -
blank.html
in Lab/Exercise2/02-End/Contoso.Dashboard
150 -
blank.html
in Lab/Exercise3/01-Start/Contoso.Dashboard
150 -
blank.html
in Lab/Exercise3/02-End/Contoso.Dashboard
150 -
_navbar.scss
in Lab/Exercise1/01-Start/Contoso.Dashboard/scss
109 -
_navbar.scss
in Lab/Exercise1/02-End/Contoso.Dashboard/scss
109 -
Files With Most Units (Top 20)
File# lines# units
sb-admin.js
in Lab/Exercise1/01-Start/Contoso.Dashboard/js
64 9
sb-admin.js
in Lab/Exercise1/02-End/Contoso.Dashboard/js
64 9
sb-admin.js
in Lab/Exercise2/01-Start/Contoso.Dashboard/js
64 9
sb-admin.js
in Lab/Exercise2/02-End/Contoso.Dashboard/js
88 9
sb-admin.js
in Lab/Exercise3/01-Start/Contoso.Dashboard/js
80 9
sb-admin.js
in Lab/Exercise3/02-End/Contoso.Dashboard/js
80 9
PushController.cs
in Lab/Exercise3/02-End/Contoso.WebAPI/Controllers
72 4
Startup.cs
in Lab/Exercise3/01-Start/Contoso.PushServer
44 3
PushController.cs
in Lab/Exercise3/01-Start/Contoso.WebAPI/Controllers
57 3
Startup.cs
in Lab/Exercise3/01-Start/Contoso.WebAPI
47 3
sb-pwa.js
in Lab/Exercise3/02-End/Contoso.Dashboard/js
61 3
Startup.cs
in Lab/Exercise3/02-End/Contoso.PushServer
44 3
Startup.cs
in Lab/Exercise3/02-End/Contoso.WebAPI
47 3
Index.cshtml.cs
in Lab/Exercise3/01-Start/Contoso.PushServer/Pages
28 2
Index.cshtml.cs
in Lab/Exercise3/02-End/Contoso.PushServer/Pages
28 2
Error.cshtml.cs
in Lab/Exercise3/01-Start/Contoso.PushServer/Pages
20 1
Privacy.cshtml.cs
in Lab/Exercise3/01-Start/Contoso.PushServer/Pages
15 1
Program.cs
in Lab/Exercise3/01-Start/Contoso.PushServer
23 1
Program.cs
in Lab/Exercise3/01-Start/Contoso.WebAPI
22 1
Error.cshtml.cs
in Lab/Exercise3/02-End/Contoso.PushServer/Pages
20 1
Files With Long Lines (Top 20)

There are 72 files with lines longer than 120 characters. In total, there are 310 long lines.

File# lines# units# long lines
404.html
in Lab/Exercise1/01-Start/Contoso.Dashboard
152 - 6
blank.html
in Lab/Exercise1/01-Start/Contoso.Dashboard
150 - 6
charts.html
in Lab/Exercise1/01-Start/Contoso.Dashboard
187 - 6
index.html
in Lab/Exercise1/01-Start/Contoso.Dashboard
717 - 6
notifications.html
in Lab/Exercise1/01-Start/Contoso.Dashboard
154 - 6
offline.html
in Lab/Exercise1/01-Start/Contoso.Dashboard
152 - 6
tables.html
in Lab/Exercise1/01-Start/Contoso.Dashboard
643 - 6
404.html
in Lab/Exercise1/02-End/Contoso.Dashboard
152 - 6
blank.html
in Lab/Exercise1/02-End/Contoso.Dashboard
150 - 6
charts.html
in Lab/Exercise1/02-End/Contoso.Dashboard
187 - 6
index.html
in Lab/Exercise1/02-End/Contoso.Dashboard
719 - 6
notifications.html
in Lab/Exercise1/02-End/Contoso.Dashboard
154 - 6
offline.html
in Lab/Exercise1/02-End/Contoso.Dashboard
152 - 6
tables.html
in Lab/Exercise1/02-End/Contoso.Dashboard
643 - 6
404.html
in Lab/Exercise2/01-Start/Contoso.Dashboard
152 - 6
blank.html
in Lab/Exercise2/01-Start/Contoso.Dashboard
150 - 6
charts.html
in Lab/Exercise2/01-Start/Contoso.Dashboard
187 - 6
index.html
in Lab/Exercise2/01-Start/Contoso.Dashboard
719 - 6
notifications.html
in Lab/Exercise2/01-Start/Contoso.Dashboard
154 - 6
offline.html
in Lab/Exercise2/01-Start/Contoso.Dashboard
152 - 6