aws-samples / serverless-kotlin-demo
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 17 files with 587 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 (138 lines of code)
    • 16 very small files (449 lines of code)
0% | 0% | 0% | 23% | 76%
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
kt0% | 0% | 0% | 29% | 70%
kts0% | 0% | 0% | 0% | 100%
yml0% | 0% | 0% | 0% | 100%
js0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
infrastructure/src/main/kotlin/com/myorg0% | 0% | 0% | 56% | 43%
software/src/main/kotlin/com/amazonaws/sample0% | 0% | 0% | 0% | 100%
load-test0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
software0% | 0% | 0% | 0% | 100%
infrastructure0% | 0% | 0% | 0% | 100%
software/src/main/kotlin/com/amazonaws/sample/model0% | 0% | 0% | 0% | 100%
Longest Files (Top 17)
File# lines# units
InfrastructureStack.kt
in infrastructure/src/main/kotlin/com/myorg
138 -
DashboardStack.kt
in infrastructure/src/main/kotlin/com/myorg
76 -
PutProductHandler.kt
in software/src/main/kotlin/com/amazonaws/sample
69 1
GetAllProductsHandler.kt
in software/src/main/kotlin/com/amazonaws/sample
52 1
GetProductHandler.kt
in software/src/main/kotlin/com/amazonaws/sample
48 1
DeleteProductHandler.kt
in software/src/main/kotlin/com/amazonaws/sample
43 1
load-test.yml
in load-test
29 -
InfrastructureApp.kt
in infrastructure/src/main/kotlin/com/myorg
29 1
generator.js
in load-test
21 -
build.gradle.kts
in software
21 -
build.gradle.kts
in root
20 -
build.gradle.kts
in infrastructure
20 -
APIGatewayV2HTTPResponseUtil.kt
in software/src/main/kotlin/com/amazonaws/sample
7 -
Product.kt
in software/src/main/kotlin/com/amazonaws/sample/model
4 -
Products.kt
in software/src/main/kotlin/com/amazonaws/sample/model
4 -
DynamoDBExtensions.kt
in software/src/main/kotlin/com/amazonaws/sample
4 -
settings.gradle.kts
in root
2 -
Files With Most Units (Top 5)
File# lines# units
PutProductHandler.kt
in software/src/main/kotlin/com/amazonaws/sample
69 1
GetAllProductsHandler.kt
in software/src/main/kotlin/com/amazonaws/sample
52 1
DeleteProductHandler.kt
in software/src/main/kotlin/com/amazonaws/sample
43 1
GetProductHandler.kt
in software/src/main/kotlin/com/amazonaws/sample
48 1
InfrastructureApp.kt
in infrastructure/src/main/kotlin/com/myorg
29 1
Files With Long Lines (Top 0)

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

File# lines# units# long lines