microsoft / Windows-AppConsult-samples-PWA
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 159 files with 36,841 lines of code.
    • 3 very long files (32,215 lines of code)
    • 0 long files (0 lines of code)
    • 0 medium size files (0 lines of codeclsfd_ftr_w_mp_ins)
    • 10 small files (1,312 lines of code)
    • 146 very small files (3,314 lines of code)
87% | 0% | 0% | 3% | 8%
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
js98% | 0% | 0% | <1% | <1%
css98% | 0% | 0% | 0% | 1%
cs0% | 0% | 0% | 24% | 75%
jsproj0% | 0% | 0% | 57% | 42%
cshtml0% | 0% | 0% | 30% | 69%
html0% | 0% | 0% | 0% | 100%
ts0% | 0% | 0% | 0% | 100%
yml0% | 0% | 0% | 0% | 100%
cmd0% | 0% | 0% | 0% | 100%
pri0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
Canvas98% | 0% | 0% | <1% | 1%
ToastActivationWithPushNotifications0% | 0% | 0% | 44% | 55%
AlexaSkill0% | 0% | 0% | 100% | 0%
MyFullTrustPWA0% | 0% | 0% | 33% | 66%
DevCenterNotifications-PWA0% | 0% | 0% | 71% | 28%
OneDriveAlexaSkill0% | 0% | 0% | 68% | 31%
PWADotNetCore0% | 0% | 0% | 25% | 74%
ToastActivation0% | 0% | 0% | 19% | 80%
Docker0% | 0% | 0% | 0% | 100%
WindowsAPIs0% | 0% | 0% | 0% | 100%
PWAFromScratch0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
base.js
in Canvas/CanvasSimple/lib/winjs-4.0.1/js
17977 1433
ui-dark.css
in Canvas/CanvasSimple/lib/winjs-4.0.1/css
7119 -
ui-light.css
in Canvas/CanvasSimple/lib/winjs-4.0.1/css
7119 -
main.js
in Canvas/CanvasSimple/js
178 18
Alexa.cs
in AlexaSkill/AlexaSkill
165 3
jsproj
MyPWA.jsproj
in MyFullTrustPWA/MyUWP1.Package
153 -
cshtml
Index.cshtml
in ToastActivationWithPushNotifications/ToastWebsite/Pages
127 -
jsproj
MyNgHWA.jsproj
in DevCenterNotifications-PWA/MyNgHWA
125 -
Skill.cs
in OneDriveAlexaSkill/OneDriveAlexaSkill
122 4
Form1.Designer.cs
in ToastActivationWithPushNotifications/PushTestserver
121 2
jsproj
App.jsproj
in ToastActivationWithPushNotifications/source
111 -
cshtml
Index.cshtml
in PWADotNetCore/PWADotNetCore/Pages
106 -
cshtml
Index.cshtml
in ToastActivation/ToastWebsite/Pages
104 -
default.css
in Canvas/CanvasSimple/css
95 -
cshtml
Index.cshtml
in Docker/TestWebApp/Pages
93 -
web-aks.yml
in Docker
88 -
jsproj
CanvasSimple.jsproj
in Canvas/CanvasSimple
79 -
jsproj
PWACanvas.jsproj
in Canvas/PWACanvas
75 -
jsproj
MyNgHWA.jsproj
in WindowsAPIs/MyNgHWA
74 -
cshtml
_Layout.cshtml
in Docker/TestWebApp/Pages/Shared
69 -
cshtml
_Layout.cshtml
in PWADotNetCore/PWADotNetCore/Pages
68 -
cshtml
_Layout.cshtml
in ToastActivation/ToastWebsite/Pages
68 -
cshtml
_Layout.cshtml
in ToastActivationWithPushNotifications/ToastWebsite/Pages
68 -
jsproj
App.jsproj
in ToastActivation/source
65 -
Form1.cs
in ToastActivationWithPushNotifications/PushTestserver
60 2
notifications.component.ts
in WindowsAPIs/MyNgApp/ClientApp/src/app/notifications
57 3
ValidateRequestExtension.cs
in OneDriveAlexaSkill/OneDriveAlexaSkill/Extensions
56 1
nav-menu.component.css
in WindowsAPIs/MyNgApp/ClientApp/src/app/nav-menu
52 -
RegisterBackgroundTask.cs
in MyFullTrustPWA/WRCBackgroundTasks
51 3
Startup.cs
in WindowsAPIs/MyNgApp
51 3
NewsController.cs
in Docker/TestWebApi/Controllers
50 -
ToastHelper.cs
in MyFullTrustPWA/WRCBackgroundTasks
48 2
Startup.cs
in Docker/TestWebApp
47 3
Startup.cs
in PWADotNetCore/PWADotNetCore
42 3
SampleDataController.cs
in WindowsAPIs/MyNgApp/Controllers
40 1
cshtml
_CookieConsentPartial.cshtml
in Docker/TestWebApp/Pages/Shared
39 -
nav-menu.component.html
in WindowsAPIs/MyNgApp/ClientApp/src/app/nav-menu
38 -
Startup.cs
in ToastActivation/ToastWebsite
37 3
cshtml
About.cshtml
in ToastActivationWithPushNotifications/ToastWebsite/Pages
37 -
cshtml
About.cshtml
in ToastActivation/ToastWebsite/Pages
36 -
ValuesController.cs
in Docker/TestWebApi/Controllers
35 4
Startup.cs
in Docker/TestWebApi
35 3
app.module.ts
in WindowsAPIs/MyNgApp/ClientApp/src/app
35 -
index.html
in Canvas/CanvasSimple
33 -
Startup.cs
in ToastActivationWithPushNotifications/ToastWebsite
33 3
web.yml
in Docker
28 -
TimerTask.cs
in MyFullTrustPWA/WRCBackgroundTasks
27 2
msapp-error.html
in Canvas/PWACanvas
26 -
pwabuilder-sw.js
in PWAFromScratch/WebApp/Progressive
26 2
msapp-error.html
in WindowsAPIs/MyNgHWA
26 -
Files With Most Units (Top 20)
File# lines# units
base.js
in Canvas/CanvasSimple/lib/winjs-4.0.1/js
17977 1433
main.js
in Canvas/CanvasSimple/js
178 18
ValuesController.cs
in Docker/TestWebApi/Controllers
35 4
Skill.cs
in OneDriveAlexaSkill/OneDriveAlexaSkill
122 4
Alexa.cs
in AlexaSkill/AlexaSkill
165 3
Startup.cs
in Docker/TestWebApi
35 3
Startup.cs
in Docker/TestWebApp
47 3
main.js
in MyFullTrustPWA/MyUWP1.Package/js
13 3
RegisterBackgroundTask.cs
in MyFullTrustPWA/WRCBackgroundTasks
51 3
Startup.cs
in PWADotNetCore/PWADotNetCore
42 3
Startup.cs
in ToastActivation/ToastWebsite
37 3
Startup.cs
in ToastActivationWithPushNotifications/ToastWebsite
33 3
notifications.component.ts
in WindowsAPIs/MyNgApp/ClientApp/src/app/notifications
57 3
Startup.cs
in WindowsAPIs/MyNgApp
51 3
msapp-error.js
in Canvas/PWACanvas
19 2
Program.cs
in MyFullTrustPWA/LauncherWin32
22 2
TimerTask.cs
in MyFullTrustPWA/WRCBackgroundTasks
27 2
ToastHelper.cs
in MyFullTrustPWA/WRCBackgroundTasks
48 2
pwabuilder-sw.js
in PWAFromScratch/WebApp/Progressive
26 2
Form1.Designer.cs
in ToastActivationWithPushNotifications/PushTestserver
121 2
Files With Long Lines (Top 20)

There are 43 files with lines longer than 120 characters. In total, there are 576 long lines.

File# lines# units# long lines
base.js
in Canvas/CanvasSimple/lib/winjs-4.0.1/js
17977 1433 268
ui-dark.css
in Canvas/CanvasSimple/lib/winjs-4.0.1/css
7119 - 109
ui-light.css
in Canvas/CanvasSimple/lib/winjs-4.0.1/css
7119 - 106
Form1.Designer.cs
in ToastActivationWithPushNotifications/PushTestserver
121 2 9
home.component.html
in WindowsAPIs/MyNgApp/ClientApp/src/app/home
15 - 6
cshtml
Index.cshtml
in PWADotNetCore/PWADotNetCore/Pages
106 - 5
jsproj
CanvasSimple.jsproj
in Canvas/CanvasSimple
79 - 4
jsproj
PWACanvas.jsproj
in Canvas/PWACanvas
75 - 4
jsproj
MyNgHWA.jsproj
in DevCenterNotifications-PWA/MyNgHWA
125 - 4
cshtml
Index.cshtml
in Docker/TestWebApp/Pages
93 - 4
jsproj
MyPWA.jsproj
in MyFullTrustPWA/MyUWP1.Package
153 - 4
jsproj
App.jsproj
in ToastActivation/source
65 - 4
jsproj
App.jsproj
in ToastActivationWithPushNotifications/source
111 - 4
jsproj
MyNgHWA.jsproj
in WindowsAPIs/MyNgHWA
74 - 4
cshtml
_CookieConsentPartial.cshtml
in Docker/TestWebApp/Pages/Shared
39 - 3
pri
resources.pri
in ToastActivation/source
3 - 3
pri
resources.pri
in ToastActivationWithPushNotifications/source
3 - 3
cshtml
Error.cshtml
in Docker/TestWebApp/Pages
20 - 2
main.js
in MyFullTrustPWA/MyUWP1.Package/js
13 3 2
cshtml
Error.cshtml
in PWADotNetCore/PWADotNetCore/Pages
20 - 2