aws-samples / legacy-cycle-store-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 22 files with 2,056 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)
    • 1 small files (112 lines of code)
    • 20 very small files (409 lines of code)
74% | 0% | 0% | 5% | 19%
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% | 0% | 100%
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
AdventureWorksMVC/css100% | 0% | 0% | 0% | 0%
ROOT0% | 0% | 0% | 100% | 0%
AdventureWorksMVC/Business0% | 0% | 0% | 0% | 100%
AdventureWorksMVC/Views0% | 0% | 0% | 0% | 100%
AdventureWorksMVC/Controllers0% | 0% | 0% | 0% | 100%
AdventureWorksMVC/App_Start0% | 0% | 0% | 0% | 100%
AdventureWorksMVC0% | 0% | 0% | 0% | 100%
AdventureWorksMVC/Properties0% | 0% | 0% | 0% | 100%
AdventureWorksMVC/Helpers0% | 0% | 0% | 0% | 100%
AdventureWorksMVC/Models0% | 0% | 0% | 0% | 100%
Longest Files (Top 22)
File# lines# units
StyleSheet.css
in AdventureWorksMVC/css
1535 -
SqlServerRDSFixedUidPwd.yaml
in root
112 -
ProductManager.cs
in AdventureWorksMVC/Business
95 10
SiteLayoutController.cs
in AdventureWorksMVC/Controllers
33 3
CategoryManager.cs
in AdventureWorksMVC/Business
30 3
cshtml
ContentLayout.cshtml
in AdventureWorksMVC/Views/SiteLayout
28 -
cshtml
_SiteLayout.cshtml
in AdventureWorksMVC/Views/Shared
27 -
RouteConfig.cs
in AdventureWorksMVC/App_Start
21 1
Global.asax.cs
in AdventureWorksMVC
20 1
cshtml
HeaderLayout.cshtml
in AdventureWorksMVC/Views/SiteLayout
18 -
WebApiConfig.cs
in AdventureWorksMVC/App_Start
18 1
ErrorController.cs
in AdventureWorksMVC/Controllers
17 2
AssemblyInfo.cs
in AdventureWorksMVC/Properties
15 -
WebResource.cs
in AdventureWorksMVC/Helpers
14 1
HomeController.cs
in AdventureWorksMVC/Controllers
14 1
SiteLayoutModel.cs
in AdventureWorksMVC/Models
13 -
Common.cs
in AdventureWorksMVC/Business
13 -
FilterConfig.cs
in AdventureWorksMVC/App_Start
12 1
cshtml
Default.cshtml
in AdventureWorksMVC/Views/Home
11 -
cshtml
Default.cshtml
in AdventureWorksMVC/Views/Error
8 -
asax
Global.asax
in AdventureWorksMVC
1 -
CycleModel.Designer.cs
in AdventureWorksMVC/Business
1 -
Files With Most Units (Top 10)
File# lines# units
ProductManager.cs
in AdventureWorksMVC/Business
95 10
SiteLayoutController.cs
in AdventureWorksMVC/Controllers
33 3
CategoryManager.cs
in AdventureWorksMVC/Business
30 3
ErrorController.cs
in AdventureWorksMVC/Controllers
17 2
RouteConfig.cs
in AdventureWorksMVC/App_Start
21 1
FilterConfig.cs
in AdventureWorksMVC/App_Start
12 1
WebApiConfig.cs
in AdventureWorksMVC/App_Start
18 1
WebResource.cs
in AdventureWorksMVC/Helpers
14 1
Global.asax.cs
in AdventureWorksMVC
20 1
HomeController.cs
in AdventureWorksMVC/Controllers
14 1
Files With Long Lines (Top 1)

There is only one file with lines longer than 120 characters. In total, there are 16 long lines.

File# lines# units# long lines
StyleSheet.css
in AdventureWorksMVC/css
1535 - 16