korosuke613 / 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 72 files with 1,261 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 (104 lines of code)
    • 71 very small files (1,157 lines of code)
0% | 0% | 0% | 8% | 91%
Legend:
1001+
501-1000
201-500
101-200
1-100


explore: grouped by folders | grouped by size | sunburst | 3D view
File Size per Extension
1001+
501-1000
201-500
101-200
1-100
tfstate0% | 0% | 0% | 100% | 0%
yaml0% | 0% | 0% | 0% | 100%
go0% | 0% | 0% | 0% | 100%
ts0% | 0% | 0% | 0% | 100%
tf0% | 0% | 0% | 0% | 100%
java0% | 0% | 0% | 0% | 100%
js0% | 0% | 0% | 0% | 100%
vue0% | 0% | 0% | 0% | 100%
rs0% | 0% | 0% | 0% | 100%
toml0% | 0% | 0% | 0% | 100%
mjs0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
terraform0% | 0% | 0% | 24% | 75%
kubernetes0% | 0% | 0% | 0% | 100%
java0% | 0% | 0% | 0% | 100%
javascript0% | 0% | 0% | 0% | 100%
aws0% | 0% | 0% | 0% | 100%
zx0% | 0% | 0% | 0% | 100%
rust0% | 0% | 0% | 0% | 100%
go0% | 0% | 0% | 0% | 100%
docker0% | 0% | 0% | 0% | 100%
earthly0% | 0% | 0% | 0% | 100%
deno0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
terraform.tfstate
in terraform/plan-test
104 -
lib.go
in terraform/plan-test
97 7
statefulset.yaml
in kubernetes/atlantis
88 -
nginx-deployment.yaml
in kubernetes/introduction-to-kubernetes/nginx
48 -
43 -
frontend-deployment.yaml
in kubernetes/introduction-to-kubernetes/guestbook
41 -
main.ts
in terraform/learn-cdktf-typescript
37 1
main.ts
in terraform/learn-cdktf-docker
33 1
GitHub.java
in java/gradle/src/main/java/korosuke613/callApi
30 2
index.vue
in javascript/nuxt3/quick_start/pages
30 -
redis-follower-deployment.yaml
in kubernetes/introduction-to-kubernetes/guestbook
30 -
redis-leader-deployment.yaml
in kubernetes/introduction-to-kubernetes/guestbook
30 -
main.go
in docker/distroless
29 2
main.rs
in rust/guissing_game/src
29 2
Ecs.yaml
in aws/ecs_exec
28 -
Main.java
in java/sandbox
27 3
variables.tf
in terraform/terratest
25 -
variables.tf
in terraform/plan-test/file
25 -
Worker.java
in java/sandbox
23 5
main.tf
in terraform/plan-test/file
21 -
nginx-replicaset.yaml
in kubernetes/introduction-to-kubernetes/nginx/not_used
19 -
ojichatToCowsay.ts
in zx/use-typescript
17 -
main.tf
in terraform/terratest
17 -
main.go
in go/helloworld
17 1
redis-leader-service.yaml
in kubernetes/introduction-to-kubernetes/guestbook
17 -
frontend-service.yaml
in kubernetes/introduction-to-kubernetes/guestbook
17 -
redis-follower-service.yaml
in kubernetes/introduction-to-kubernetes/guestbook
16 -
outputs.tf
in terraform/terratest
15 -
outputs.tf
in terraform/plan-test/file
15 -
utils.js
in javascript/strykerjs/src
15 -
typescript.ts
in zx/throw-issues
14 -
nginx-service.yaml
in kubernetes/introduction-to-kubernetes/nginx
14 -
service.yaml
in kubernetes/atlantis
14 -
jest.config.js
in terraform/learn-cdktf-typescript
13 -
jest.config.js
in terraform/learn-cdktf-docker
13 -
hello.go
in go/helloworld/libs
11 2
HelloWorld.vue
in javascript/nuxt3/quick_start/components
11 -
10 -
nginx-pod.yaml
in kubernetes/introduction-to-kubernetes/nginx/not_used
10 -
nginx-pod.yaml
in kubernetes/sandbox
10 -
awsSts.ts
in zx/use-typescript
9 -
Teacher.java
in java/sandbox
9 2
bastion.yaml
in kubernetes/introduction-to-kubernetes
9 -
nginx-pdb.yaml
in kubernetes/introduction-to-kubernetes/nginx
9 -
Main.java
in java/gradle/src/main/java/korosuke613/callApi
8 1
jest.config.js
in javascript/mswjs
8 -
Cargo.toml
in rust/guissing_game
7 -
stryker.conf.js
in javascript/strykerjs
7 -
main.tf
in terraform/plan-test
6 -
Cargo.toml
in rust/hello_cargo
6 -
Files With Most Units (Top 21)
File# lines# units
lib.go
in terraform/plan-test
97 7
Worker.java
in java/sandbox
23 5
Main.java
in java/sandbox
27 3
main.go
in docker/distroless
29 2
hello.go
in go/helloworld/libs
11 2
main.rs
in rust/guissing_game/src
29 2
GitHub.java
in java/gradle/src/main/java/korosuke613/callApi
30 2
Teacher.java
in java/sandbox
9 2
main.ts
in terraform/learn-cdktf-typescript
37 1
main.ts
in terraform/learn-cdktf-docker
33 1
calc.go
in go/helloworld/libs
4 1
main.go
in go/helloworld
17 1
main.rs
in rust/hello_cargo/src
3 1
main.rs
in rust/hello_world
3 1
Calc.java
in java/gradle/src/main/java/korosuke613/callApi
6 1
Main.java
in java/gradle/src/main/java/korosuke613/callApi
8 1
main.go
in earthly/reduce-code-duplication
5 1
main.go
in earthly/adding-dependencies-in-the-mix
5 1
main.go
in earthly/a-simple-earthfile
5 1
main.go
in earthly/efficient-caching-of-dependencies
5 1
nuxt.config.ts
in javascript/nuxt3/quick_start
4 1
Files With Long Lines (Top 2)

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

File# lines# units# long lines
lib.go
in terraform/plan-test
97 7 2
Main.java
in java/gradle/src/main/java/korosuke613/callApi
8 1 1
Correlations

File Size vs. Commits (all time): 72 points

javascript/nuxt3/quick_start/components/HelloWorld.vue x: 2 commits (all time) y: 11 lines of code javascript/nuxt3/quick_start/nuxt.config.ts x: 4 commits (all time) y: 4 lines of code javascript/nuxt3/quick_start/pages/index.vue x: 4 commits (all time) y: 30 lines of code javascript/nuxt3/quick_start/pages/nuxt_welcome.vue x: 2 commits (all time) y: 5 lines of code go/helloworld/main.go x: 3 commits (all time) y: 17 lines of code kubernetes/atlantis/service.yaml x: 3 commits (all time) y: 14 lines of code kubernetes/atlantis/statefulset.yaml x: 4 commits (all time) y: 88 lines of code terraform/plan-test/lib.go x: 3 commits (all time) y: 97 lines of code kubernetes/introduction-to-kubernetes/bastion.yaml x: 2 commits (all time) y: 9 lines of code kubernetes/introduction-to-kubernetes/guestbook/frontend-deployment.yaml x: 2 commits (all time) y: 41 lines of code kubernetes/introduction-to-kubernetes/guestbook/redis-follower-deployment.yaml x: 2 commits (all time) y: 30 lines of code kubernetes/introduction-to-kubernetes/guestbook/redis-follower-service.yaml x: 2 commits (all time) y: 16 lines of code kubernetes/introduction-to-kubernetes/guestbook/redis-leader-service.yaml x: 2 commits (all time) y: 17 lines of code kubernetes/introduction-to-kubernetes/nginx/nginx-deployment.yaml x: 2 commits (all time) y: 48 lines of code kubernetes/introduction-to-kubernetes/nginx/not_used/nginx-pod.yaml x: 2 commits (all time) y: 10 lines of code kubernetes/introduction-to-kubernetes/nginx/not_used/nginx-replicaset.yaml x: 2 commits (all time) y: 19 lines of code terraform/plan-test/file/main.tf x: 2 commits (all time) y: 21 lines of code terraform/plan-test/file/outputs.tf x: 2 commits (all time) y: 15 lines of code terraform/plan-test/file/variables.tf x: 2 commits (all time) y: 25 lines of code terraform/plan-test/main.tf x: 2 commits (all time) y: 6 lines of code terraform/plan-test/terraform.tfstate x: 2 commits (all time) y: 104 lines of code terraform/learn-cdktf-docker/jest.config.js x: 1 commits (all time) y: 13 lines of code terraform/learn-cdktf-docker/main.ts x: 1 commits (all time) y: 33 lines of code terraform/learn-cdktf-docker/setup.js x: 1 commits (all time) y: 2 lines of code terraform/learn-cdktf-typescript/main.ts x: 1 commits (all time) y: 37 lines of code aws/ecs_exec/Ecs.yaml x: 2 commits (all time) y: 28 lines of code aws/oidc/iamRoleForGha.yaml x: 2 commits (all time) y: 43 lines of code kubernetes/sandbox/nginx-pod.yaml x: 1 commits (all time) y: 10 lines of code docker/distroless/main.go x: 2 commits (all time) y: 29 lines of code java/gradle/src/main/java/korosuke613/callApi/Main.java x: 2 commits (all time) y: 8 lines of code rust/guissing_game/src/main.rs x: 3 commits (all time) y: 29 lines of code rust/guissing_game/Cargo.toml x: 1 commits (all time) y: 7 lines of code rust/hello_cargo/Cargo.toml x: 1 commits (all time) y: 6 lines of code rust/hello_cargo/src/main.rs x: 1 commits (all time) y: 3 lines of code javascript/strykerjs/stryker.conf.js x: 3 commits (all time) y: 7 lines of code javascript/strykerjs/jest.config.js x: 1 commits (all time) y: 5 lines of code javascript/strykerjs/src/utils.js x: 1 commits (all time) y: 15 lines of code javascript/mswjs/jest.config.js x: 1 commits (all time) y: 8 lines of code deno/sandbox/helloWorld.ts x: 1 commits (all time) y: 1 lines of code zx/throw-issues/echo.ts x: 3 commits (all time) y: 3 lines of code zx/throw-issues/typescript.ts x: 1 commits (all time) y: 14 lines of code zx/use-typescript/awsSts.ts x: 1 commits (all time) y: 9 lines of code zx/use-typescript/ojichatToCowsay.ts x: 1 commits (all time) y: 17 lines of code zx/helloWorld.mjs x: 2 commits (all time) y: 2 lines of code java/sandbox/Main.java x: 2 commits (all time) y: 27 lines of code javascript/sandbox/index.ts x: 1 commits (all time) y: 4 lines of code go/helloworld/libs/hello.go x: 1 commits (all time) y: 11 lines of code java/sandbox/Worker.java x: 1 commits (all time) y: 23 lines of code
104.0
lines of code
  min: 1.0
  average: 17.51
  25th percentile: 5.0
  median: 11.0
  75th percentile: 24.5
  max: 104.0
0 4.0
commits (all time)
min: 1.0 | average: 1.74 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 2.0 | max: 4.0

File Size vs. Contributors (all time): 72 points

javascript/nuxt3/quick_start/components/HelloWorld.vue x: 2 contributors (all time) y: 11 lines of code javascript/nuxt3/quick_start/nuxt.config.ts x: 2 contributors (all time) y: 4 lines of code javascript/nuxt3/quick_start/pages/index.vue x: 2 contributors (all time) y: 30 lines of code javascript/nuxt3/quick_start/pages/nuxt_welcome.vue x: 2 contributors (all time) y: 5 lines of code go/helloworld/main.go x: 3 contributors (all time) y: 17 lines of code kubernetes/atlantis/service.yaml x: 2 contributors (all time) y: 14 lines of code kubernetes/atlantis/statefulset.yaml x: 2 contributors (all time) y: 88 lines of code terraform/plan-test/lib.go x: 2 contributors (all time) y: 97 lines of code kubernetes/introduction-to-kubernetes/guestbook/frontend-service.yaml x: 2 contributors (all time) y: 17 lines of code kubernetes/introduction-to-kubernetes/bastion.yaml x: 2 contributors (all time) y: 9 lines of code kubernetes/introduction-to-kubernetes/guestbook/frontend-deployment.yaml x: 2 contributors (all time) y: 41 lines of code kubernetes/introduction-to-kubernetes/guestbook/redis-follower-service.yaml x: 2 contributors (all time) y: 16 lines of code kubernetes/introduction-to-kubernetes/nginx/nginx-deployment.yaml x: 2 contributors (all time) y: 48 lines of code kubernetes/introduction-to-kubernetes/nginx/not_used/nginx-pod.yaml x: 2 contributors (all time) y: 10 lines of code kubernetes/introduction-to-kubernetes/nginx/not_used/nginx-replicaset.yaml x: 2 contributors (all time) y: 19 lines of code terraform/plan-test/file/main.tf x: 2 contributors (all time) y: 21 lines of code terraform/plan-test/file/outputs.tf x: 2 contributors (all time) y: 15 lines of code terraform/plan-test/file/variables.tf x: 2 contributors (all time) y: 25 lines of code terraform/plan-test/main.tf x: 2 contributors (all time) y: 6 lines of code terraform/plan-test/terraform.tfstate x: 2 contributors (all time) y: 104 lines of code terraform/learn-cdktf-docker/jest.config.js x: 1 contributors (all time) y: 13 lines of code terraform/learn-cdktf-docker/main.ts x: 1 contributors (all time) y: 33 lines of code terraform/learn-cdktf-docker/setup.js x: 1 contributors (all time) y: 2 lines of code terraform/learn-cdktf-typescript/main.ts x: 1 contributors (all time) y: 37 lines of code aws/ecs_exec/Ecs.yaml x: 2 contributors (all time) y: 28 lines of code aws/oidc/iamRoleForGha.yaml x: 2 contributors (all time) y: 43 lines of code kubernetes/sandbox/nginx-pod.yaml x: 1 contributors (all time) y: 10 lines of code docker/distroless/main.go x: 2 contributors (all time) y: 29 lines of code java/gradle/src/main/java/korosuke613/callApi/Main.java x: 2 contributors (all time) y: 8 lines of code rust/guissing_game/src/main.rs x: 1 contributors (all time) y: 29 lines of code rust/guissing_game/Cargo.toml x: 1 contributors (all time) y: 7 lines of code rust/hello_cargo/Cargo.toml x: 1 contributors (all time) y: 6 lines of code rust/hello_cargo/src/main.rs x: 1 contributors (all time) y: 3 lines of code javascript/strykerjs/stryker.conf.js x: 2 contributors (all time) y: 7 lines of code javascript/strykerjs/jest.config.js x: 1 contributors (all time) y: 5 lines of code javascript/strykerjs/src/utils.js x: 1 contributors (all time) y: 15 lines of code javascript/mswjs/jest.config.js x: 1 contributors (all time) y: 8 lines of code deno/sandbox/helloWorld.ts x: 1 contributors (all time) y: 1 lines of code zx/throw-issues/typescript.ts x: 1 contributors (all time) y: 14 lines of code zx/use-typescript/awsSts.ts x: 1 contributors (all time) y: 9 lines of code zx/use-typescript/ojichatToCowsay.ts x: 1 contributors (all time) y: 17 lines of code java/sandbox/Main.java x: 1 contributors (all time) y: 27 lines of code javascript/sandbox/index.ts x: 1 contributors (all time) y: 4 lines of code go/helloworld/libs/hello.go x: 1 contributors (all time) y: 11 lines of code java/sandbox/Worker.java x: 1 contributors (all time) y: 23 lines of code
104.0
lines of code
  min: 1.0
  average: 17.51
  25th percentile: 5.0
  median: 11.0
  75th percentile: 24.5
  max: 104.0
0 3.0
contributors (all time)
min: 1.0 | average: 1.5 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 2.0 | max: 3.0

File Size vs. Commits (30 days): 5 points

javascript/nuxt3/quick_start/components/HelloWorld.vue x: 2 commits (30d) y: 11 lines of code javascript/nuxt3/quick_start/nuxt.config.ts x: 4 commits (30d) y: 4 lines of code javascript/nuxt3/quick_start/pages/index.vue x: 4 commits (30d) y: 30 lines of code javascript/nuxt3/quick_start/pages/nuxt_welcome.vue x: 2 commits (30d) y: 5 lines of code go/helloworld/main.go x: 2 commits (30d) y: 17 lines of code
30.0
lines of code
  min: 4.0
  average: 13.4
  25th percentile: 4.5
  median: 11.0
  75th percentile: 23.5
  max: 30.0
0 4.0
commits (30d)
min: 2.0 | average: 2.8 | 25th percentile: 2.0 | median: 2.0 | 75th percentile: 4.0 | max: 4.0

File Size vs. Contributors (30 days): 5 points

javascript/nuxt3/quick_start/components/HelloWorld.vue x: 2 contributors (30d) y: 11 lines of code javascript/nuxt3/quick_start/nuxt.config.ts x: 2 contributors (30d) y: 4 lines of code javascript/nuxt3/quick_start/pages/index.vue x: 2 contributors (30d) y: 30 lines of code javascript/nuxt3/quick_start/pages/nuxt_welcome.vue x: 2 contributors (30d) y: 5 lines of code go/helloworld/main.go x: 2 contributors (30d) y: 17 lines of code
30.0
lines of code
  min: 4.0
  average: 13.4
  25th percentile: 4.5
  median: 11.0
  75th percentile: 23.5
  max: 30.0
0 2.0
contributors (30d)
min: 2.0 | average: 2.0 | 25th percentile: 2.0 | median: 2.0 | 75th percentile: 2.0 | max: 2.0

File Size vs. Commits (90 days): 5 points

javascript/nuxt3/quick_start/components/HelloWorld.vue x: 2 commits (90d) y: 11 lines of code javascript/nuxt3/quick_start/nuxt.config.ts x: 4 commits (90d) y: 4 lines of code javascript/nuxt3/quick_start/pages/index.vue x: 4 commits (90d) y: 30 lines of code javascript/nuxt3/quick_start/pages/nuxt_welcome.vue x: 2 commits (90d) y: 5 lines of code go/helloworld/main.go x: 2 commits (90d) y: 17 lines of code
30.0
lines of code
  min: 4.0
  average: 13.4
  25th percentile: 4.5
  median: 11.0
  75th percentile: 23.5
  max: 30.0
0 4.0
commits (90d)
min: 2.0 | average: 2.8 | 25th percentile: 2.0 | median: 2.0 | 75th percentile: 4.0 | max: 4.0

File Size vs. Contributors (90 days): 5 points

javascript/nuxt3/quick_start/components/HelloWorld.vue x: 2 contributors (90d) y: 11 lines of code javascript/nuxt3/quick_start/nuxt.config.ts x: 2 contributors (90d) y: 4 lines of code javascript/nuxt3/quick_start/pages/index.vue x: 2 contributors (90d) y: 30 lines of code javascript/nuxt3/quick_start/pages/nuxt_welcome.vue x: 2 contributors (90d) y: 5 lines of code go/helloworld/main.go x: 2 contributors (90d) y: 17 lines of code
30.0
lines of code
  min: 4.0
  average: 13.4
  25th percentile: 4.5
  median: 11.0
  75th percentile: 23.5
  max: 30.0
0 2.0
contributors (90d)
min: 2.0 | average: 2.0 | 25th percentile: 2.0 | median: 2.0 | 75th percentile: 2.0 | max: 2.0