GoogleCloudPlatform / developer-journey-app
File Size

The distribution of size of files (measured in lines of code).

Intro
Learn more...
File Size Overall
0% | 0% | 14% | 23% | 61%
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
tf0% | 0% | 75% | 0% | 24%
tsx0% | 0% | 0% | 47% | 52%
ts0% | 0% | 0% | 0% | 100%
js0% | 0% | 0% | 0% | 100%
yaml0% | 0% | 0% | 0% | 100%
css0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
terraform0% | 0% | 75% | 0% | 24%
src0% | 0% | 0% | 31% | 68%
ROOT0% | 0% | 0% | 0% | 100%
build0% | 0% | 0% | 0% | 100%
scripts0% | 0% | 0% | 0% | 100%
Longest Files (Top 43)
File# lines# units
main.tf
in terraform/modules/cicd
207 -
tile-board.tsx
in src/components
120 1
tile.tsx
in src/components
112 1
navbar.tsx
in src/components
102 1
gameSlice.ts
in src/redux
99 -
game-controls.tsx
in src/components
92 1
prompt-panel.tsx
in src/components
82 1
mission-history.tsx
in src/components
76 -
database.ts
in src/lib
61 5
missions.ts
in src/initialData.ts
47 -
33 1
apiSlice.ts
in src/redux
27 1
index.tsx
in src/pages
27 1
variables.tf
in terraform/modules/cicd
27 -
_app.tsx
in src/pages
26 1
[...nextauth].ts
in src/pages/api/auth
24 1
inventory.tsx
in src/components
22 1
user.ts
in src/pages/api
21 1
19 -
19 -
apis.tf
in terraform/modules/cicd
18 -
15 -
store.ts
in src/redux
13 -
variables.tf
in terraform/environments/main
13 -
12 -
fscheck.ts
in src/pages/api
11 1
11 -
hello.ts
in src/pages/api
10 1
inventorySlice.ts
in src/redux
9 -
9 -
Mission.ts
in src/models
7 -
_document.tsx
in src/pages
7 -
InventoryItem.ts
in src/models
6 -
main.tf
in terraform/environments/main
6 -
6 -
GridPosition.ts
in src/models
4 -
User.ts
in src/models
4 -
LearningResource.ts
in src/models
4 -
hooks.ts
in src/redux
4 -
globals.css
in src/styles
3 -
2 -
backend.tf
in terraform/environments/main
2 -
seed.ts
in scripts
1 -
Files With Most Units (Top 15)
File# lines# units
database.ts
in src/lib
61 5
tile-board.tsx
in src/components
120 1
navbar.tsx
in src/components
102 1
game-controls.tsx
in src/components
92 1
prompt-panel.tsx
in src/components
82 1
tile.tsx
in src/components
112 1
inventory.tsx
in src/components
22 1
apiSlice.ts
in src/redux
27 1
_app.tsx
in src/pages
26 1
user.ts
in src/pages/api
21 1
fscheck.ts
in src/pages/api
11 1
hello.ts
in src/pages/api
10 1
[...nextauth].ts
in src/pages/api/auth
24 1
index.tsx
in src/pages
27 1
33 1
Files With Long Lines (Top 9)

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

File# lines# units# long lines
tile-board.tsx
in src/components
120 1 5
tile.tsx
in src/components
112 1 5
main.tf
in terraform/modules/cicd
207 - 3
game-controls.tsx
in src/components
92 1 2
prompt-panel.tsx
in src/components
82 1 2
gameSlice.ts
in src/redux
99 - 2
navbar.tsx
in src/components
102 1 1
mission-history.tsx
in src/components
76 - 1
missions.ts
in src/initialData.ts
47 - 1
Correlations

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

terraform/modules/cicd/apis.tf x: 2 commits (all time) y: 18 lines of code src/pages/_app.tsx x: 8 commits (all time) y: 26 lines of code tailwind.config.js x: 3 commits (all time) y: 9 lines of code src/lib/database.ts x: 13 commits (all time) y: 61 lines of code src/pages/api/fscheck.ts x: 1 commits (all time) y: 11 lines of code src/pages/api/user.ts x: 7 commits (all time) y: 21 lines of code terraform/modules/cicd/main.tf x: 3 commits (all time) y: 207 lines of code terraform/modules/cicd/variables.tf x: 2 commits (all time) y: 27 lines of code src/components/prompt-panel.tsx x: 8 commits (all time) y: 82 lines of code terraform/environments/main/backend.tf x: 1 commits (all time) y: 2 lines of code terraform/environments/main/main.tf x: 1 commits (all time) y: 6 lines of code terraform/environments/main/variables.tf x: 1 commits (all time) y: 13 lines of code next.config.js x: 6 commits (all time) y: 19 lines of code playwright.config.ts x: 2 commits (all time) y: 33 lines of code postcss.config.js x: 2 commits (all time) y: 6 lines of code scripts/seed.ts x: 3 commits (all time) y: 1 lines of code src/components/game-controls.tsx x: 9 commits (all time) y: 92 lines of code src/components/inventory.tsx x: 5 commits (all time) y: 22 lines of code src/components/mission-history.tsx x: 8 commits (all time) y: 76 lines of code src/components/navbar.tsx x: 5 commits (all time) y: 102 lines of code src/components/sign-in-recommendation.tsx x: 3 commits (all time) y: 12 lines of code src/components/tile-board.tsx x: 4 commits (all time) y: 120 lines of code src/components/tile.tsx x: 13 commits (all time) y: 112 lines of code src/initialData.ts/missions.ts x: 4 commits (all time) y: 47 lines of code src/middleware.ts x: 2 commits (all time) y: 2 lines of code src/models/GridPosition.ts x: 3 commits (all time) y: 4 lines of code src/models/InventoryItem.ts x: 3 commits (all time) y: 6 lines of code src/models/Mission.ts x: 3 commits (all time) y: 7 lines of code src/models/User.ts x: 8 commits (all time) y: 4 lines of code src/pages/_document.tsx x: 6 commits (all time) y: 7 lines of code src/pages/api/auth/[...nextauth].ts x: 6 commits (all time) y: 24 lines of code src/pages/api/hello.ts x: 3 commits (all time) y: 10 lines of code src/pages/index.tsx x: 12 commits (all time) y: 27 lines of code src/pages/mission-history.tsx x: 5 commits (all time) y: 19 lines of code src/redux/apiSlice.ts x: 3 commits (all time) y: 27 lines of code src/redux/gameSlice.ts x: 5 commits (all time) y: 99 lines of code src/redux/hooks.ts x: 2 commits (all time) y: 4 lines of code src/redux/store.ts x: 6 commits (all time) y: 13 lines of code src/styles/globals.css x: 5 commits (all time) y: 3 lines of code build/app-build.cloudbuild.yaml x: 2 commits (all time) y: 11 lines of code build/app-deploy.cloudbuild.yaml x: 2 commits (all time) y: 15 lines of code
207.0
lines of code
  min: 1.0
  average: 33.02
  25th percentile: 6.0
  median: 15.0
  75th percentile: 33.0
  max: 207.0
0 13.0
commits (all time)
min: 1.0 | average: 4.56 | 25th percentile: 2.0 | median: 3.0 | 75th percentile: 6.0 | max: 13.0

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

terraform/modules/cicd/apis.tf x: 2 contributors (all time) y: 18 lines of code src/pages/_app.tsx x: 5 contributors (all time) y: 26 lines of code tailwind.config.js x: 3 contributors (all time) y: 9 lines of code src/lib/database.ts x: 4 contributors (all time) y: 61 lines of code src/pages/api/fscheck.ts x: 1 contributors (all time) y: 11 lines of code src/pages/api/user.ts x: 3 contributors (all time) y: 21 lines of code terraform/modules/cicd/main.tf x: 3 contributors (all time) y: 207 lines of code terraform/modules/cicd/variables.tf x: 2 contributors (all time) y: 27 lines of code src/components/prompt-panel.tsx x: 3 contributors (all time) y: 82 lines of code terraform/environments/main/backend.tf x: 1 contributors (all time) y: 2 lines of code terraform/environments/main/main.tf x: 1 contributors (all time) y: 6 lines of code terraform/environments/main/variables.tf x: 1 contributors (all time) y: 13 lines of code next.config.js x: 5 contributors (all time) y: 19 lines of code playwright.config.ts x: 2 contributors (all time) y: 33 lines of code postcss.config.js x: 2 contributors (all time) y: 6 lines of code scripts/seed.ts x: 3 contributors (all time) y: 1 lines of code src/components/game-controls.tsx x: 2 contributors (all time) y: 92 lines of code src/components/inventory.tsx x: 3 contributors (all time) y: 22 lines of code src/components/mission-history.tsx x: 3 contributors (all time) y: 76 lines of code src/components/navbar.tsx x: 2 contributors (all time) y: 102 lines of code src/components/sign-in-recommendation.tsx x: 2 contributors (all time) y: 12 lines of code src/components/tile-board.tsx x: 2 contributors (all time) y: 120 lines of code src/components/tile.tsx x: 4 contributors (all time) y: 112 lines of code src/initialData.ts/missions.ts x: 2 contributors (all time) y: 47 lines of code src/middleware.ts x: 2 contributors (all time) y: 2 lines of code src/models/GridPosition.ts x: 2 contributors (all time) y: 4 lines of code src/models/Mission.ts x: 2 contributors (all time) y: 7 lines of code src/models/User.ts x: 3 contributors (all time) y: 4 lines of code src/pages/_document.tsx x: 4 contributors (all time) y: 7 lines of code src/pages/api/auth/[...nextauth].ts x: 5 contributors (all time) y: 24 lines of code src/pages/api/hello.ts x: 3 contributors (all time) y: 10 lines of code src/pages/index.tsx x: 4 contributors (all time) y: 27 lines of code src/pages/mission-history.tsx x: 2 contributors (all time) y: 19 lines of code src/redux/gameSlice.ts x: 2 contributors (all time) y: 99 lines of code src/redux/store.ts x: 2 contributors (all time) y: 13 lines of code src/styles/globals.css x: 4 contributors (all time) y: 3 lines of code build/app-deploy.cloudbuild.yaml x: 1 contributors (all time) y: 15 lines of code
207.0
lines of code
  min: 1.0
  average: 33.02
  25th percentile: 6.0
  median: 15.0
  75th percentile: 33.0
  max: 207.0
0 5.0
contributors (all time)
min: 1.0 | average: 2.53 | 25th percentile: 2.0 | median: 2.0 | 75th percentile: 3.0 | max: 5.0

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

No data for "commits (30d)" vs. "lines of code".

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

No data for "contributors (30d)" vs. "lines of code".


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

terraform/modules/cicd/apis.tf x: 1 commits (90d) y: 18 lines of code
18.0
lines of code
  min: 18.0
  average: 18.0
  25th percentile: 18.0
  median: 18.0
  75th percentile: 18.0
  max: 18.0
0 1.0
commits (90d)
min: 1.0 | average: 1.0 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 1.0

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

terraform/modules/cicd/apis.tf x: 1 contributors (90d) y: 18 lines of code
18.0
lines of code
  min: 18.0
  average: 18.0
  25th percentile: 18.0
  median: 18.0
  75th percentile: 18.0
  max: 18.0
0 1.0
contributors (90d)
min: 1.0 | average: 1.0 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 1.0