aws-samples / java-spring-boot-ecs-fargate-redis-caching
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 14 files with 1,105 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 3 medium size files (686 lines of codeclsfd_ftr_w_mp_ins)
    • 0 small files (0 lines of code)
    • 11 very small files (419 lines of code)
0% | 0% | 62% | 0% | 37%
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
yaml0% | 0% | 77% | 0% | 22%
java0% | 0% | 0% | 0% | 100%
html0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
cfn/infra0% | 0% | 68% | 0% | 31%
cfn/applications0% | 0% | 100% | 0% | 0%
src/main/java/com/example/redis/utilities0% | 0% | 0% | 0% | 100%
src/main/resources/templates0% | 0% | 0% | 0% | 100%
src/main/java/com/example/redis/controller0% | 0% | 0% | 0% | 100%
src/main/java/com/example/redis/services0% | 0% | 0% | 0% | 100%
src/main/java/com/example/redis/configuration0% | 0% | 0% | 0% | 100%
src/main/java/com/example/redis0% | 0% | 0% | 0% | 100%
Longest Files (Top 14)
File# lines# units
java-spring-boot-service.yaml
in cfn/applications
262 -
main.yaml
in cfn/infra
213 -
vpc.yaml
in cfn/infra
211 -
ecs.yaml
in cfn/infra
95 -
FargateMetaData.java
in src/main/java/com/example/redis/utilities
77 8
redis.yaml
in cfn/infra
58 -
SpringSessionController.java
in src/main/java/com/example/redis/controller
51 5
index.html
in src/main/resources/templates
38 -
cloud-map.yaml
in cfn/infra
24 -
ecr.yaml
in cfn/infra
21 -
ImportantService.java
in src/main/java/com/example/redis/services
18 2
cacheable.html
in src/main/resources/templates
15 -
RedisConfigureAction.java
in src/main/java/com/example/redis/configuration
11 1
SpringBootRedisApplication.java
in src/main/java/com/example/redis
11 1
Files With Most Units (Top 5)
File# lines# units
FargateMetaData.java
in src/main/java/com/example/redis/utilities
77 8
SpringSessionController.java
in src/main/java/com/example/redis/controller
51 5
ImportantService.java
in src/main/java/com/example/redis/services
18 2
RedisConfigureAction.java
in src/main/java/com/example/redis/configuration
11 1
SpringBootRedisApplication.java
in src/main/java/com/example/redis
11 1
Files With Long Lines (Top 3)

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

File# lines# units# long lines
vpc.yaml
in cfn/infra
211 - 5
main.yaml
in cfn/infra
213 - 5
index.html
in src/main/resources/templates
38 - 1