aws-samples / aws-netcoreapi-aurora-cdk
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 20 files with 744 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)
    • 1 small files (159 lines of code)
    • 19 very small files (585 lines of code)
0% | 0% | 0% | 21% | 78%
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% | 23% | 76%
props0% | 0% | 0% | 0% | 100%
yml0% | 0% | 0% | 0% | 100%
targets0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
cdk/src/Todo0% | 0% | 0% | 69% | 30%
cdk/src/Todo/Modules0% | 0% | 0% | 0% | 100%
webapi/Controllers0% | 0% | 0% | 0% | 100%
webapi/Models0% | 0% | 0% | 0% | 100%
cdk/src/Todo/Utilities0% | 0% | 0% | 0% | 100%
webapi0% | 0% | 0% | 0% | 100%
webapi/obj0% | 0% | 0% | 0% | 100%
cdk/config0% | 0% | 0% | 0% | 100%
cdk/src/Todo/obj0% | 0% | 0% | 0% | 100%
Longest Files (Top 20)
File# lines# units
TodoInfraStack.cs
in cdk/src/Todo
159 1
TodoContext.cs
in webapi/Models
78 5
FargateTaskRole.cs
in cdk/src/Todo/Modules
60 2
FargateExecutionRole.cs
in cdk/src/Todo/Modules
59 2
Constants.cs
in cdk/src/Todo
56 -
TodoController.cs
in webapi/Controllers
48 6
ServiceBuilder.cs
in cdk/src/Todo/Utilities
45 -
ServiceProvider.cs
in cdk/src/Todo/Utilities
40 1
Startup.cs
in webapi
35 3
ValuesController.cs
in webapi/Controllers
34 5
buildspec.yml
in cdk/config
24 -
props
todo-app.csproj.nuget.g.props
in webapi/obj
20 -
Program.cs
in webapi
20 2
props
Todo.csproj.nuget.g.props
in cdk/src/Todo/obj
15 -
Program.cs
in cdk/src/Todo
13 1
EnvironmentVariable.cs
in cdk/src/Todo/Modules
9 -
Todo.cs
in webapi/Models
9 -
Parameters.cs
in webapi/Controllers
8 -
targets
Todo.csproj.nuget.g.targets
in cdk/src/Todo/obj
6 -
targets
todo-app.csproj.nuget.g.targets
in webapi/obj
6 -
Files With Most Units (Top 10)
File# lines# units
TodoController.cs
in webapi/Controllers
48 6
ValuesController.cs
in webapi/Controllers
34 5
TodoContext.cs
in webapi/Models
78 5
Startup.cs
in webapi
35 3
FargateTaskRole.cs
in cdk/src/Todo/Modules
60 2
FargateExecutionRole.cs
in cdk/src/Todo/Modules
59 2
Program.cs
in webapi
20 2
TodoInfraStack.cs
in cdk/src/Todo
159 1
ServiceProvider.cs
in cdk/src/Todo/Utilities
40 1
Program.cs
in cdk/src/Todo
13 1
Files With Long Lines (Top 3)

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

File# lines# units# long lines
props
todo-app.csproj.nuget.g.props
in webapi/obj
20 - 5
props
Todo.csproj.nuget.g.props
in cdk/src/Todo/obj
15 - 2
TodoInfraStack.cs
in cdk/src/Todo
159 1 2