aws-samples / getting-started-with-amazon-redshift-data-api
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 22 files with 4,503 lines of code.
    • 0 very long files (0 lines of code)
    • 3 long files (1,884 lines of code)
    • 4 medium size files (1,250 lines of codeclsfd_ftr_w_mp_ins)
    • 5 small files (633 lines of code)
    • 10 very small files (736 lines of code)
0% | 41% | 27% | 14% | 16%
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% | 62% | 33% | 4% | 0%
js0% | 0% | 68% | 31% | 0%
ts0% | 0% | 0% | 100% | 0%
go0% | 0% | 0% | 100% | 0%
java0% | 0% | 0% | 100% | 0%
py0% | 0% | 0% | 0% | 100%
html0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
use-cases/analytical-reporting-event-driven-web-app0% | 89% | 0% | 0% | 10%
use-cases/etl-orchestration-with-step-functions0% | 100% | 0% | 0% | 0%
use-cases/lambda-chaining-with-redshift-data-api0% | 67% | 0% | 0% | 32%
use-cases/aws-lambda-redshift-event-driven-etl0% | 0% | 72% | 0% | 27%
use-cases/etl-orchestration-with-lambda-and-step-functions0% | 0% | 86% | 0% | 13%
use-cases/ec2-redshift-access0% | 0% | 70% | 0% | 29%
quick-start/typescript0% | 0% | 58% | 41% | 0%
use-cases/sagemaker-notebook-redshift-ml0% | 0% | 0% | 100% | 0%
quick-start/go0% | 0% | 0% | 100% | 0%
quick-start/java0% | 0% | 0% | 100% | 0%
quick-start/javascript0% | 0% | 0% | 100% | 0%
quick-start/python0% | 0% | 0% | 0% | 100%
Longest Files (Top 22)
File# lines# units
redshift-data-api-gw-websocket.yaml
in use-cases/analytical-reporting-event-driven-web-app
851 -
etl-orchestration-with-stepfunctions-and-redshift-data-api.yaml
in use-cases/etl-orchestration-with-step-functions/cloud_formation_template
518 -
lambda-chaining-with-redshift-data-api.yaml
in use-cases/lambda-chaining-with-redshift-data-api/cloud_formation_template
515 -
event-driven-redshift-pipeline.yaml
in use-cases/aws-lambda-redshift-event-driven-etl
392 -
etl-orchestration-with-stepfunctions-and-redshift-data-api.yaml
in use-cases/etl-orchestration-with-lambda-and-step-functions/cloud_formation_template
367 -
cf-template-ec2-redshift.yaml
in use-cases/ec2-redshift-access/cloud_formation_template
259 -
RedshiftDataAPI.js
in quick-start/typescript
232 9
RedshiftDataAPI.ts
in quick-start/typescript
164 -
cf-template-sagemaker-notebook.yaml
in use-cases/sagemaker-notebook-redshift-ml
125 -
main.go
in quick-start/go
125 3
RedshiftDataAPI.java
in quick-start/java
112 2
RedshiftDataAPI.js
in quick-start/javascript
107 -
index.html
in use-cases/analytical-reporting-event-driven-web-app
96 -
LambdaRedshiftSetupObjects.py
in use-cases/lambda-chaining-with-redshift-data-api/scripts
87 2
LambdaSetupRedshiftObjects.py
in use-cases/aws-lambda-redshift-event-driven-etl
83 2
LambdaRedshiftDataApiUnload.py
in use-cases/lambda-chaining-with-redshift-data-api/scripts
80 4
LambdaRedshiftDataApiETL.py
in use-cases/lambda-chaining-with-redshift-data-api/scripts
80 4
RedShiftDataAPI.py
in quick-start/python
76 2
LambdaRedshiftDataApiETL.py
in use-cases/aws-lambda-redshift-event-driven-etl
69 4
redshift-concurrency-test.py
in use-cases/ec2-redshift-access/scripts
63 5
redshift_batch_data_api.py
in use-cases/etl-orchestration-with-lambda-and-step-functions/code
58 5
redshift-data.py
in use-cases/ec2-redshift-access/scripts
44 2
Files With Most Units (Top 12)
File# lines# units
RedshiftDataAPI.js
in quick-start/typescript
232 9
redshift-concurrency-test.py
in use-cases/ec2-redshift-access/scripts
63 5
redshift_batch_data_api.py
in use-cases/etl-orchestration-with-lambda-and-step-functions/code
58 5
LambdaRedshiftDataApiETL.py
in use-cases/aws-lambda-redshift-event-driven-etl
69 4
LambdaRedshiftDataApiUnload.py
in use-cases/lambda-chaining-with-redshift-data-api/scripts
80 4
LambdaRedshiftDataApiETL.py
in use-cases/lambda-chaining-with-redshift-data-api/scripts
80 4
main.go
in quick-start/go
125 3
redshift-data.py
in use-cases/ec2-redshift-access/scripts
44 2
LambdaSetupRedshiftObjects.py
in use-cases/aws-lambda-redshift-event-driven-etl
83 2
LambdaRedshiftSetupObjects.py
in use-cases/lambda-chaining-with-redshift-data-api/scripts
87 2
RedshiftDataAPI.java
in quick-start/java
112 2
RedShiftDataAPI.py
in quick-start/python
76 2
Files With Long Lines (Top 19)

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

File# lines# units# long lines
redshift-data-api-gw-websocket.yaml
in use-cases/analytical-reporting-event-driven-web-app
851 - 24
lambda-chaining-with-redshift-data-api.yaml
in use-cases/lambda-chaining-with-redshift-data-api/cloud_formation_template
515 - 20
RedshiftDataAPI.js
in quick-start/typescript
232 9 15
event-driven-redshift-pipeline.yaml
in use-cases/aws-lambda-redshift-event-driven-etl
392 - 13
cf-template-ec2-redshift.yaml
in use-cases/ec2-redshift-access/cloud_formation_template
259 - 9
RedshiftDataAPI.ts
in quick-start/typescript
164 - 7
etl-orchestration-with-stepfunctions-and-redshift-data-api.yaml
in use-cases/etl-orchestration-with-lambda-and-step-functions/cloud_formation_template
367 - 6
etl-orchestration-with-stepfunctions-and-redshift-data-api.yaml
in use-cases/etl-orchestration-with-step-functions/cloud_formation_template
518 - 6
cf-template-sagemaker-notebook.yaml
in use-cases/sagemaker-notebook-redshift-ml
125 - 4
main.go
in quick-start/go
125 3 4
RedshiftDataAPI.js
in quick-start/javascript
107 - 4
LambdaSetupRedshiftObjects.py
in use-cases/aws-lambda-redshift-event-driven-etl
83 2 3
RedShiftDataAPI.py
in quick-start/python
76 2 3
redshift-data.py
in use-cases/ec2-redshift-access/scripts
44 2 2
redshift-concurrency-test.py
in use-cases/ec2-redshift-access/scripts
63 5 1
LambdaRedshiftDataApiUnload.py
in use-cases/lambda-chaining-with-redshift-data-api/scripts
80 4 1
LambdaRedshiftDataApiETL.py
in use-cases/lambda-chaining-with-redshift-data-api/scripts
80 4 1
LambdaRedshiftSetupObjects.py
in use-cases/lambda-chaining-with-redshift-data-api/scripts
87 2 1
RedshiftDataAPI.java
in quick-start/java
112 2 1