aws-samples / amazon-ecs-windows-authentication-blog
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 18 files with 533 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 (116 lines of code)
    • 17 very small files (417 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
ts0% | 0% | 0% | 42% | 57%
cs0% | 0% | 0% | 0% | 100%
cshtml0% | 0% | 0% | 0% | 100%
css0% | 0% | 0% | 0% | 100%
js0% | 0% | 0% | 0% | 100%
dockerignore0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
cdk/lib0% | 0% | 0% | 100% | 0%
web-site/cdk/lib0% | 0% | 0% | 0% | 100%
web-site0% | 0% | 0% | 0% | 100%
web-site/Controllers0% | 0% | 0% | 0% | 100%
web-site/Views/Shared0% | 0% | 0% | 0% | 100%
web-site/Views/Home0% | 0% | 0% | 0% | 100%
web-site/wwwroot/css0% | 0% | 0% | 0% | 100%
web-site/Models0% | 0% | 0% | 0% | 100%
web-site/Views0% | 0% | 0% | 0% | 100%
cdk0% | 0% | 0% | 0% | 100%
web-site/cdk0% | 0% | 0% | 0% | 100%
Longest Files (Top 18)
File# lines# units
cdk-stack.ts
in cdk/lib
116 1
application-stack.ts
in web-site/cdk/lib
99 1
HomeController.cs
in web-site/Controllers
63 6
database-stack.ts
in web-site/cdk/lib
59 1
Startup.cs
in web-site
44 3
cshtml
_Layout.cshtml
in web-site/Views/Shared
26 -
Program.cs
in web-site
24 2
cshtml
Error.cshtml
in web-site/Views/Shared
23 -
site.css
in web-site/wwwroot/css
16 -
cshtml
Index.cshtml
in web-site/Views/Home
12 -
dockerignore
Dockerfile.dockerignore
in web-site
11 -
ErrorViewModel.cs
in web-site/Models
9 -
jest.config.js
in cdk
7 -
jest.config.js
in web-site/cdk
7 -
cshtml
Privacy.cshtml
in web-site/Views/Home
6 -
cshtml
_ViewImports.cshtml
in web-site/Views
4 -
cshtml
_ViewStart.cshtml
in web-site/Views
4 -
cshtml
_ValidationScriptsPartial.cshtml
in web-site/Views/Shared
3 -
Files With Most Units (Top 6)
File# lines# units
HomeController.cs
in web-site/Controllers
63 6
Startup.cs
in web-site
44 3
Program.cs
in web-site
24 2
cdk-stack.ts
in cdk/lib
116 1
application-stack.ts
in web-site/cdk/lib
99 1
database-stack.ts
in web-site/cdk/lib
59 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
application-stack.ts
in web-site/cdk/lib
99 1 9
cshtml
_Layout.cshtml
in web-site/Views/Shared
26 - 4
cdk-stack.ts
in cdk/lib
116 1 3
database-stack.ts
in web-site/cdk/lib
59 1 3
cshtml
Error.cshtml
in web-site/Views/Shared
23 - 2