aws-samples / dotnet-modernization-music-store
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 57 files with 3,691 lines of code.
    • 1 very long files (1,115 lines of code)
    • 0 long files (0 lines of code)
    • 2 medium size files (696 lines of codeclsfd_ftr_w_mp_ins)
    • 3 small files (441 lines of code)
    • 51 very small files (1,439 lines of code)
30% | 0% | 18% | 11% | 38%
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
yml100% | 0% | 0% | 0% | 0%
cs0% | 0% | 37% | 24% | 37%
css0% | 0% | 25% | 15% | 58%
cshtml0% | 0% | 0% | 0% | 100%
asax0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
static100% | 0% | 0% | 0% | 0%
MvcMusicStore/Models0% | 0% | 56% | 18% | 24%
MvcMusicStore/Content0% | 0% | 100% | 0% | 0%
MvcMusicStore/Content/themes0% | 0% | 0% | 20% | 79%
MvcMusicStore/Controllers0% | 0% | 0% | 45% | 54%
MvcMusicStore/Views/Account0% | 0% | 0% | 0% | 100%
MvcMusicStore/Views/ShoppingCart0% | 0% | 0% | 0% | 100%
MvcMusicStore/Views/Store0% | 0% | 0% | 0% | 100%
MvcMusicStore/Views/Shared0% | 0% | 0% | 0% | 100%
MvcMusicStore/Views/Checkout0% | 0% | 0% | 0% | 100%
MvcMusicStore0% | 0% | 0% | 0% | 100%
MvcMusicStore/ViewModels0% | 0% | 0% | 0% | 100%
MvcMusicStore/Views/Home0% | 0% | 0% | 0% | 100%
MvcMusicStore/Properties0% | 0% | 0% | 0% | 100%
MvcMusicStore/Views0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
app2container_demo_template.yml
in static
1115 -
SampleData.cs
in MvcMusicStore/Models
426 1
Site.css
in MvcMusicStore/Content
270 -
datepicker.css
in MvcMusicStore/Content/themes/base
161 -
AccountController.cs
in MvcMusicStore/Controllers
140 10
ShoppingCart.cs
in MvcMusicStore/Models
140 11
cshtml
Index.cshtml
in MvcMusicStore/Views/ShoppingCart
95 -
button.css
in MvcMusicStore/Content/themes/base
92 -
resizable.css
in MvcMusicStore/Content/themes/base
70 -
core.css
in MvcMusicStore/Content/themes/base
63 -
slider.css
in MvcMusicStore/Content/themes/base
61 -
dialog.css
in MvcMusicStore/Content/themes/base
60 -
CheckoutController.cs
in MvcMusicStore/Controllers
60 3
ShoppingCartController.cs
in MvcMusicStore/Controllers
54 4
cshtml
Register.cshtml
in MvcMusicStore/Views/Account
52 -
AccountModels.cs
in MvcMusicStore/Models
52 -
spinner.css
in MvcMusicStore/Content/themes/base
50 -
selectmenu.css
in MvcMusicStore/Content/themes/base
48 -
menu.css
in MvcMusicStore/Content/themes/base
46 -
Order.cs
in MvcMusicStore/Models
46 -
cshtml
ChangePassword.cshtml
in MvcMusicStore/Views/Account
45 -
tabs.css
in MvcMusicStore/Content/themes/base
41 -
cshtml
LogOn.cshtml
in MvcMusicStore/Views/Account
39 -
cshtml
_Layout.cshtml
in MvcMusicStore/Views/Shared
32 -
StoreController.cs
in MvcMusicStore/Controllers
32 4
Album.cs
in MvcMusicStore/Models
30 -
Global.asax.cs
in MvcMusicStore
28 3
accordion.css
in MvcMusicStore/Content/themes/base
26 -
cshtml
Details.cshtml
in MvcMusicStore/Views/Store
26 -
cshtml
AddressAndPayment.cshtml
in MvcMusicStore/Views/Checkout
24 -
HomeController.cs
in MvcMusicStore/Controllers
23 2
cshtml
Browse.cshtml
in MvcMusicStore/Views/Store
18 -
base.css
in MvcMusicStore/Content/themes/base
17 -
cshtml
Index.cshtml
in MvcMusicStore/Views/Home
17 -
AssemblyInfo.cs
in MvcMusicStore/Properties
14 -
Cart.cs
in MvcMusicStore/Models
14 -
cshtml
Index.cshtml
in MvcMusicStore/Views/Store
13 -
MusicStoreEntities.cs
in MvcMusicStore/Models
13 -
OrderDetail.cs
in MvcMusicStore/Models
13 -
tooltip.css
in MvcMusicStore/Content/themes/base
11 -
ShoppingCartRemoveViewModel.cs
in MvcMusicStore/ViewModels
11 -
Genre.cs
in MvcMusicStore/Models
11 -
cshtml
GenreMenu.cshtml
in MvcMusicStore/Views/Store
10 -
ShoppingCartViewModel.cs
in MvcMusicStore/ViewModels
10 -
selectable.css
in MvcMusicStore/Content/themes/base
9 -
cshtml
Complete.cshtml
in MvcMusicStore/Views/Checkout
9 -
cshtml
_LoginPartial.cshtml
in MvcMusicStore/Views/Shared
8 -
Artist.cs
in MvcMusicStore/Models
8 -
cshtml
Error.cshtml
in MvcMusicStore/Views/Shared
7 -
cshtml
ChangePasswordSuccess.cshtml
in MvcMusicStore/Views/Account
7 -
Files With Most Units (Top 8)
File# lines# units
ShoppingCart.cs
in MvcMusicStore/Models
140 11
AccountController.cs
in MvcMusicStore/Controllers
140 10
ShoppingCartController.cs
in MvcMusicStore/Controllers
54 4
StoreController.cs
in MvcMusicStore/Controllers
32 4
Global.asax.cs
in MvcMusicStore
28 3
CheckoutController.cs
in MvcMusicStore/Controllers
60 3
HomeController.cs
in MvcMusicStore/Controllers
23 2
SampleData.cs
in MvcMusicStore/Models
426 1
Files With Long Lines (Top 3)

There are 3 files with lines longer than 120 characters. In total, there are 252 long lines.

File# lines# units# long lines
SampleData.cs
in MvcMusicStore/Models
426 1 246
AccountController.cs
in MvcMusicStore/Controllers
140 10 5
app2container_demo_template.yml
in static
1115 - 1