aws-samples / aws-cost-control-approval-workflow
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 14 files with 1,581 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 2 medium size files (711 lines of codeclsfd_ftr_w_mp_ins)
    • 4 small files (618 lines of code)
    • 8 very small files (252 lines of code)
0% | 0% | 44% | 39% | 15%
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% | 78% | 21%
js0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
ROOT0% | 0% | 90% | 0% | 9%
process-requests0% | 0% | 0% | 99% | <1%
get-ec2-pricing0% | 0% | 0% | 99% | <1%
save-request0% | 0% | 0% | 99% | <1%
approve-request0% | 0% | 0% | 99% | <1%
rebase-budgets0% | 0% | 0% | 0% | 100%
linux-ami-lookup0% | 0% | 0% | 0% | 100%
Longest Files (Top 14)
File# lines# units
template.yaml
in root
491 -
ec2_approval_template.yaml
in root
220 -
app.py
in process-requests
199 8
app.py
in get-ec2-pricing
168 6
app.py
in save-request
133 4
app.py
in approve-request
118 6
app.py
in rebase-budgets
92 6
index.js
in linux-ami-lookup
79 3
master_data.py
in root
76 1
__init__.py
in approve-request
1 -
__init__.py
in rebase-budgets
1 -
__init__.py
in get-ec2-pricing
1 -
__init__.py
in process-requests
1 -
__init__.py
in save-request
1 -
Files With Most Units (Top 7)
File# lines# units
app.py
in process-requests
199 8
app.py
in approve-request
118 6
app.py
in rebase-budgets
92 6
app.py
in get-ec2-pricing
168 6
app.py
in save-request
133 4
index.js
in linux-ami-lookup
79 3
master_data.py
in root
76 1
Files With Long Lines (Top 5)

There are 5 files with lines longer than 120 characters. In total, there are 23 long lines.

File# lines# units# long lines
app.py
in process-requests
199 8 11
template.yaml
in root
491 - 4
app.py
in approve-request
118 6 3
app.py
in rebase-budgets
92 6 3
ec2_approval_template.yaml
in root
220 - 2