aws-samples / aws-net-guides
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 58 files with 3,240 lines of code.
    • 0 very long files (0 lines of code)
    • 1 long files (591 lines of code)
    • 2 medium size files (419 lines of codeclsfd_ftr_w_mp_ins)
    • 5 small files (679 lines of code)
    • 50 very small files (1,551 lines of code)
0% | 18% | 12% | 20% | 47%
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
css0% | 85% | 0% | 0% | 14%
cs0% | 0% | 22% | 27% | 49%
js0% | 0% | 0% | 41% | 58%
cshtml0% | 0% | 0% | 0% | 100%
ps10% | 0% | 0% | 0% | 100%
html0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
Serverless/Serverless Web App with React, DynamoDb, and X-Ray0% | 40% | 0% | 10% | 48%
Storage/Glacier0% | 0% | 100% | 0% | 0%
Storage/DynamoDb0% | 0% | 26% | 48% | 25%
Storage/S30% | 0% | 0% | 100% | 0%
Containers/Deploy-ASP.NET-Core-To-Fargate0% | 0% | 0% | 0% | 100%
Migration/SQL_on_EC20% | 0% | 0% | 0% | 100%
Storage/Kinesis0% | 0% | 0% | 0% | 100%
Communications/SES-SendMail-Example0% | 0% | 0% | 0% | 100%
Serverless/Serverless App with Dynamo-Example0% | 0% | 0% | 0% | 100%
Communications/ParameterStore-Example0% | 0% | 0% | 0% | 100%
Serverless/Create .NET Lambda Function0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
agency.css
in Serverless/Serverless Web App with React, DynamoDb, and X-Ray/ClientApp/src
591 -
Program.cs
in Storage/Glacier/SampleApplication
210 9
TablesController.cs
in Storage/DynamoDb/SampleApplication/Controllers/LowLevel
209 7
Quiz.js
in Serverless/Serverless Web App with React, DynamoDb, and X-Ray/ClientApp/src/components
149 12
Program.cs
in Storage/S3/SampleApplication
140 8
ProductsController.cs
in Storage/DynamoDb/SampleApplication/Controllers/ObjectPersistence
139 5
ProductsController.cs
in Storage/DynamoDb/SampleApplication/Controllers/Document
136 5
ItemsController.cs
in Storage/DynamoDb/SampleApplication/Controllers/LowLevel
115 5
Program.cs
in Storage/Kinesis/SampleApplication
94 4
Restore-AdventureWorks.ps1
in Migration/SQL_on_EC2/Code/Scripts
84 -
DBDataService.cs
in Serverless/Serverless Web App with React, DynamoDb, and X-Ray/DynamoDBSvcLib/DynamoDBSvcLib
82 5
registerServiceWorker.js
in Serverless/Serverless Web App with React, DynamoDb, and X-Ray/ClientApp/src
73 4
cshtml
_Layout.cshtml
in Containers/Deploy-ASP.NET-Core-To-Fargate/SampleApplication/Views/Shared
73 -
Song.cs
in Serverless/Serverless Web App with React, DynamoDb, and X-Ray/DynamoDBSvcLib/DynamoDBSvcLib
70 1
Startup.cs
in Serverless/Serverless Web App with React, DynamoDb, and X-Ray
63 3
NavMenu.css
in Serverless/Serverless Web App with React, DynamoDb, and X-Ray/ClientApp/src/components
53 -
Startup.cs
in Containers/Deploy-ASP.NET-Core-To-Fargate/SampleApplication
49 3
DynamoDBContextBuilder.cs
in Storage/DynamoDb/SampleApplication/Utilities
47 2
LyricsController.cs
in Serverless/Serverless Web App with React, DynamoDb, and X-Ray/Controllers
46 3
DynamoDBTableBuilder.cs
in Storage/DynamoDb/SampleApplication/Utilities
46 2
site.css
in Containers/Deploy-ASP.NET-Core-To-Fargate/SampleApplication/wwwroot/css
42 -
Program.cs
in Communications/SES-SendMail-Example/SampleApplication
40 1
Startup.cs
in Storage/DynamoDb/SampleApplication
40 3
Function.cs
in Serverless/Serverless App with Dynamo-Example/TestServerless/TestServerless
36 3
Program.cs
in Communications/ParameterStore-Example/SampleApplication
36 2
Install-SQL-short.ps1
in Migration/SQL_on_EC2/Code/Scripts
35 -
CloudAuthService.cs
in Serverless/Serverless Web App with React, DynamoDb, and X-Ray/DynamoDBSvcLib/DynamoDBSvcLib
35 3
Lyrics.js
in Serverless/Serverless Web App with React, DynamoDb, and X-Ray/ClientApp/src/components
33 3
AmazonExceptionHandlers.cs
in Storage/DynamoDb/SampleApplication/Utilities
32 3
NavMenu.js
in Serverless/Serverless Web App with React, DynamoDb, and X-Ray/ClientApp/src/components
30 -
Layout.js
in Serverless/Serverless Web App with React, DynamoDb, and X-Ray/ClientApp/src/components
26 -
HomeController.cs
in Containers/Deploy-ASP.NET-Core-To-Fargate/SampleApplication/Controllers
26 3
cshtml
_CookieConsentPartial.cshtml
in Containers/Deploy-ASP.NET-Core-To-Fargate/SampleApplication/Views/Shared
23 -
Program.cs
in Storage/DynamoDb/SampleApplication
23 1
LocalEntryPoint.cs
in Serverless/Serverless Web App with React, DynamoDb, and X-Ray
22 1
cshtml
Error.cshtml
in Containers/Deploy-ASP.NET-Core-To-Fargate/SampleApplication/Views/Shared
22 -
Program.cs
in Containers/Deploy-ASP.NET-Core-To-Fargate/SampleApplication
22 1
Program.cs
in Serverless/Serverless Web App with React, DynamoDb, and X-Ray/DynamoDBSvcLib/ConsoleTest
21 1
index.js
in Serverless/Serverless Web App with React, DynamoDb, and X-Ray/ClientApp/src
20 -
LambdaEntryPoint.cs
in Serverless/Serverless Web App with React, DynamoDb, and X-Ray
19 1
App.js
in Serverless/Serverless Web App with React, DynamoDb, and X-Ray/ClientApp/src
18 -
index.html
in Serverless/Serverless Web App with React, DynamoDb, and X-Ray/ClientApp/public
18 -
cshtml
_ValidationScriptsPartial.cshtml
in Containers/Deploy-ASP.NET-Core-To-Fargate/SampleApplication/Views/Shared
18 -
Function.cs
in Serverless/Create .NET Lambda Function/dotnetlambda/src/dotnetlambda
16 1
Product.cs
in Storage/DynamoDb/SampleApplication/ObjectPersistenceModels
14 -
AWSOptions.cs
in Serverless/Serverless Web App with React, DynamoDb, and X-Ray/DynamoDBSvcLib/DynamoDBSvcLib
13 1
IData.cs
in Serverless/Serverless Web App with React, DynamoDb, and X-Ray/DynamoDBSvcLib/DynamoDBSvcLib
12 -
IAWSAppService.cs
in Serverless/Serverless Web App with React, DynamoDb, and X-Ray/DynamoDBSvcLib/DynamoDBSvcLib
12 -
QuizAnswer.cs
in Serverless/Serverless Web App with React, DynamoDb, and X-Ray/Models
12 -
SongViewModel.cs
in Serverless/Serverless Web App with React, DynamoDb, and X-Ray/DynamoDBSvcLib/DynamoDBSvcLib
9 -
Files With Most Units (Top 20)
File# lines# units
Quiz.js
in Serverless/Serverless Web App with React, DynamoDb, and X-Ray/ClientApp/src/components
149 12
Program.cs
in Storage/Glacier/SampleApplication
210 9
Program.cs
in Storage/S3/SampleApplication
140 8
TablesController.cs
in Storage/DynamoDb/SampleApplication/Controllers/LowLevel
209 7
DBDataService.cs
in Serverless/Serverless Web App with React, DynamoDb, and X-Ray/DynamoDBSvcLib/DynamoDBSvcLib
82 5
ProductsController.cs
in Storage/DynamoDb/SampleApplication/Controllers/ObjectPersistence
139 5
ItemsController.cs
in Storage/DynamoDb/SampleApplication/Controllers/LowLevel
115 5
ProductsController.cs
in Storage/DynamoDb/SampleApplication/Controllers/Document
136 5
registerServiceWorker.js
in Serverless/Serverless Web App with React, DynamoDb, and X-Ray/ClientApp/src
73 4
Program.cs
in Storage/Kinesis/SampleApplication
94 4
CloudAuthService.cs
in Serverless/Serverless Web App with React, DynamoDb, and X-Ray/DynamoDBSvcLib/DynamoDBSvcLib
35 3
Lyrics.js
in Serverless/Serverless Web App with React, DynamoDb, and X-Ray/ClientApp/src/components
33 3
LyricsController.cs
in Serverless/Serverless Web App with React, DynamoDb, and X-Ray/Controllers
46 3
Startup.cs
in Serverless/Serverless Web App with React, DynamoDb, and X-Ray
63 3
Function.cs
in Serverless/Serverless App with Dynamo-Example/TestServerless/TestServerless
36 3
HomeController.cs
in Containers/Deploy-ASP.NET-Core-To-Fargate/SampleApplication/Controllers
26 3
Startup.cs
in Containers/Deploy-ASP.NET-Core-To-Fargate/SampleApplication
49 3
AmazonExceptionHandlers.cs
in Storage/DynamoDb/SampleApplication/Utilities
32 3
Startup.cs
in Storage/DynamoDb/SampleApplication
40 3
Program.cs
in Communications/ParameterStore-Example/SampleApplication
36 2
Files With Long Lines (Top 18)

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

File# lines# units# long lines
Restore-AdventureWorks.ps1
in Migration/SQL_on_EC2/Code/Scripts
84 - 6
Install-SQL-short.ps1
in Migration/SQL_on_EC2/Code/Scripts
35 - 5
cshtml
_Layout.cshtml
in Containers/Deploy-ASP.NET-Core-To-Fargate/SampleApplication/Views/Shared
73 - 4
Song.cs
in Serverless/Serverless Web App with React, DynamoDb, and X-Ray/DynamoDBSvcLib/DynamoDBSvcLib
70 1 2
Quiz.js
in Serverless/Serverless Web App with React, DynamoDb, and X-Ray/ClientApp/src/components
149 12 2
cshtml
Error.cshtml
in Containers/Deploy-ASP.NET-Core-To-Fargate/SampleApplication/Views/Shared
22 - 2
cshtml
_CookieConsentPartial.cshtml
in Containers/Deploy-ASP.NET-Core-To-Fargate/SampleApplication/Views/Shared
23 - 2
TablesController.cs
in Storage/DynamoDb/SampleApplication/Controllers/LowLevel
209 7 2
DBDataService.cs
in Serverless/Serverless Web App with React, DynamoDb, and X-Ray/DynamoDBSvcLib/DynamoDBSvcLib
82 5 1
CloudAuthService.cs
in Serverless/Serverless Web App with React, DynamoDb, and X-Ray/DynamoDBSvcLib/DynamoDBSvcLib
35 3 1
Layout.js
in Serverless/Serverless Web App with React, DynamoDb, and X-Ray/ClientApp/src/components
26 - 1
agency.css
in Serverless/Serverless Web App with React, DynamoDb, and X-Ray/ClientApp/src
591 - 1
LyricsController.cs
in Serverless/Serverless Web App with React, DynamoDb, and X-Ray/Controllers
46 3 1
cshtml
_ValidationScriptsPartial.cshtml
in Containers/Deploy-ASP.NET-Core-To-Fargate/SampleApplication/Views/Shared
18 - 1
Program.cs
in Communications/SES-SendMail-Example/SampleApplication
40 1 1
Program.cs
in Storage/Kinesis/SampleApplication
94 4 1
Program.cs
in Storage/Glacier/SampleApplication
210 9 1
ProductsController.cs
in Storage/DynamoDb/SampleApplication/Controllers/Document
136 5 1