aws-quickstart / quickstart-redhat-openshift
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 299 files with 67,547 lines of code.
    • 8 very long files (20,956 lines of code)
    • 24 long files (16,544 lines of code)
    • 53 medium size files (16,202 lines of codeclsfd_ftr_w_mp_ins)
    • 56 small files (8,286 lines of code)
    • 158 very small files (5,559 lines of code)
31% | 24% | 23% | 12% | 8%
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
py34% | 21% | 23% | 12% | 8%
yaml0% | 66% | 18% | 12% | 2%
h0% | 0% | 67% | 32% | 0%
yml0% | 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/KeyGen30% | 28% | 21% | 12% | 6%
functions/source/DeleteBucketContents42% | 9% | 27% | 10% | 10%
templates/openshift40% | 57% | 36% | 5% | 0%
templates0% | 100% | 0% | 0% | 0%
templates/common0% | 63% | 0% | 30% | 5%
scripts/scaling/aws_openshift_quickstart0% | 62% | 29% | 0% | 8%
functions/source/OpenShiftResource0% | 0% | 33% | 48% | 17%
functions/source/ACMCert0% | 0% | 0% | 78% | 21%
functions/source/CleanupPV0% | 0% | 0% | 0% | 100%
scripts/playbooks0% | 0% | 0% | 0% | 100%
functions/source/UnSubscribe0% | 0% | 0% | 0% | 100%
scripts0% | 0% | 0% | 0% | 100%
scripts/scaling0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
uts46data.py
in functions/source/DeleteBucketContents/idna
8120 79
core.py
in functions/source/KeyGen/asn1crypto
2588 170
yacc.py
in functions/source/KeyGen/pycparser/ply
2111 107
idnadata.py
in functions/source/DeleteBucketContents/idna
1977 -
backend.py
in functions/source/KeyGen/cryptography/hazmat/backends/openssl
1875 133
x509.py
in functions/source/KeyGen/asn1crypto
1812 98
recompiler.py
in functions/source/KeyGen/cffi
1274 96
extensions.py
in functions/source/KeyGen/cryptography/x509
1199 208
backend_ctypes.py
in functions/source/KeyGen/cffi
953 74
c_parser.py
in functions/source/KeyGen/pycparser
828 159
vengine_cpy.py
in functions/source/KeyGen/cffi
819 51
os4-network.template.yaml
in templates/openshift4
817 -
algos.py
in functions/source/KeyGen/asn1crypto
792 17
c_ast.py
in functions/source/KeyGen/pycparser
791 147
os4.template.yaml
in templates/openshift4
750 -
cparser.py
in functions/source/KeyGen/cffi
739 33
lex.py
in functions/source/KeyGen/pycparser/ply
719 42
keys.py
in functions/source/KeyGen/asn1crypto
708 25
openshift-main-existing-vpc.template.yaml
in templates
703 -
custom_lambda.template.yaml
in templates/common
692 -
six.py
in functions/source/DeleteBucketContents/urllib3/packages
685 61
openshift-main.template.yaml
in templates
654 -
six.py
in functions/source/KeyGen
652 60
decode_asn1.py
in functions/source/KeyGen/cryptography/hazmat/backends/openssl
646 44
cms.py
in functions/source/KeyGen/asn1crypto
643 6
api.py
in functions/source/KeyGen/cffi
624 50
utils.py
in scripts/scaling/aws_openshift_quickstart
597 34
cpp.py
in functions/source/KeyGen/pycparser/ply
595 27
connectionpool.py
in functions/source/DeleteBucketContents/urllib3
564 26
vengine_gen.py
in functions/source/KeyGen/cffi
552 41
models.py
in functions/source/DeleteBucketContents/requests
517 43
securetransport.py
in functions/source/DeleteBucketContents/urllib3/contrib
504 38
utils.py
in functions/source/DeleteBucketContents/requests
498 39
encode_asn1.py
in functions/source/KeyGen/cryptography/hazmat/backends/openssl
493 36
response.py
in functions/source/DeleteBucketContents/urllib3
489 43
model.py
in functions/source/KeyGen/cffi
480 60
mbcssm.py
in functions/source/DeleteBucketContents/chardet
476 -
x509.py
in functions/source/KeyGen/cryptography/hazmat/backends/openssl
443 65
base.py
in functions/source/KeyGen/cryptography/x509
417 84
os4-controlplane.template.yaml
in templates/openshift4
411 -
rsa.py
in functions/source/KeyGen/cryptography/hazmat/backends/openssl
390 27
util.py
in functions/source/KeyGen/asn1crypto
370 44
ocsp.py
in functions/source/KeyGen/asn1crypto
366 21
bindings.py
in functions/source/DeleteBucketContents/urllib3/contrib/_securetransport
360 -
sessions.py
in functions/source/DeleteBucketContents/requests
353 28
os4-security.template.yaml
in templates/openshift4
340 -
big5freq.py
in functions/source/DeleteBucketContents/chardet
340 -
euctwfreq.py
in functions/source/DeleteBucketContents/chardet
340 -
_conditional.py
in functions/source/KeyGen/cryptography/hazmat/bindings/openssl
331 42
ocsp.py
in functions/source/KeyGen/cryptography/hazmat/backends/openssl
324 33
Files With Most Units (Top 20)
File# lines# units
extensions.py
in functions/source/KeyGen/cryptography/x509
1199 208
core.py
in functions/source/KeyGen/asn1crypto
2588 170
c_parser.py
in functions/source/KeyGen/pycparser
828 159
c_ast.py
in functions/source/KeyGen/pycparser
791 147
backend.py
in functions/source/KeyGen/cryptography/hazmat/backends/openssl
1875 133
yacc.py
in functions/source/KeyGen/pycparser/ply
2111 107
x509.py
in functions/source/KeyGen/asn1crypto
1812 98
recompiler.py
in functions/source/KeyGen/cffi
1274 96
base.py
in functions/source/KeyGen/cryptography/x509
417 84
uts46data.py
in functions/source/DeleteBucketContents/idna
8120 79
backend_ctypes.py
in functions/source/KeyGen/cffi
953 74
x509.py
in functions/source/KeyGen/cryptography/hazmat/backends/openssl
443 65
six.py
in functions/source/DeleteBucketContents/urllib3/packages
685 61
model.py
in functions/source/KeyGen/cffi
480 60
six.py
in functions/source/KeyGen
652 60
c_generator.py
in functions/source/KeyGen/pycparser
308 57
interfaces.py
in functions/source/KeyGen/cryptography/hazmat/backends
142 55
vengine_cpy.py
in functions/source/KeyGen/cffi
819 51
api.py
in functions/source/KeyGen/cffi
624 50
cookies.py
in functions/source/DeleteBucketContents/requests
280 49
Files With Long Lines (Top 20)

There are 34 files with lines longer than 120 characters. In total, there are 299 long lines.

File# lines# units# long lines
jpcntx.py
in functions/source/DeleteBucketContents/chardet
169 10 83
mbcssm.py
in functions/source/DeleteBucketContents/chardet
476 - 52
escsm.py
in functions/source/DeleteBucketContents/chardet
201 - 26
openshift-main-existing-vpc.template.yaml
in templates
703 - 14
os4-network.template.yaml
in templates/openshift4
817 - 14
openshift-main.template.yaml
in templates
654 - 14
os4.template.yaml
in templates/openshift4
750 - 10
lambda_function.py
in functions/source/ACMCert
114 1 10
os4-controlplane.template.yaml
in templates/openshift4
411 - 8
lex.py
in functions/source/KeyGen/pycparser/ply
719 42 6
_elliptic_curve.py
in functions/source/KeyGen/asn1crypto
136 8 6
custom_lambda.template.yaml
in templates/common
692 - 5
handlers.py
in functions/source/OpenShiftResource/src/awsqs_openshift_manager
159 6 5
core.py
in functions/source/DeleteBucketContents/idna
299 18 4
cpp.py
in functions/source/KeyGen/pycparser/ply
595 27 4
utils.py
in scripts/scaling/aws_openshift_quickstart
597 34 4
os4-security.template.yaml
in templates/openshift4
340 - 3
os4-bootstrap.template.yaml
in templates/openshift4
240 - 3
service_broker.template.yaml
in templates/common
152 - 3
deploy.template.yaml
in functions/source/OpenShiftResource
176 - 3