aws-samples / sql-database-client-side-encryption-example-application
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 34 files with 3,154 lines of code.
    • 0 very long files (0 lines of code)
    • 1 long files (991 lines of code)
    • 2 medium size files (944 lines of codeclsfd_ftr_w_mp_ins)
    • 4 small files (555 lines of code)
    • 27 very small files (664 lines of code)
0% | 31% | 29% | 17% | 21%
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% | 36% | 35% | 20% | 7%
py0% | 0% | 0% | 0% | 100%
html0% | 0% | 0% | 0% | 100%
css0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
cloudformation/templates0% | 37% | 35% | 21% | 5%
webapp/app/codecompose0% | 0% | 0% | 0% | 100%
webapp/app/encryptioncontext0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
cloudformation/functions/source/database-resource-id-custom-resource0% | 0% | 0% | 0% | 100%
cloudformation/functions/source/dba-account-creation0% | 0% | 0% | 0% | 100%
webapp/app/encryptioncontext/templates0% | 0% | 0% | 0% | 100%
webapp/app0% | 0% | 0% | 0% | 100%
cloudformation/functions/source/verify-iam-database-authentication0% | 0% | 0% | 0% | 100%
webapp/app/encryptioncontext/static0% | 0% | 0% | 0% | 100%
Longest Files (Top 34)
File# lines# units
cfn.fargate.yaml
in cloudformation/templates
991 -
cfn.vpc.yaml
in cloudformation/templates
493 -
cfn.aurora.yaml
in cloudformation/templates
451 -
cfn.iamauthentication.yaml
in cloudformation/templates
169 -
cfn.client-side-encryption.yaml
in cloudformation/templates
138 -
cfn.kms.yaml
in cloudformation/templates
131 -
cfn.client-side-encryption-replica.yaml
in cloudformation/templates
117 -
settings.py
in webapp/app/codecompose
98 -
views.py
in webapp/app/encryptioncontext
78 3
cfn.custom-resource.yaml
in cloudformation/templates
55 -
cfn.aurora-read-replica.yaml
in cloudformation/templates
52 -
key-administrator-role.yaml
in root
46 -
cfn.iam.yaml
in cloudformation/templates
43 -
app.py
in cloudformation/functions/source/database-resource-id-custom-resource
36 4
secretsmanager.py
in webapp/app/codecompose
35 1
__init__.py
in webapp/app/codecompose
35 2
app.py
in cloudformation/functions/source/dba-account-creation
35 1
app.py
in cloudformation/functions/source/verify-iam-database-authentication
27 1
style.css
in webapp/app/encryptioncontext/static/encryptioncontext
23 -
authenticate.html
in webapp/app/encryptioncontext/templates
15 -
create.html
in webapp/app/encryptioncontext/templates
15 -
execute.py
in webapp/app
15 -
manage.py
in webapp/app
13 -
urls.py
in webapp/app/encryptioncontext
8 -
localsettings.py
in webapp/app/codecompose
7 -
urls.py
in webapp/app/codecompose
6 -
models.py
in webapp/app/encryptioncontext
5 -
forms.py
in webapp/app/encryptioncontext
4 -
wsgi.py
in webapp/app/codecompose
4 -
authenticatesuccess.html
in webapp/app/encryptioncontext/templates
3 -
apps.py
in webapp/app/encryptioncontext
3 -
admin.py
in webapp/app/encryptioncontext
1 -
__init__.py
in webapp/app/encryptioncontext
1 -
tests.py
in webapp/app/encryptioncontext
1 -
Files With Most Units (Top 6)
File# lines# units
app.py
in cloudformation/functions/source/database-resource-id-custom-resource
36 4
views.py
in webapp/app/encryptioncontext
78 3
__init__.py
in webapp/app/codecompose
35 2
secretsmanager.py
in webapp/app/codecompose
35 1
app.py
in cloudformation/functions/source/dba-account-creation
35 1
app.py
in cloudformation/functions/source/verify-iam-database-authentication
27 1
Files With Long Lines (Top 10)

There are 10 files with lines longer than 120 characters. In total, there are 42 long lines.

File# lines# units# long lines
cfn.aurora.yaml
in cloudformation/templates
451 - 17
cfn.fargate.yaml
in cloudformation/templates
991 - 11
cfn.client-side-encryption-replica.yaml
in cloudformation/templates
117 - 4
cfn.client-side-encryption.yaml
in cloudformation/templates
138 - 4
settings.py
in webapp/app/codecompose
98 - 1
cfn.aurora-read-replica.yaml
in cloudformation/templates
52 - 1
cfn.iamauthentication.yaml
in cloudformation/templates
169 - 1
cfn.kms.yaml
in cloudformation/templates
131 - 1
app.py
in cloudformation/functions/source/verify-iam-database-authentication
27 1 1
key-administrator-role.yaml
in root
46 - 1