aws-quickstart / quickstart-aem-opencloud
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 257 files with 71,460 lines of code.
    • 18 very long files (24,793 lines of code)
    • 29 long files (21,158 lines of code)
    • 49 medium size files (14,137 lines of codeclsfd_ftr_w_mp_ins)
    • 47 small files (6,695 lines of code)
    • 114 very small files (4,677 lines of code)
34% | 29% | 19% | 9% | 6%
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
py40% | 24% | 18% | 9% | 6%
yaml0% | 65% | 27% | 3% | 3%
h0% | 0% | 69% | 30% | 0%
rb0% | 0% | 0% | 0% | 100%
cfg0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
functions/source/generateAemSslCertificate29% | 27% | 23% | 10% | 7%
functions/source/syncEditPackerConfig49% | 21% | 13% | 10% | 5%
functions/source/syncEditStackFacts49% | 21% | 13% | 8% | 6%
functions/source/syncEditStackConfig49% | 21% | 13% | 8% | 6%
templates0% | 94% | 0% | 4% | 1%
templates/full-set0% | 44% | 46% | 4% | 4%
templates/amis0% | 100% | 0% | 0% | 0%
scripts0% | 0% | 64% | 0% | 35%
templates/cdn0% | 0% | 100% | 0% | 0%
functions/source/ACMCert0% | 0% | 0% | 78% | 21%
Longest Files (Top 50)
File# lines# units
yacc.py
in functions/source/generateAemSslCertificate/pycparser/ply
2111 107
backend.py
in functions/source/generateAemSslCertificate/cryptography/hazmat/backends/openssl
2033 139
constructor.py
in functions/source/syncEditStackFacts/ruamel/yaml
1455 68
constructor.py
in functions/source/syncEditStackConfig/ruamel/yaml
1455 68
constructor.py
in functions/source/syncEditPackerConfig/ruamel/yaml
1455 68
emitter.py
in functions/source/syncEditStackFacts/ruamel/yaml
1361 73
emitter.py
in functions/source/syncEditStackConfig/ruamel/yaml
1361 73
emitter.py
in functions/source/syncEditPackerConfig/ruamel/yaml
1361 73
crypto.py
in functions/source/generateAemSslCertificate/OpenSSL
1341 157
recompiler.py
in functions/source/generateAemSslCertificate/cffi
1301 96
scanner.py
in functions/source/syncEditStackFacts/ruamel/yaml
1298 85
scanner.py
in functions/source/syncEditStackConfig/ruamel/yaml
1298 85
scanner.py
in functions/source/syncEditPackerConfig/ruamel/yaml
1298 85
extensions.py
in functions/source/generateAemSslCertificate/cryptography/x509
1270 192
SSL.py
in functions/source/generateAemSslCertificate/OpenSSL
1206 115
main.py
in functions/source/syncEditStackFacts/ruamel/yaml
1063 62
main.py
in functions/source/syncEditStackConfig/ruamel/yaml
1063 62
main.py
in functions/source/syncEditPackerConfig/ruamel/yaml
1063 62
parameters.yaml
in templates
974 -
representer.py
in functions/source/syncEditStackFacts/ruamel/yaml
963 66
representer.py
in functions/source/syncEditStackConfig/ruamel/yaml
963 66
representer.py
in functions/source/syncEditPackerConfig/ruamel/yaml
963 66
create-amis.yaml
in templates/amis
959 -
backend_ctypes.py
in functions/source/generateAemSslCertificate/cffi
953 74
vengine_cpy.py
in functions/source/generateAemSslCertificate/cffi
875 51
c_parser.py
in functions/source/generateAemSslCertificate/pycparser
840 159
workload.template.yaml
in templates
808 -
cparser.py
in functions/source/generateAemSslCertificate/cffi
799 37
c_ast.py
in functions/source/generateAemSslCertificate/pycparser
791 147
comments.py
in functions/source/syncEditStackFacts/ruamel/yaml
731 141
comments.py
in functions/source/syncEditStackConfig/ruamel/yaml
731 141
comments.py
in functions/source/syncEditPackerConfig/ruamel/yaml
731 141
author.yaml
in templates/full-set
726 -
lex.py
in functions/source/generateAemSslCertificate/pycparser/ply
719 42
six.py
in functions/source/generateAemSslCertificate
677 62
decode_asn1.py
in functions/source/generateAemSslCertificate/cryptography/hazmat/backends/openssl
672 48
tooling.yaml
in templates
652 -
workload-main.template.yaml
in templates
629 -
api.py
in functions/source/generateAemSslCertificate/cffi
628 50
cpp.py
in functions/source/generateAemSslCertificate/pycparser/ply
595 27
vengine_gen.py
in functions/source/generateAemSslCertificate/cffi
552 41
parser.py
in functions/source/syncEditStackFacts/ruamel/yaml
544 36
parser.py
in functions/source/syncEditStackConfig/ruamel/yaml
544 36
parser.py
in functions/source/syncEditPackerConfig/ruamel/yaml
544 36
publish-dispatcher.yaml
in templates/full-set
539 -
base.py
in functions/source/generateAemSslCertificate/cryptography/x509
529 88
security-groups.yaml
in templates/full-set
527 -
encode_asn1.py
in functions/source/generateAemSslCertificate/cryptography/hazmat/backends/openssl
491 37
x509.py
in functions/source/generateAemSslCertificate/cryptography/hazmat/backends/openssl
485 66
model.py
in functions/source/generateAemSslCertificate/cffi
482 61
Files With Most Units (Top 20)
File# lines# units
extensions.py
in functions/source/generateAemSslCertificate/cryptography/x509
1270 192
c_parser.py
in functions/source/generateAemSslCertificate/pycparser
840 159
crypto.py
in functions/source/generateAemSslCertificate/OpenSSL
1341 157
c_ast.py
in functions/source/generateAemSslCertificate/pycparser
791 147
comments.py
in functions/source/syncEditStackFacts/ruamel/yaml
731 141
comments.py
in functions/source/syncEditStackConfig/ruamel/yaml
731 141
comments.py
in functions/source/syncEditPackerConfig/ruamel/yaml
731 141
backend.py
in functions/source/generateAemSslCertificate/cryptography/hazmat/backends/openssl
2033 139
SSL.py
in functions/source/generateAemSslCertificate/OpenSSL
1206 115
yacc.py
in functions/source/generateAemSslCertificate/pycparser/ply
2111 107
recompiler.py
in functions/source/generateAemSslCertificate/cffi
1301 96
base.py
in functions/source/generateAemSslCertificate/cryptography/x509
529 88
scanner.py
in functions/source/syncEditStackFacts/ruamel/yaml
1298 85
scanner.py
in functions/source/syncEditStackConfig/ruamel/yaml
1298 85
scanner.py
in functions/source/syncEditPackerConfig/ruamel/yaml
1298 85
backend_ctypes.py
in functions/source/generateAemSslCertificate/cffi
953 74
emitter.py
in functions/source/syncEditStackFacts/ruamel/yaml
1361 73
emitter.py
in functions/source/syncEditStackConfig/ruamel/yaml
1361 73
emitter.py
in functions/source/syncEditPackerConfig/ruamel/yaml
1361 73
constructor.py
in functions/source/syncEditStackFacts/ruamel/yaml
1455 68
Files With Long Lines (Top 20)

There are 33 files with lines longer than 120 characters. In total, there are 205 long lines.

File# lines# units# long lines
create-amis.yaml
in templates/amis
959 - 34
main.yaml
in templates/cdn
228 - 23
main.yaml
in templates/full-set
255 - 22
tooling.yaml
in templates
652 - 18
workload-main.template.yaml
in templates
629 - 18
workload.template.yaml
in templates
808 - 12
lambda_function.py
in functions/source/ACMCert
112 1 10
lambda_function.py
in functions/source/syncEditPackerConfig
148 12 8
parameters.yaml
in templates
974 - 7
prerequisites.yaml
in templates/full-set
89 - 6
lex.py
in functions/source/generateAemSslCertificate/pycparser/ply
719 42 6
orchestrator.yaml
in templates/full-set
328 - 5
publish-dispatcher.yaml
in templates/full-set
539 - 4
security-groups.yaml
in templates/full-set
527 - 4
cpp.py
in functions/source/generateAemSslCertificate/pycparser/ply
595 27 4
local.yaml
in scripts
300 - 4
author.yaml
in templates/full-set
726 - 2
author-dispatcher.yaml
in templates/full-set
475 - 2
api.py
in functions/source/generateAemSslCertificate/cffi
628 50 2
publish.yaml
in templates/full-set
353 - 1