aws-quickstart / quickstart-ribbon-sbc
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 190 files with 39,668 lines of code.
    • 7 very long files (12,318 lines of code)
    • 15 long files (10,841 lines of code)
    • 28 medium size files (8,723 lines of codeclsfd_ftr_w_mp_ins)
    • 33 small files (4,539 lines of code)
    • 107 very small files (3,247 lines of code)
31% | 27% | 21% | 11% | 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
py30% | 28% | 21% | 11% | 6%
yaml53% | 28% | 16% | 0% | 1%
h0% | 0% | 67% | 32% | 0%
yml0% | 0% | 0% | 14% | 85%
cfg0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
functions/source/KeyGen/asn1crypto47% | 23% | 16% | 8% | 3%
functions/source/KeyGen/cryptography24% | 5% | 33% | 23% | 12%
functions/source/KeyGen/pycparser34% | 47% | 13% | 0% | 4%
templates54% | 29% | 16% | 0% | 0%
functions/source/KeyGen/cffi17% | 51% | 17% | 9% | 2%
functions/source/KeyGen0% | 89% | 0% | 0% | 10%
scripts/ansible/scripts0% | 0% | 98% | 0% | 1%
scripts/ansible0% | 0% | 0% | 80% | 19%
scripts/ansible/tasks0% | 0% | 0% | 0% | 100%
scripts/ansible/vars0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
core.py
in functions/source/KeyGen/asn1crypto
2588 170
yacc.py
in functions/source/KeyGen/pycparser/ply
2111 107
backend.py
in functions/source/KeyGen/cryptography/hazmat/backends/openssl
1875 133
x509.py
in functions/source/KeyGen/asn1crypto
1812 98
ribbon-sbc.template.yaml
in templates
1459 -
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
algos.py
in functions/source/KeyGen/asn1crypto
792 17
c_ast.py
in functions/source/KeyGen/pycparser
791 147
ribbon-custom-vpc.template.yaml
in templates
780 -
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
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
cpp.py
in functions/source/KeyGen/pycparser/ply
595 27
vengine_gen.py
in functions/source/KeyGen/cffi
552 41
encode_asn1.py
in functions/source/KeyGen/cryptography/hazmat/backends/openssl
493 36
model.py
in functions/source/KeyGen/cffi
480 60
x509.py
in functions/source/KeyGen/cryptography/hazmat/backends/openssl
443 65
ribbon-sbc-master.template.yaml
in templates
438 -
base.py
in functions/source/KeyGen/cryptography/x509
417 84
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
_conditional.py
in functions/source/KeyGen/cryptography/hazmat/bindings/openssl
331 42
ocsp.py
in functions/source/KeyGen/cryptography/hazmat/backends/openssl
324 33
ec.py
in functions/source/KeyGen/cryptography/hazmat/primitives/asymmetric
323 35
c_generator.py
in functions/source/KeyGen/pycparser
308 57
crl.py
in functions/source/KeyGen/asn1crypto
297 23
_embedding.h
in functions/source/KeyGen/cffi
293 10
_teletex_codec.py
in functions/source/KeyGen/asn1crypto
290 6
c_lexer.py
in functions/source/KeyGen/pycparser
275 36
configGen.py
in scripts/ansible/scripts
266 2
ec.py
in functions/source/KeyGen/cryptography/hazmat/backends/openssl
263 27
general_name.py
in functions/source/KeyGen/cryptography/x509
262 44
ocsp.py
in functions/source/KeyGen/cryptography/x509
257 40
_cffi_include.h
in functions/source/KeyGen/cffi
248 2
verifier.py
in functions/source/KeyGen/cffi
242 22
ribbonUtils.py
in scripts/ansible/scripts
240 18
dh.py
in functions/source/KeyGen/cryptography/hazmat/backends/openssl
233 20
_ast_gen.py
in functions/source/KeyGen/pycparser
226 15
dsa.py
in functions/source/KeyGen/cryptography/hazmat/backends/openssl
218 24
tsp.py
in functions/source/KeyGen/asn1crypto
218 -
rsa.py
in functions/source/KeyGen/cryptography/hazmat/primitives/asymmetric
212 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
backend_ctypes.py
in functions/source/KeyGen/cffi
953 74
x509.py
in functions/source/KeyGen/cryptography/hazmat/backends/openssl
443 65
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
general_name.py
in functions/source/KeyGen/cryptography/x509
262 44
decode_asn1.py
in functions/source/KeyGen/cryptography/hazmat/backends/openssl
646 44
util.py
in functions/source/KeyGen/asn1crypto
370 44
Files With Long Lines (Top 13)

There are 13 files with lines longer than 120 characters. In total, there are 64 long lines.

File# lines# units# long lines
ribbon-sbc-master.template.yaml
in templates
438 - 13
ribbon-sbc.template.yaml
in templates
1459 - 11
configGen.py
in scripts/ansible/scripts
266 2 9
ribbon-custom-vpc.template.yaml
in templates
780 - 7
lex.py
in functions/source/KeyGen/pycparser/ply
719 42 6
_elliptic_curve.py
in functions/source/KeyGen/asn1crypto
136 8 6
cpp.py
in functions/source/KeyGen/pycparser/ply
595 27 4
api.py
in functions/source/KeyGen/cffi
624 50 2
main-wrapper.yml
in scripts/ansible
123 - 2
c_lexer.py
in functions/source/KeyGen/pycparser
275 36 1
_ast_gen.py
in functions/source/KeyGen/pycparser
226 15 1
c_ast.py
in functions/source/KeyGen/pycparser
791 147 1
ribbonUtils.py
in scripts/ansible/scripts
240 18 1