aws-samples / amazon-redshift-infrastructure-automation
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 13 files with 1,180 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 1 medium size files (228 lines of codeclsfd_ftr_w_mp_ins)
    • 3 small files (410 lines of code)
    • 9 very small files (542 lines of code)
0% | 0% | 19% | 34% | 45%
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% | 0% | 100% | 0% | 0%
py0% | 0% | 0% | 43% | 56%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
ROOT0% | 0% | 45% | 21% | 32%
redshift_poc_automation/stacks0% | 0% | 0% | 46% | 53%
scripts0% | 0% | 0% | 0% | 100%
redshift_poc_automation0% | 0% | 0% | 0% | 100%
Longest Files (Top 13)
File# lines# units
CDKstaging.yaml
in root
228 -
redshift_stack.py
in redshift_poc_automation/stacks
158 10
dmsinstance_stack.py
in redshift_poc_automation/stacks
147 5
app.py
in root
105 -
dms_on_prem_to_redshift_stack.py
in redshift_poc_automation/stacks
94 1
vpc_stack.py
in redshift_poc_automation/stacks
88 7
sct_stack.py
in redshift_poc_automation/stacks
87 1
jmeter_stack.py
in redshift_poc_automation/stacks
86 1
lambda_run_redshift_script.py
in root
65 4
lambda_call_lambda_to_run_redshift_script.py
in root
57 1
setup.py
in root
41 -
delete_secrets.py
in scripts
23 -
__init__.py
in redshift_poc_automation
1 -
Files With Most Units (Top 8)
File# lines# units
redshift_stack.py
in redshift_poc_automation/stacks
158 10
vpc_stack.py
in redshift_poc_automation/stacks
88 7
dmsinstance_stack.py
in redshift_poc_automation/stacks
147 5
lambda_run_redshift_script.py
in root
65 4
lambda_call_lambda_to_run_redshift_script.py
in root
57 1
jmeter_stack.py
in redshift_poc_automation/stacks
86 1
dms_on_prem_to_redshift_stack.py
in redshift_poc_automation/stacks
94 1
sct_stack.py
in redshift_poc_automation/stacks
87 1
Files With Long Lines (Top 4)

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

File# lines# units# long lines
lambda_call_lambda_to_run_redshift_script.py
in root
57 1 7
CDKstaging.yaml
in root
228 - 5
lambda_run_redshift_script.py
in root
65 4 3
vpc_stack.py
in redshift_poc_automation/stacks
88 7 2