aws-observability / aws-otel-playground
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 21 files with 1,230 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 1 medium size files (320 lines of codeclsfd_ftr_w_mp_ins)
    • 3 small files (419 lines of code)
    • 17 very small files (491 lines of code)
0% | 0% | 26% | 34% | 39%
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
tf0% | 0% | 42% | 55% | 2%
kts0% | 0% | 0% | 0% | 100%
yml0% | 0% | 0% | 0% | 100%
java0% | 0% | 0% | 0% | 100%
proto0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
scripts0% | 0% | 42% | 55% | 2%
dependencyManagement0% | 0% | 0% | 0% | 100%
lambda-api0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
frontend0% | 0% | 0% | 0% | 100%
api0% | 0% | 0% | 0% | 100%
appdb0% | 0% | 0% | 0% | 100%
otel0% | 0% | 0% | 0% | 100%
backend-webflux0% | 0% | 0% | 0% | 100%
backend0% | 0% | 0% | 0% | 100%
Longest Files (Top 21)
File# lines# units
eks.tf
in scripts/terraform
320 -
ecs.tf
in scripts/terraform
197 -
api-gateway.tf
in scripts/terraform
116 -
network.tf
in scripts/terraform
106 -
build.gradle.kts
in dependencyManagement
98 -
build.gradle.kts
in appdb
49 -
build.gradle.kts
in root
48 -
build.gradle.kts
in frontend
46 -
HelloLambdaHandler.java
in lambda-api/src/main/java/io/awsobservability/opentelemetry/playground/lambdaapi
37 1
collector-config.yml
in otel
35 -
build.gradle.kts
in lambda-api
31 -
build.gradle.kts
in api
28 -
build.gradle.kts
in backend
27 -
build.gradle.kts
in backend-webflux
26 -
proto
hello-service.proto
in api/src/main/proto
21 -
settings.gradle.kts
in root
18 -
bootstrap.tf
in scripts/terraform
8 -
application.yml
in frontend/src/main/resources
7 -
lambda-layers.tf
in scripts/terraform
7 -
logs.tf
in scripts/terraform
3 -
application.yml
in backend-webflux/src/main/resources
2 -
Files With Most Units (Top 1)
File# lines# units
HelloLambdaHandler.java
in lambda-api/src/main/java/io/awsobservability/opentelemetry/playground/lambdaapi
37 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
build.gradle.kts
in frontend
46 - 1
build.gradle.kts
in lambda-api
31 - 1
ecs.tf
in scripts/terraform
197 - 1
api-gateway.tf
in scripts/terraform
116 - 1