aws-samples / amazon-ecs-dotnet-app-graviton
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 37 files with 1,582 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 0 medium size files (0 lines of codeclsfd_ftr_w_mp_ins)
    • 4 small files (547 lines of code)
    • 33 very small files (1,035 lines of code)
0% | 0% | 0% | 34% | 65%
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% | 0% | 0% | 50% | 49%
cshtml0% | 0% | 0% | 0% | 100%
css0% | 0% | 0% | 0% | 100%
js0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
app/Controllers0% | 0% | 0% | 100% | 0%
app/Data0% | 0% | 0% | 78% | 21%
app/Views/Home0% | 0% | 0% | 0% | 100%
app/Migrations0% | 0% | 0% | 0% | 100%
app0% | 0% | 0% | 0% | 100%
app/Models0% | 0% | 0% | 0% | 100%
app/Views/Account0% | 0% | 0% | 0% | 100%
app/Views/Shared0% | 0% | 0% | 0% | 100%
app/wwwroot/css0% | 0% | 0% | 0% | 100%
app/Attribute0% | 0% | 0% | 0% | 100%
app/Views0% | 0% | 0% | 0% | 100%
app/wwwroot/js0% | 0% | 0% | 0% | 100%
Longest Files (Top 37)
File# lines# units
HomeController.cs
in app/Controllers
167 10
DbHelper.cs
in app/Data
132 4
AppUserStore.cs
in app/Data
127 15
AccountController.cs
in app/Controllers
121 9
20210407143338_InitialCreate.Designer.cs
in app/Migrations
79 1
MvcMovieContextModelSnapshot.cs
in app/Migrations
77 1
cshtml
Index.cshtml
in app/Views/Home
76 -
Startup.cs
in app
71 3
20210407143338_InitialCreate.cs
in app/Migrations
66 2
site.css
in app/wwwroot/css
54 -
AppRoleStore.cs
in app/Data
54 11
cshtml
Details.cshtml
in app/Views/Home
46 -
cshtml
Edit.cshtml
in app/Views/Home
44 -
cshtml
Create.cshtml
in app/Views/Home
43 -
Program.cs
in app
43 2
cshtml
Delete.cshtml
in app/Views/Home
41 -
cshtml
_Layout.cshtml
in app/Views/Shared
40 -
cshtml
ChangePassword.cshtml
in app/Views/Account
34 -
cshtml
_LoginPartial.cshtml
in app/Views/Shared
29 -
cshtml
SetPassword.cshtml
in app/Views/Account
27 -
cshtml
Error.cshtml
in app/Views/Shared
22 -
ChangePassword.cs
in app/Models
20 -
cshtml
Login.cshtml
in app/Views/Account
19 -
EnforceChangePasswordAttribute.cs
in app/Attribute
18 1
AppRole.cs
in app/Models
18 -
SetPassword.cs
in app/Models
16 -
cshtml
ChangePasswordConfirmation.cshtml
in app/Views/Account
15 -
Movie.cs
in app/Models
15 -
MvcMovieContext.cs
in app/Data
15 1
MovieGenreViewModel.cs
in app/Models
14 -
Login.cs
in app/Models
13 -
AppUser.cs
in app/Models
9 -
ErrorViewModel.cs
in app/Models
8 -
cshtml
_ViewImports.cshtml
in app/Views
3 -
cshtml
_ViewStart.cshtml
in app/Views
3 -
cshtml
_ValidationScriptsPartial.cshtml
in app/Views/Shared
2 -
site.js
in app/wwwroot/js
1 -
Files With Most Units (Top 12)
File# lines# units
AppUserStore.cs
in app/Data
127 15
AppRoleStore.cs
in app/Data
54 11
HomeController.cs
in app/Controllers
167 10
AccountController.cs
in app/Controllers
121 9
DbHelper.cs
in app/Data
132 4
Startup.cs
in app
71 3
20210407143338_InitialCreate.cs
in app/Migrations
66 2
Program.cs
in app
43 2
EnforceChangePasswordAttribute.cs
in app/Attribute
18 1
MvcMovieContextModelSnapshot.cs
in app/Migrations
77 1
20210407143338_InitialCreate.Designer.cs
in app/Migrations
79 1
MvcMovieContext.cs
in app/Data
15 1
Files With Long Lines (Top 7)

There are 7 files with lines longer than 120 characters. In total, there are 15 long lines.

File# lines# units# long lines
cshtml
_LoginPartial.cshtml
in app/Views/Shared
29 - 3
AccountController.cs
in app/Controllers
121 9 3
HomeController.cs
in app/Controllers
167 10 3
cshtml
Error.cshtml
in app/Views/Shared
22 - 2
AppUserStore.cs
in app/Data
127 15 2
cshtml
_Layout.cshtml
in app/Views/Shared
40 - 1
Startup.cs
in app
71 3 1