aws-samples / aws-xray-dotnet-webapp
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 26 files with 990 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)
    • 3 small files (349 lines of code)
    • 23 very small files (641 lines of code)
0% | 0% | 0% | 35% | 64%
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% | 47% | 52%
html0% | 0% | 0% | 0% | 100%
asax0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
DotNETCore/Controllers0% | 0% | 0% | 100% | 0%
DotNET/src0% | 0% | 0% | 48% | 51%
DotNETCore-Agent/Controllers0% | 0% | 0% | 100% | 0%
DotNET-Agent/src0% | 0% | 0% | 0% | 100%
DotNETCore0% | 0% | 0% | 0% | 100%
DotNETCore-Agent0% | 0% | 0% | 0% | 100%
DotNETCore/wwwroot0% | 0% | 0% | 0% | 100%
DotNETCore-Agent/wwwroot0% | 0% | 0% | 0% | 100%
DotNETCore/Models0% | 0% | 0% | 0% | 100%
DotNETCore-Agent/Models0% | 0% | 0% | 0% | 100%
Longest Files (Top 26)
File# lines# units
ProductsController.cs
in DotNETCore/Controllers
128 12
ProductsController.cs
in DotNET/src/Controllers
114 9
ProductsController.cs
in DotNETCore-Agent/Controllers
107 11
ProductsController.cs
in DotNET-Agent/src/Controllers
95 8
index.html
in DotNETCore/wwwroot
62 -
index.html
in DotNETCore-Agent/wwwroot
62 -
index.html
in DotNET/src
62 -
index.html
in DotNET-Agent/src
62 -
Startup.cs
in DotNETCore
50 4
Startup.cs
in DotNETCore-Agent
40 3
Program.cs
in DotNETCore
23 1
Program.cs
in DotNETCore-Agent
23 1
Global.asax.cs
in DotNET/src
19 2
WebApiConfig.cs
in DotNET/src/App_Start
16 1
WebApiConfig.cs
in DotNET-Agent/src/App_Start
16 1
AssemblyInfo.cs
in DotNET/src/Properties
15 -
AssemblyInfo.cs
in DotNET-Agent/src/Properties
15 -
Global.asax.cs
in DotNET-Agent/src
15 2
Product.cs
in DotNETCore/Models
14 1
Product.cs
in DotNETCore-Agent/Models
14 1
ErrorViewModel.cs
in DotNETCore/Models
9 -
ErrorViewModel.cs
in DotNETCore-Agent/Models
9 -
Product.cs
in DotNET/src/Models
9 -
Product.cs
in DotNET-Agent/src/Models
9 -
asax
Global.asax
in DotNET/src
1 -
asax
Global.asax
in DotNET-Agent/src
1 -
Files With Most Units (Top 14)
File# lines# units
ProductsController.cs
in DotNETCore/Controllers
128 12
ProductsController.cs
in DotNETCore-Agent/Controllers
107 11
ProductsController.cs
in DotNET/src/Controllers
114 9
ProductsController.cs
in DotNET-Agent/src/Controllers
95 8
Startup.cs
in DotNETCore
50 4
Startup.cs
in DotNETCore-Agent
40 3
Global.asax.cs
in DotNET/src
19 2
Global.asax.cs
in DotNET-Agent/src
15 2
Product.cs
in DotNETCore/Models
14 1
Program.cs
in DotNETCore
23 1
Product.cs
in DotNETCore-Agent/Models
14 1
Program.cs
in DotNETCore-Agent
23 1
WebApiConfig.cs
in DotNET/src/App_Start
16 1
WebApiConfig.cs
in DotNET-Agent/src/App_Start
16 1
Files With Long Lines (Top 4)

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

File# lines# units# long lines
index.html
in DotNETCore/wwwroot
62 - 1
index.html
in DotNETCore-Agent/wwwroot
62 - 1
index.html
in DotNET/src
62 - 1
index.html
in DotNET-Agent/src
62 - 1