aws-samples / cycle-store-core-mvc-app
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 27 files with 2,339 lines of code.
    • 1 very long files (1,535 lines of code)
    • 0 long files (0 lines of code)
    • 0 medium size files (0 lines of codeclsfd_ftr_w_mp_ins)
    • 3 small files (395 lines of code)
    • 23 very small files (409 lines of code)
65% | 0% | 0% | 16% | 17%
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
css100% | 0% | 0% | 0% | 0%
yaml0% | 0% | 0% | 100% | 0%
cs0% | 0% | 0% | 27% | 72%
cshtml0% | 0% | 0% | 0% | 100%
yml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
AdventureWorksMVCCore.Web/wwwroot/css100% | 0% | 0% | 0% | 0%
ROOT0% | 0% | 0% | 100% | 0%
AdventureWorksMVCCore.Web/Models0% | 0% | 0% | 58% | 41%
AdventureWorksMVCCore.Web/Views/Shared0% | 0% | 0% | 0% | 100%
AdventureWorksMVCCore.Web0% | 0% | 0% | 0% | 100%
AdventureWorksMVCCore.Web/Controllers0% | 0% | 0% | 0% | 100%
AdventureWorksMVCCore.Web/Service/Implementation0% | 0% | 0% | 0% | 100%
AdventureWorksMVCCore.Web/Views/Home0% | 0% | 0% | 0% | 100%
AdventureWorksMVCCore.Web/Service/Interface0% | 0% | 0% | 0% | 100%
AdventureWorksMVCCore.Web/Views0% | 0% | 0% | 0% | 100%
Longest Files (Top 27)
File# lines# units
StyleSheet.css
in AdventureWorksMVCCore.Web/wwwroot/css
1535 -
SqlServerRDSFixedUidPwd.yaml
in root
157 -
SqlServerRDSWithUidPwd.yaml
in root
134 -
CYCLE_STOREContext.cs
in AdventureWorksMVCCore.Web/Models
104 4
Startup.cs
in AdventureWorksMVCCore.Web
53 3
Product.cs
in AdventureWorksMVCCore.Web/Models
33 -
HomeController.cs
in AdventureWorksMVCCore.Web/Controllers
32 4
cshtml
_Layout.cshtml
in AdventureWorksMVCCore.Web/Views/Shared
27 -
cshtml
Default.cshtml
in AdventureWorksMVCCore.Web/Views/Shared/Components/Content
25 -
ServicesConfiguration.cs
in AdventureWorksMVCCore.Web
24 -
Program.cs
in AdventureWorksMVCCore.Web
24 2
ContentLayout.cs
in AdventureWorksMVCCore.Web/Views/Shared/Components/Content
23 2
CategoryService.cs
in AdventureWorksMVCCore.Web/Service/Implementation
22 2
cshtml
Error.cshtml
in AdventureWorksMVCCore.Web/Views/Shared
22 -
cshtml
Default.cshtml
in AdventureWorksMVCCore.Web/Views/Shared/Components/Header
18 -
ProductCategory.cs
in AdventureWorksMVCCore.Web/Models
17 1
docker-compose.debug.yml
in AdventureWorksMVCCore.Web
14 -
ProductSubcategory.cs
in AdventureWorksMVCCore.Web/Models
14 -
HeaderLayout.cs
in AdventureWorksMVCCore.Web/Views/Shared/Components/Header
11 1
ContentLayoutModel.cs
in AdventureWorksMVCCore.Web/Views/Shared/Components/Content
10 -
ICategoryService.cs
in AdventureWorksMVCCore.Web/Service/Interface
9 -
cshtml
Index.cshtml
in AdventureWorksMVCCore.Web/Views/Home
9 -
ErrorViewModel.cs
in AdventureWorksMVCCore.Web/Models
9 -
cshtml
Privacy.cshtml
in AdventureWorksMVCCore.Web/Views/Home
5 -
cshtml
_ViewImports.cshtml
in AdventureWorksMVCCore.Web/Views
3 -
cshtml
_ViewStart.cshtml
in AdventureWorksMVCCore.Web/Views
3 -
cshtml
_ValidationScriptsPartial.cshtml
in AdventureWorksMVCCore.Web/Views/Shared
2 -
Files With Most Units (Top 8)
File# lines# units
HomeController.cs
in AdventureWorksMVCCore.Web/Controllers
32 4
CYCLE_STOREContext.cs
in AdventureWorksMVCCore.Web/Models
104 4
Startup.cs
in AdventureWorksMVCCore.Web
53 3
CategoryService.cs
in AdventureWorksMVCCore.Web/Service/Implementation
22 2
ContentLayout.cs
in AdventureWorksMVCCore.Web/Views/Shared/Components/Content
23 2
Program.cs
in AdventureWorksMVCCore.Web
24 2
HeaderLayout.cs
in AdventureWorksMVCCore.Web/Views/Shared/Components/Header
11 1
ProductCategory.cs
in AdventureWorksMVCCore.Web/Models
17 1
Files With Long Lines (Top 5)

There are 5 files with lines longer than 120 characters. In total, there are 21 long lines.

File# lines# units# long lines
StyleSheet.css
in AdventureWorksMVCCore.Web/wwwroot/css
1535 - 16
cshtml
Error.cshtml
in AdventureWorksMVCCore.Web/Views/Shared
22 - 2
ServicesConfiguration.cs
in AdventureWorksMVCCore.Web
24 - 1
CYCLE_STOREContext.cs
in AdventureWorksMVCCore.Web/Models
104 4 1
SqlServerRDSWithUidPwd.yaml
in root
134 - 1