aws / aws-sam-cli-app-templates
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 524 files with 11,123 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)
    • 17 small files (2,369 lines of code)
    • 507 very small files (8,754 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
py0% | 0% | 0% | 50% | 49%
java0% | 0% | 0% | 37% | 62%
yaml0% | 0% | 0% | 7% | 92%
cs0% | 0% | 0% | 0% | 100%
yml0% | 0% | 0% | 0% | 100%
js0% | 0% | 0% | 0% | 100%
ts0% | 0% | 0% | 0% | 100%
go0% | 0% | 0% | 0% | 100%
cfg0% | 0% | 0% | 0% | 100%
rb0% | 0% | 0% | 0% | 100%
ps10% | 0% | 0% | 0% | 100%
toml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
python3.90% | 0% | 0% | 53% | 46%
python3.80% | 0% | 0% | 49% | 50%
java8.al20% | 0% | 0% | 26% | 73%
java110% | 0% | 0% | 26% | 73%
java80% | 0% | 0% | 28% | 71%
python3.70% | 0% | 0% | 45% | 54%
python3.60% | 0% | 0% | 45% | 54%
nodejs12.x0% | 0% | 0% | 0% | 100%
dotnetcore3.10% | 0% | 0% | 0% | 100%
nodejs14.x0% | 0% | 0% | 0% | 100%
python3.8-image0% | 0% | 0% | 0% | 100%
python3.9-image0% | 0% | 0% | 0% | 100%
go1.x0% | 0% | 0% | 0% | 100%
buildspecs0% | 0% | 0% | 0% | 100%
ruby2.70% | 0% | 0% | 0% | 100%
java11-image0% | 0% | 0% | 0% | 100%
java8.al2-image0% | 0% | 0% | 0% | 100%
java8-image0% | 0% | 0% | 0% | 100%
go1.x-image0% | 0% | 0% | 0% | 100%
dotnetcore3.1-image0% | 0% | 0% | 0% | 100%
dotnet5.0-image0% | 0% | 0% | 0% | 100%
nodejs14.x-image0% | 0% | 0% | 0% | 100%
nodejs12.x-image0% | 0% | 0% | 0% | 100%
python3.7-image0% | 0% | 0% | 0% | 100%
python3.6-image0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
ruby2.7-image0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
AWSEvent.java
in java8/cookiecutter-aws-sam-eventbridge-hello-java-maven/{{cookiecutter.project_name}}/HelloWorldFunction/src/main/java/model/aws.ec2
160 31
AWSEvent.java
in java8/cookiecutter-aws-sam-eventbridge-hello-java-gradle/{{cookiecutter.project_name}}/HelloWorldFunction/src/main/java/model/aws.ec2
160 31
AWSEvent.java
in java11/cookiecutter-aws-sam-eventbridge-hello-java-maven/{{cookiecutter.project_name}}/HelloWorldFunction/src/main/java/model/aws.ec2
160 31
AWSEvent.java
in java11/cookiecutter-aws-sam-eventbridge-hello-java-gradle/{{cookiecutter.project_name}}/HelloWorldFunction/src/main/java/model/aws.ec2
160 31
AWSEvent.java
in java8.al2/cookiecutter-aws-sam-eventbridge-hello-java-maven/{{cookiecutter.project_name}}/HelloWorldFunction/src/main/java/model/aws.ec2
160 31
AWSEvent.java
in java8.al2/cookiecutter-aws-sam-eventbridge-hello-java-gradle/{{cookiecutter.project_name}}/HelloWorldFunction/src/main/java/model/aws.ec2
160 31
aws_event.py
in python3.7/cookiecutter-aws-sam-eventBridge-python/{{cookiecutter.project_name}}/hello_world_function/model/aws/ec2
152 24
aws_event.py
in python3.8/cookiecutter-aws-sam-eventBridge-python/{{cookiecutter.project_name}}/hello_world_function/model/aws/ec2
152 24
aws_event.py
in python3.6/cookiecutter-aws-sam-eventBridge-python/{{cookiecutter.project_name}}/hello_world_function/model/aws/ec2
152 24
aws_event.py
in python3.9/cookiecutter-aws-sam-eventBridge-python/{{cookiecutter.project_name}}/hello_world_function/model/aws/ec2
152 24
marshaller.py
in python3.7/cookiecutter-aws-sam-eventBridge-python/{{cookiecutter.project_name}}/hello_world_function/model/aws/ec2
118 8
marshaller.py
in python3.8/cookiecutter-aws-sam-eventBridge-python/{{cookiecutter.project_name}}/hello_world_function/model/aws/ec2
118 8
marshaller.py
in python3.6/cookiecutter-aws-sam-eventBridge-python/{{cookiecutter.project_name}}/hello_world_function/model/aws/ec2
118 8
marshaller.py
in python3.9/cookiecutter-aws-sam-eventBridge-python/{{cookiecutter.project_name}}/hello_world_function/model/aws/ec2
118 8
template.yaml
in python3.9/cookiecutter-aws-sam-step-functions-etl-python/{{cookiecutter.project_name}}
111 -
template.yaml
in python3.8/cookiecutter-aws-sam-efs-python/{{cookiecutter.project_name}}
109 -
template.yaml
in python3.9/cookiecutter-aws-sam-efs-python/{{cookiecutter.project_name}}
109 -
template.yaml
in nodejs12.x/cookiecutter-quick-start-web/{{cookiecutter.project_name}}
97 -
template.yaml
in nodejs14.x/cookiecutter-quick-start-web/{{cookiecutter.project_name}}
97 -
template.yaml
in java11/cookiecutter-aws-sam-step-functions-sample-app-maven/{{cookiecutter.project_name}}
87 -
template.yaml
in java11/cookiecutter-aws-sam-step-functions-sample-app-gradle/{{cookiecutter.project_name}}
87 -
template.yaml
in java8.al2/cookiecutter-aws-sam-step-functions-sample-app-maven/{{cookiecutter.project_name}}
87 -
template.yaml
in java8.al2/cookiecutter-aws-sam-step-functions-sample-app-gradle/{{cookiecutter.project_name}}
87 -
template.yaml
in ruby2.7/cookiecutter-aws-sam-step-functions-sample-app/{{cookiecutter.project_name}}
84 -
template.yaml
in go1.x/cookiecutter-aws-sam-hello-step-functions-sample-app/{{cookiecutter.project_name}}
84 -
template.yaml
in dotnetcore3.1/cookiecutter-aws-sam-hello-step-functions-sample-app/{{cookiecutter.project_name}}
84 -
template.yaml
in nodejs12.x/cookiecutter-aws-sam-step-functions-sample-app/{{cookiecutter.project_name}}
84 -
template.yaml
in nodejs14.x/cookiecutter-aws-sam-step-functions-sample-app/{{cookiecutter.project_name}}
84 -
template.yaml
in python3.8/cookiecutter-aws-sam-step-functions-sample-app/{{cookiecutter.project_name}}
84 -
template.yaml
in python3.9/cookiecutter-aws-sam-step-functions-sample-app/{{cookiecutter.project_name}}
84 -
BooksController.cs
in dotnetcore3.1/cookiecutter-aws-sam-quick-start-web-dotnet/{{cookiecutter.project_name}}/src/{{cookiecutter.project_name}}/Controllers
83 5
template.yaml
in nodejs12.x/cookiecutter-typescript-app-template/{{cookiecutter.project_name}}
77 -
template.yaml
in java8/cookiecutter-aws-sam-step-functions-sample-app-maven/{{cookiecutter.project_name}}
69 -
template.yaml
in java8/cookiecutter-aws-sam-step-functions-sample-app-gradle/{{cookiecutter.project_name}}
69 -
template.yaml
in python3.7/cookiecutter-aws-sam-step-functions-sample-app/{{cookiecutter.project_name}}
66 -
template.yaml
in python3.6/cookiecutter-aws-sam-step-functions-sample-app/{{cookiecutter.project_name}}
66 -
ec2_instance_state_change_notification.py
in python3.7/cookiecutter-aws-sam-eventBridge-python/{{cookiecutter.project_name}}/hello_world_function/model/aws/ec2
63 10
ec2_instance_state_change_notification.py
in python3.8/cookiecutter-aws-sam-eventBridge-python/{{cookiecutter.project_name}}/hello_world_function/model/aws/ec2
63 10
ec2_instance_state_change_notification.py
in python3.6/cookiecutter-aws-sam-eventBridge-python/{{cookiecutter.project_name}}/hello_world_function/model/aws/ec2
63 10
ec2_instance_state_change_notification.py
in python3.9/cookiecutter-aws-sam-eventBridge-python/{{cookiecutter.project_name}}/hello_world_function/model/aws/ec2
63 10
EC2InstanceStateChangeNotification.java
in java8/cookiecutter-aws-sam-eventbridge-hello-java-maven/{{cookiecutter.project_name}}/HelloWorldFunction/src/main/java/model/aws.ec2
62 10
EC2InstanceStateChangeNotification.java
in java8/cookiecutter-aws-sam-eventbridge-hello-java-gradle/{{cookiecutter.project_name}}/HelloWorldFunction/src/main/java/model/aws.ec2
62 10
EC2InstanceStateChangeNotification.java
in java11/cookiecutter-aws-sam-eventbridge-hello-java-maven/{{cookiecutter.project_name}}/HelloWorldFunction/src/main/java/model/aws.ec2
62 10
EC2InstanceStateChangeNotification.java
in java11/cookiecutter-aws-sam-eventbridge-hello-java-gradle/{{cookiecutter.project_name}}/HelloWorldFunction/src/main/java/model/aws.ec2
62 10
EC2InstanceStateChangeNotification.java
in java8.al2/cookiecutter-aws-sam-eventbridge-hello-java-maven/{{cookiecutter.project_name}}/HelloWorldFunction/src/main/java/model/aws.ec2
62 10
EC2InstanceStateChangeNotification.java
in java8.al2/cookiecutter-aws-sam-eventbridge-hello-java-gradle/{{cookiecutter.project_name}}/HelloWorldFunction/src/main/java/model/aws.ec2
62 10
app.py
in python3.9-image/cookiecutter-ml-apigw-pytorch/{{cookiecutter.project_name}}/app
50 3
template.yaml
in dotnetcore3.1/cookiecutter-aws-sam-quick-start-web-dotnet/{{cookiecutter.project_name}}
49 -
Function.cs
in dotnetcore3.1/cookiecutter-aws-sam-quick-start-s3-dotnet/{{cookiecutter.project_name}}/src/{{cookiecutter.project_name}}
47 3
app.py
in python3.8-image/cookiecutter-ml-apigw-xgboost/{{cookiecutter.project_name}}/app
46 4
Files With Most Units (Top 20)
File# lines# units
AWSEvent.java
in java8/cookiecutter-aws-sam-eventbridge-hello-java-maven/{{cookiecutter.project_name}}/HelloWorldFunction/src/main/java/model/aws.ec2
160 31
AWSEvent.java
in java8/cookiecutter-aws-sam-eventbridge-hello-java-gradle/{{cookiecutter.project_name}}/HelloWorldFunction/src/main/java/model/aws.ec2
160 31
AWSEvent.java
in java11/cookiecutter-aws-sam-eventbridge-hello-java-maven/{{cookiecutter.project_name}}/HelloWorldFunction/src/main/java/model/aws.ec2
160 31
AWSEvent.java
in java11/cookiecutter-aws-sam-eventbridge-hello-java-gradle/{{cookiecutter.project_name}}/HelloWorldFunction/src/main/java/model/aws.ec2
160 31
AWSEvent.java
in java8.al2/cookiecutter-aws-sam-eventbridge-hello-java-maven/{{cookiecutter.project_name}}/HelloWorldFunction/src/main/java/model/aws.ec2
160 31
AWSEvent.java
in java8.al2/cookiecutter-aws-sam-eventbridge-hello-java-gradle/{{cookiecutter.project_name}}/HelloWorldFunction/src/main/java/model/aws.ec2
160 31
aws_event.py
in python3.7/cookiecutter-aws-sam-eventBridge-python/{{cookiecutter.project_name}}/hello_world_function/model/aws/ec2
152 24
aws_event.py
in python3.8/cookiecutter-aws-sam-eventBridge-python/{{cookiecutter.project_name}}/hello_world_function/model/aws/ec2
152 24
aws_event.py
in python3.6/cookiecutter-aws-sam-eventBridge-python/{{cookiecutter.project_name}}/hello_world_function/model/aws/ec2
152 24
aws_event.py
in python3.9/cookiecutter-aws-sam-eventBridge-python/{{cookiecutter.project_name}}/hello_world_function/model/aws/ec2
152 24
EC2InstanceStateChangeNotification.java
in java8/cookiecutter-aws-sam-eventbridge-hello-java-maven/{{cookiecutter.project_name}}/HelloWorldFunction/src/main/java/model/aws.ec2
62 10
EC2InstanceStateChangeNotification.java
in java8/cookiecutter-aws-sam-eventbridge-hello-java-gradle/{{cookiecutter.project_name}}/HelloWorldFunction/src/main/java/model/aws.ec2
62 10
EC2InstanceStateChangeNotification.java
in java11/cookiecutter-aws-sam-eventbridge-hello-java-maven/{{cookiecutter.project_name}}/HelloWorldFunction/src/main/java/model/aws.ec2
62 10
EC2InstanceStateChangeNotification.java
in java11/cookiecutter-aws-sam-eventbridge-hello-java-gradle/{{cookiecutter.project_name}}/HelloWorldFunction/src/main/java/model/aws.ec2
62 10
ec2_instance_state_change_notification.py
in python3.7/cookiecutter-aws-sam-eventBridge-python/{{cookiecutter.project_name}}/hello_world_function/model/aws/ec2
63 10
ec2_instance_state_change_notification.py
in python3.8/cookiecutter-aws-sam-eventBridge-python/{{cookiecutter.project_name}}/hello_world_function/model/aws/ec2
63 10
ec2_instance_state_change_notification.py
in python3.6/cookiecutter-aws-sam-eventBridge-python/{{cookiecutter.project_name}}/hello_world_function/model/aws/ec2
63 10
ec2_instance_state_change_notification.py
in python3.9/cookiecutter-aws-sam-eventBridge-python/{{cookiecutter.project_name}}/hello_world_function/model/aws/ec2
63 10
EC2InstanceStateChangeNotification.java
in java8.al2/cookiecutter-aws-sam-eventbridge-hello-java-maven/{{cookiecutter.project_name}}/HelloWorldFunction/src/main/java/model/aws.ec2
62 10
EC2InstanceStateChangeNotification.java
in java8.al2/cookiecutter-aws-sam-eventbridge-hello-java-gradle/{{cookiecutter.project_name}}/HelloWorldFunction/src/main/java/model/aws.ec2
62 10
Files With Long Lines (Top 20)

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

File# lines# units# long lines
App.java
in java8/cookiecutter-aws-sam-eventbridge-hello-java-maven/{{cookiecutter.project_name}}/HelloWorldFunction/src/main/java/helloworld
25 2 2
App.java
in java8/cookiecutter-aws-sam-eventbridge-schema-app-java-gradle/{{cookiecutter.project_name}}/{{cookiecutter.function_name}}/src/main/java/helloworld
25 2 2
App.java
in java8/cookiecutter-aws-sam-eventbridge-hello-java-gradle/{{cookiecutter.project_name}}/HelloWorldFunction/src/main/java/helloworld
25 2 2
App.java
in java8/cookiecutter-aws-sam-eventbridge-schema-app-java-maven/{{cookiecutter.project_name}}/{{cookiecutter.function_name}}/src/main/java/helloworld
25 2 2
App.java
in java11/cookiecutter-aws-sam-eventbridge-hello-java-maven/{{cookiecutter.project_name}}/HelloWorldFunction/src/main/java/helloworld
25 2 2
App.java
in java11/cookiecutter-aws-sam-eventbridge-schema-app-java-gradle/{{cookiecutter.project_name}}/{{cookiecutter.function_name}}/src/main/java/helloworld
25 2 2
App.java
in java11/cookiecutter-aws-sam-eventbridge-hello-java-gradle/{{cookiecutter.project_name}}/HelloWorldFunction/src/main/java/helloworld
25 2 2
Function.cs
in dotnet5.0-image/cookiecutter-aws-sam-hello-dotnet-lambda-image/{{cookiecutter.project_name}}/src/HelloWorld
36 2 2
Function.cs
in dotnetcore3.1/cookiecutter-aws-sam-hello-dotnet/{{cookiecutter.project_name}}/src/HelloWorld
36 2 2
Function.cs
in dotnetcore3.1-image/cookiecutter-aws-sam-hello-dotnet-lambda-image/{{cookiecutter.project_name}}/src/HelloWorld
36 2 2
App.java
in java8.al2/cookiecutter-aws-sam-eventbridge-hello-java-maven/{{cookiecutter.project_name}}/HelloWorldFunction/src/main/java/helloworld
25 2 2
App.java
in java8.al2/cookiecutter-aws-sam-eventbridge-schema-app-java-gradle/{{cookiecutter.project_name}}/{{cookiecutter.function_name}}/src/main/java/hellow...
25 2 2
App.java
in java8.al2/cookiecutter-aws-sam-eventbridge-hello-java-gradle/{{cookiecutter.project_name}}/HelloWorldFunction/src/main/java/helloworld
25 2 2
App.java
in java8.al2/cookiecutter-aws-sam-eventbridge-schema-app-java-maven/{{cookiecutter.project_name}}/{{cookiecutter.function_name}}/src/main/java/helloworld
25 2 2
App.java
in java11/cookiecutter-aws-sam-eventbridge-schema-app-java-maven/{{cookiecutter.project_name}}/{{cookiecutter.function_name}}/src/main/java/helloworld
23 2 1
Function.cs
in dotnetcore3.1/cookiecutter-aws-sam-quick-start-s3-dotnet/{{cookiecutter.project_name}}/src/{{cookiecutter.project_name}}
47 3 1
Function.cs
in dotnetcore3.1/cookiecutter-aws-sam-hello-step-functions-sample-app/{{cookiecutter.project_name}}/functions/StockSeller
33 1 1
Function.cs
in dotnetcore3.1/cookiecutter-aws-sam-hello-step-functions-sample-app/{{cookiecutter.project_name}}/functions/StockBuyer
33 1 1
Function.cs
in dotnetcore3.1/cookiecutter-aws-sam-hello-step-functions-sample-app/{{cookiecutter.project_name}}/functions/StockChecker
21 1 1
Function.ps1
in dotnetcore3.1/cookiecutter-aws-sam-hello-powershell/{{cookiecutter.project_name}}/src
32 - 1