awslabs / aws-codepipeline-governance
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 19 files with 1,138 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 1 medium size files (218 lines of codeclsfd_ftr_w_mp_ins)
    • 2 small files (312 lines of code)
    • 16 very small files (608 lines of code)
0% | 0% | 19% | 27% | 53%
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% | 27% | 23% | 48%
py0% | 0% | 0% | 36% | 63%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
cloudformation0% | 0% | 31% | 26% | 41%
src0% | 0% | 0% | 37% | 62%
cloudformation/stacksets0% | 0% | 0% | 0% | 100%
scripts0% | 0% | 0% | 0% | 100%
Longest Files (Top 19)
File# lines# units
codepipeline-sep-acc-example.yaml
in cloudformation
218 -
codepipeline-example.yaml
in cloudformation
182 -
helper.py
in src
130 7
function-sep-acc.yaml
in cloudformation
95 -
function.yaml
in cloudformation
77 -
sam-bootstrap.yaml
in cloudformation
74 -
ScanUpdateCodePipelineAssumedAccessRole.yaml
in cloudformation/stacksets
63 -
main.py
in src
52 1
s3_helper.py
in src
50 2
client_session_helper.py
in src
46 2
assumed-iam-role.yaml
in cloudformation
39 -
convert-2-dynamodb-item.yaml
in scripts
34 -
dynamodb_helper.py
in src
25 1
cp_helper.py
in src
16 2
sts_helper.py
in src
14 1
custom_logging.py
in src
12 2
convert-2-dynamodb-item.py
in scripts
9 -
__init__.py
in src
1 -
__init__.py
in scripts
1 -
Files With Most Units (Top 8)
File# lines# units
helper.py
in src
130 7
s3_helper.py
in src
50 2
cp_helper.py
in src
16 2
client_session_helper.py
in src
46 2
custom_logging.py
in src
12 2
dynamodb_helper.py
in src
25 1
sts_helper.py
in src
14 1
main.py
in src
52 1
Files With Long Lines (Top 1)

There is only one file with lines longer than 120 characters. In total, there is only one long line.

File# lines# units# long lines
helper.py
in src
130 7 1