GoogleCloudPlatform / Open_Data_QnA
File Size

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

Intro
Learn more...
File Size Overall
25% | 10% | 28% | 15% | 19%
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
dart66% | 0% | 22% | 0% | 11%
ipynb0% | 50% | 49% | 0% | 0%
scss0% | 29% | 20% | 39% | 11%
py0% | 0% | 56% | 14% | 28%
yaml0% | 0% | 71% | 0% | 28%
ts0% | 0% | 0% | 72% | 27%
html0% | 0% | 0% | 28% | 71%
tf0% | 0% | 0% | 23% | 76%
toml0% | 0% | 0% | 0% | 100%
xml0% | 0% | 0% | 0% | 100%
in0% | 0% | 0% | 0% | 100%
swift0% | 0% | 0% | 0% | 100%
kt0% | 0% | 0% | 0% | 100%
h0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
frontend40% | 4% | 16% | 19% | 18%
notebooks0% | 50% | 49% | 0% | 0%
ROOT0% | 0% | 84% | 0% | 15%
dbconnectors0% | 0% | 91% | 0% | 8%
backend-apis0% | 0% | 98% | 0% | 1%
embeddings0% | 0% | 0% | 75% | 24%
terraform0% | 0% | 0% | 23% | 76%
agents0% | 0% | 0% | 23% | 76%
scripts0% | 0% | 0% | 0% | 100%
utilities0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
main.dart
in frontend/frontend-flutter/lib
2576 29
bot.dart
in frontend/frontend-flutter/lib/screens
1632 26
575 -
573 -
business-user.component.scss
in frontend/src/app/business-user
518 -
custom_input_field.dart
in frontend/frontend-flutter/lib/utils
459 11
458 -
settings.dart
in frontend/frontend-flutter/lib/screens
441 6
PgConnector.py
in dbconnectors
406 9
370 -
357 7
agent-chat.component.scss
in frontend/src/app/agent-chat
357 -
main.py
in backend-apis
343 4
317 -
new_suggestion_cubit.dart
in frontend/frontend-flutter/lib/services/new_suggestions
252 6
disclaimer.dart
in frontend/frontend-flutter/lib/screens
249 3
248 -
243 4
BQConnector.py
in dbconnectors
241 15
agent-chat.component.ts
in frontend/src/app/agent-chat
195 16
home.service.ts
in frontend/src/app/shared/services
171 15
agent-chat.component.html
in frontend/src/app/agent-chat
169 -
login.component.scss
in frontend/src/app/login
159 -
login-button.component.scss
in frontend/src/app/login-button
157 -
kgq_embeddings.py
in embeddings
155 1
menu.component.ts
in frontend/src/app/menu
152 10
business-user.component.ts
in frontend/src/app/business-user
149 10
app.module.ts
in frontend/src/app
143 -
store_embeddings.py
in embeddings
142 -
user-journey.component.scss
in frontend/src/app/user-journey
140 -
home.component.ts
in frontend/src/app/home
129 9
variables.tf
in terraform
128 -
menu.component.scss
in frontend/src/app/menu
126 -
chat.service.ts
in frontend/src/app/shared/services
125 6
scenario-list.component.ts
in frontend/src/app/scenario-list
123 7
home.component.scss
in frontend/src/app/home
108 -
106 4
95 4
app.py
in root
90 4
90 2
bot_chat_view.dart
in frontend/frontend-flutter/lib/screens
82 4
iam.tf
in terraform
75 -
index 01.49.28.html
in frontend/frontend-flutter/web
73 -
business-user.component.html
in frontend/src/app/business-user
72 -
save_config.py
in scripts
71 2
70 3
outputs.tf
in terraform
67 -
core.py
in agents
67 3
login.component.ts
in frontend/src/app/login
67 5
__init__.py
in utilities
62 3
Files With Most Units (Top 50)
File# lines# units
main.dart
in frontend/frontend-flutter/lib
2576 29
bot.dart
in frontend/frontend-flutter/lib/screens
1632 26
agent-chat.component.ts
in frontend/src/app/agent-chat
195 16
BQConnector.py
in dbconnectors
241 15
home.service.ts
in frontend/src/app/shared/services
171 15
custom_input_field.dart
in frontend/frontend-flutter/lib/utils
459 11
menu.component.ts
in frontend/src/app/menu
152 10
business-user.component.ts
in frontend/src/app/business-user
149 10
PgConnector.py
in dbconnectors
406 9
home.component.ts
in frontend/src/app/home
129 9
357 7
scenario-list.component.ts
in frontend/src/app/scenario-list
123 7
new_suggestion_cubit.dart
in frontend/frontend-flutter/lib/services/new_suggestions
252 6
settings.dart
in frontend/frontend-flutter/lib/screens
441 6
user-journey.component.ts
in frontend/src/app/user-journey
56 6
chat.service.ts
in frontend/src/app/shared/services
125 6
login.component.ts
in frontend/src/app/login
67 5
FirestoreConnector.py
in dbconnectors
31 4
app.py
in root
90 4
106 4
95 4
52 4
bot_chat_view.dart
in frontend/frontend-flutter/lib/screens
82 4
main.py
in backend-apis
343 4
243 4
70 3
core.py
in agents
67 3
tabbed_container.dart
in frontend/frontend-flutter/lib/utils
44 3
disclaimer.dart
in frontend/frontend-flutter/lib/screens
249 3
login.service.ts
in frontend/src/app/shared/services
31 3
__init__.py
in utilities
62 3
save_config.py
in scripts
71 2
32 2
35 2
server.ts
in frontend
40 2
upload-template.component.ts
in frontend/src/app/upload-template
16 2
grouping-modal.component.ts
in frontend/src/app/grouping-modal
16 2
user-photo.component.ts
in frontend/src/app/user-photo
48 2
90 2
core.py
in dbconnectors
18 1
22 1
25 1
update_expert_mode_cubit.dart
in frontend/frontend-flutter/lib/services/update_expert_mode
18 1
update_expert_mode_state.dart
in frontend/frontend-flutter/lib/services/update_expert_mode
18 1
update_stepper_cubit.dart
in frontend/frontend-flutter/lib/services/update_stepper
51 1
update_stepper_state.dart
in frontend/frontend-flutter/lib/services/update_stepper
52 1
text_to_doc_question_state.dart
in frontend/frontend-flutter/lib/services/text_to_doc_question
24 1
text_to_doc_question_cubit.dart
in frontend/frontend-flutter/lib/services/text_to_doc_question
20 1
first_question_state.dart
in frontend/frontend-flutter/lib/services/first_question
22 1
first_question_cubit.dart
in frontend/frontend-flutter/lib/services/first_question
13 1
Files With Long Lines (Top 46)

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

File# lines# units# long lines
main.dart
in frontend/frontend-flutter/lib
2576 29 54
575 - 34
248 - 31
bot.dart
in frontend/frontend-flutter/lib/screens
1632 26 29
357 7 25
458 - 21
573 - 18
new_suggestion_cubit.dart
in frontend/frontend-flutter/lib/services/new_suggestions
252 6 15
custom_input_field.dart
in frontend/frontend-flutter/lib/utils
459 11 14
store_embeddings.py
in embeddings
142 - 14
PgConnector.py
in dbconnectors
406 9 13
BQConnector.py
in dbconnectors
241 15 11
243 4 10
disclaimer.dart
in frontend/frontend-flutter/lib/screens
249 3 9
317 - 8
variables.tf
in terraform
128 - 7
370 - 7
kgq_embeddings.py
in embeddings
155 1 7
outputs.tf
in terraform
67 - 5
agent-chat.component.ts
in frontend/src/app/agent-chat
195 16 5
login-button.component.html
in frontend/src/app/login-button
25 - 5
business-user.component.scss
in frontend/src/app/business-user
518 - 5
52 4 4
settings.dart
in frontend/frontend-flutter/lib/screens
441 6 4
menu.component.ts
in frontend/src/app/menu
152 10 4
106 4 3
bot_chat_view.dart
in frontend/frontend-flutter/lib/screens
82 4 3
agent-chat.component.html
in frontend/src/app/agent-chat
169 - 3
home.service.ts
in frontend/src/app/shared/services
171 15 2
chat.service.ts
in frontend/src/app/shared/services
125 6 2
90 2 2
70 3 1
58 - 1
backend.tf
in terraform
25 - 1
FirestoreConnector.py
in dbconnectors
31 4 1
25 1 1
__init__.py
in agents
8 - 1
35 2 1
95 4 1
update_stepper_state.dart
in frontend/frontend-flutter/lib/services/update_stepper
52 1 1
update_popular_questions_state.dart
in frontend/frontend-flutter/lib/services/update_popular_questions
27 1 1
index.html
in frontend/frontend-flutter/web
37 - 1
index 01.49.28.html
in frontend/frontend-flutter/web
73 - 1
http.interceptor.ts
in frontend/src/app
23 1 1
home.component.ts
in frontend/src/app/home
129 9 1
login.component.ts
in frontend/src/app/login
67 5 1
Correlations

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

notebooks/0_CopyDataToBigQuery.ipynb x: 10 commits (all time) y: 317 lines of code notebooks/0_CopyDataToCloudSqlPG.ipynb x: 6 commits (all time) y: 573 lines of code notebooks/1_Setup_OpenDataQnA.ipynb x: 23 commits (all time) y: 575 lines of code notebooks/2_Run_OpenDataQnA.ipynb x: 11 commits (all time) y: 458 lines of code frontend/src/assets/constants.ts x: 13 commits (all time) y: 10 lines of code opendataqna.py x: 20 commits (all time) y: 357 lines of code scripts/save_config.py x: 8 commits (all time) y: 71 lines of code terraform/embeddings-setup.tf x: 10 commits (all time) y: 58 lines of code terraform/variables.tf x: 12 commits (all time) y: 128 lines of code utilities/__init__.py x: 8 commits (all time) y: 62 lines of code frontend/frontend-flutter/analysis_options.yaml x: 2 commits (all time) y: 3 lines of code frontend/frontend-flutter/ios/Runner/AppDelegate.swift x: 2 commits (all time) y: 12 lines of code frontend/frontend-flutter/lib/firebase_options.dart x: 2 commits (all time) y: 58 lines of code frontend/frontend-flutter/lib/main.dart x: 2 commits (all time) y: 2576 lines of code frontend/frontend-flutter/lib/screens/bot.dart x: 2 commits (all time) y: 1632 lines of code frontend/frontend-flutter/lib/screens/bot_chat_view.dart x: 2 commits (all time) y: 82 lines of code frontend/frontend-flutter/lib/screens/disclaimer.dart x: 2 commits (all time) y: 249 lines of code frontend/frontend-flutter/lib/screens/settings.dart x: 2 commits (all time) y: 441 lines of code frontend/frontend-flutter/lib/services/first_question/first_question_state.dart x: 2 commits (all time) y: 22 lines of code frontend/frontend-flutter/lib/services/new_suggestions/new_suggestion_state.dart x: 2 commits (all time) y: 34 lines of code frontend/frontend-flutter/lib/utils/custom_input_field.dart x: 2 commits (all time) y: 459 lines of code frontend/frontend-flutter/lib/utils/tabbed_container.dart x: 2 commits (all time) y: 44 lines of code frontend/frontend-flutter/web/index 01.49.28.html x: 2 commits (all time) y: 73 lines of code env_setup.py x: 12 commits (all time) y: 243 lines of code pyproject.toml x: 8 commits (all time) y: 39 lines of code terraform/frontend.tf x: 6 commits (all time) y: 32 lines of code terraform/backend.tf x: 4 commits (all time) y: 25 lines of code terraform/iam.tf x: 4 commits (all time) y: 75 lines of code terraform/outputs.tf x: 4 commits (all time) y: 67 lines of code terraform/scripts/create-and-store-embeddings.py x: 4 commits (all time) y: 15 lines of code terraform/versions.tf x: 4 commits (all time) y: 31 lines of code app.py x: 3 commits (all time) y: 90 lines of code agents/BuildSQLAgent.py x: 11 commits (all time) y: 95 lines of code agents/DebugSQLAgent.py x: 9 commits (all time) y: 106 lines of code agents/ResponseAgent.py x: 6 commits (all time) y: 25 lines of code agents/VisualizeAgent.py x: 6 commits (all time) y: 52 lines of code agents/__init__.py x: 4 commits (all time) y: 8 lines of code agents/core.py x: 11 commits (all time) y: 67 lines of code backend-apis/main.py x: 12 commits (all time) y: 343 lines of code dbconnectors/BQConnector.py x: 11 commits (all time) y: 241 lines of code dbconnectors/PgConnector.py x: 4 commits (all time) y: 406 lines of code embeddings/kgq_embeddings.py x: 12 commits (all time) y: 155 lines of code embeddings/retrieve_embeddings.py x: 4 commits (all time) y: 90 lines of code embeddings/store_embeddings.py x: 13 commits (all time) y: 142 lines of code frontend/src/app/agent-chat/agent-chat.component.html x: 5 commits (all time) y: 169 lines of code frontend/src/app/agent-chat/agent-chat.component.scss x: 4 commits (all time) y: 357 lines of code frontend/src/app/agent-chat/agent-chat.component.ts x: 7 commits (all time) y: 195 lines of code frontend/src/app/app-routing.module.ts x: 10 commits (all time) y: 17 lines of code frontend/src/app/app.module.ts x: 11 commits (all time) y: 143 lines of code frontend/src/app/business-user/business-user.component.scss x: 7 commits (all time) y: 518 lines of code frontend/src/app/business-user/business-user.component.ts x: 8 commits (all time) y: 149 lines of code frontend/src/app/header/header.component.ts x: 7 commits (all time) y: 11 lines of code frontend/src/app/home/home.component.html x: 9 commits (all time) y: 41 lines of code frontend/src/app/home/home.component.scss x: 4 commits (all time) y: 108 lines of code frontend/src/app/home/home.component.ts x: 11 commits (all time) y: 129 lines of code frontend/src/app/login-button/login-button.component.ts x: 5 commits (all time) y: 27 lines of code frontend/src/app/login/login.component.scss x: 6 commits (all time) y: 159 lines of code frontend/src/app/menu/menu.component.html x: 11 commits (all time) y: 56 lines of code frontend/src/app/menu/menu.component.scss x: 10 commits (all time) y: 126 lines of code frontend/src/app/menu/menu.component.ts x: 17 commits (all time) y: 152 lines of code frontend/src/app/scenario-list/scenario-list.component.ts x: 5 commits (all time) y: 123 lines of code frontend/src/app/shared/services/chat.service.ts x: 4 commits (all time) y: 125 lines of code frontend/src/app/shared/services/home.service.ts x: 10 commits (all time) y: 171 lines of code frontend/src/app/shared/services/login.service.ts x: 9 commits (all time) y: 31 lines of code frontend/src/app/shared/services/shared.service.ts x: 10 commits (all time) y: 32 lines of code frontend/src/app/upload-template/upload-template.component.scss x: 5 commits (all time) y: 58 lines of code frontend/src/app/user-journey/user-journey.component.scss x: 10 commits (all time) y: 140 lines of code frontend/src/app/user-journey/user-journey.component.ts x: 12 commits (all time) y: 56 lines of code frontend/src/app/user-photo/user-photo.component.ts x: 8 commits (all time) y: 48 lines of code notebooks/3_LoadKnownGoodSQL.ipynb x: 4 commits (all time) y: 370 lines of code prompts.yaml x: 7 commits (all time) y: 248 lines of code scripts/copy_select_table_column_bigquery.py x: 7 commits (all time) y: 70 lines of code
2576.0
lines of code
  min: 1.0
  average: 118.18
  25th percentile: 18.0
  median: 37.0
  75th percentile: 115.5
  max: 2576.0
0 23.0
commits (all time)
min: 2.0 | average: 5.24 | 25th percentile: 2.0 | median: 4.0 | 75th percentile: 7.5 | max: 23.0

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

notebooks/0_CopyDataToBigQuery.ipynb x: 4 contributors (all time) y: 317 lines of code notebooks/0_CopyDataToCloudSqlPG.ipynb x: 2 contributors (all time) y: 573 lines of code notebooks/1_Setup_OpenDataQnA.ipynb x: 6 contributors (all time) y: 575 lines of code notebooks/2_Run_OpenDataQnA.ipynb x: 5 contributors (all time) y: 458 lines of code frontend/src/assets/constants.ts x: 4 contributors (all time) y: 10 lines of code opendataqna.py x: 8 contributors (all time) y: 357 lines of code scripts/save_config.py x: 4 contributors (all time) y: 71 lines of code terraform/embeddings-setup.tf x: 4 contributors (all time) y: 58 lines of code terraform/variables.tf x: 4 contributors (all time) y: 128 lines of code utilities/__init__.py x: 4 contributors (all time) y: 62 lines of code frontend/frontend-flutter/analysis_options.yaml x: 2 contributors (all time) y: 3 lines of code frontend/frontend-flutter/ios/Runner/AppDelegate.swift x: 2 contributors (all time) y: 12 lines of code frontend/frontend-flutter/lib/firebase_options.dart x: 2 contributors (all time) y: 58 lines of code frontend/frontend-flutter/lib/main.dart x: 2 contributors (all time) y: 2576 lines of code frontend/frontend-flutter/lib/screens/bot.dart x: 2 contributors (all time) y: 1632 lines of code frontend/frontend-flutter/lib/screens/bot_chat_view.dart x: 2 contributors (all time) y: 82 lines of code frontend/frontend-flutter/lib/screens/disclaimer.dart x: 2 contributors (all time) y: 249 lines of code frontend/frontend-flutter/lib/screens/settings.dart x: 2 contributors (all time) y: 441 lines of code frontend/frontend-flutter/lib/services/first_question/first_question_state.dart x: 2 contributors (all time) y: 22 lines of code frontend/frontend-flutter/lib/services/new_suggestions/new_suggestion_state.dart x: 2 contributors (all time) y: 34 lines of code frontend/frontend-flutter/lib/utils/custom_input_field.dart x: 2 contributors (all time) y: 459 lines of code frontend/frontend-flutter/lib/utils/tabbed_container.dart x: 2 contributors (all time) y: 44 lines of code frontend/frontend-flutter/web/index 01.49.28.html x: 2 contributors (all time) y: 73 lines of code env_setup.py x: 4 contributors (all time) y: 243 lines of code pyproject.toml x: 4 contributors (all time) y: 39 lines of code terraform/frontend.tf x: 3 contributors (all time) y: 32 lines of code terraform/backend.tf x: 3 contributors (all time) y: 25 lines of code terraform/iam.tf x: 3 contributors (all time) y: 75 lines of code terraform/outputs.tf x: 3 contributors (all time) y: 67 lines of code terraform/scripts/create-and-store-embeddings.py x: 3 contributors (all time) y: 15 lines of code agents/BuildSQLAgent.py x: 4 contributors (all time) y: 95 lines of code agents/DebugSQLAgent.py x: 4 contributors (all time) y: 106 lines of code agents/VisualizeAgent.py x: 3 contributors (all time) y: 52 lines of code agents/__init__.py x: 3 contributors (all time) y: 8 lines of code agents/core.py x: 5 contributors (all time) y: 67 lines of code backend-apis/main.py x: 6 contributors (all time) y: 343 lines of code dbconnectors/BQConnector.py x: 6 contributors (all time) y: 241 lines of code dbconnectors/PgConnector.py x: 3 contributors (all time) y: 406 lines of code embeddings/kgq_embeddings.py x: 4 contributors (all time) y: 155 lines of code embeddings/retrieve_embeddings.py x: 3 contributors (all time) y: 90 lines of code embeddings/store_embeddings.py x: 5 contributors (all time) y: 142 lines of code frontend/src/app/agent-chat/agent-chat.component.html x: 4 contributors (all time) y: 169 lines of code frontend/src/app/agent-chat/agent-chat.component.scss x: 4 contributors (all time) y: 357 lines of code frontend/src/app/agent-chat/agent-chat.component.ts x: 4 contributors (all time) y: 195 lines of code frontend/src/app/app-routing.module.ts x: 6 contributors (all time) y: 17 lines of code frontend/src/app/app.module.ts x: 6 contributors (all time) y: 143 lines of code frontend/src/app/business-user/business-user.component.html x: 5 contributors (all time) y: 72 lines of code frontend/src/app/business-user/business-user.component.scss x: 5 contributors (all time) y: 518 lines of code frontend/src/app/home/home.component.html x: 5 contributors (all time) y: 41 lines of code frontend/src/app/home/home.component.ts x: 6 contributors (all time) y: 129 lines of code frontend/src/app/http.interceptor.ts x: 5 contributors (all time) y: 23 lines of code frontend/src/app/login/login.component.scss x: 5 contributors (all time) y: 159 lines of code frontend/src/app/login/login.component.ts x: 6 contributors (all time) y: 67 lines of code frontend/src/app/menu/menu.component.html x: 5 contributors (all time) y: 56 lines of code frontend/src/app/menu/menu.component.scss x: 5 contributors (all time) y: 126 lines of code frontend/src/app/shared/services/home.service.ts x: 6 contributors (all time) y: 171 lines of code frontend/src/app/shared/services/login.service.ts x: 6 contributors (all time) y: 31 lines of code frontend/src/app/user-journey/user-journey.component.scss x: 5 contributors (all time) y: 140 lines of code frontend/src/app/user-journey/user-journey.component.ts x: 6 contributors (all time) y: 56 lines of code frontend/src/app/user-photo/user-photo.component.ts x: 6 contributors (all time) y: 48 lines of code frontend/src/index.html x: 4 contributors (all time) y: 18 lines of code notebooks/3_LoadKnownGoodSQL.ipynb x: 3 contributors (all time) y: 370 lines of code prompts.yaml x: 4 contributors (all time) y: 248 lines of code
2576.0
lines of code
  min: 1.0
  average: 118.18
  25th percentile: 18.0
  median: 37.0
  75th percentile: 115.5
  max: 2576.0
0 8.0
contributors (all time)
min: 2.0 | average: 3.28 | 25th percentile: 2.0 | median: 3.0 | 75th percentile: 4.0 | max: 8.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): 0 points

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

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

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