aws-samples / aws-waf-dashboard
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 144 files with 27,404 lines of code.
    • 2 very long files (10,097 lines of code)
    • 5 long files (2,770 lines of code)
    • 24 medium size files (7,529 lines of codeclsfd_ftr_w_mp_ins)
    • 24 small files (3,860 lines of code)
    • 89 very small files (3,148 lines of code)
36% | 10% | 27% | 14% | 11%
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
py37% | 8% | 28% | 14% | 11%
yaml0% | 100% | 0% | 0% | 0%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
cloudformation-custom-resources/kibana-customizer-lambda/idna95% | 0% | 2% | 0% | 1%
cloudformation-custom-resources/kibana-customizer-lambda/urllib30% | 16% | 38% | 28% | 17%
cloudformation-custom-resources/kibana-customizer-lambda/requests_aws4auth0% | 62% | 28% | 0% | 9%
ROOT0% | 100% | 0% | 0% | 0%
cloudformation-custom-resources/kibana-customizer-lambda/requests0% | 20% | 55% | 7% | 16%
cloudformation-custom-resources/kibana-customizer-lambda/chardet0% | 0% | 45% | 34% | 19%
cloudformation-custom-resources/kibana-customizer-lambda/crhelper0% | 0% | 77% | 0% | 22%
cloudformation-custom-resources/es-cognito-auth-lambda/crhelper0% | 0% | 77% | 0% | 22%
cloudformation-custom-resources/domain-setter-lambda/crhelper0% | 0% | 77% | 0% | 22%
cloudformation-custom-resources/kibana-customizer-lambda0% | 0% | 0% | 100% | 0%
cloudformation-custom-resources/es-cognito-auth-lambda0% | 0% | 0% | 0% | 100%
cloudformation-custom-resources/domain-setter-lambda0% | 0% | 0% | 0% | 100%
cloudformation-custom-resources0% | 0% | 0% | 0% | 100%
cloudformation-custom-resources/kibana-customizer-lambda/certifi0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
uts46data.py
in cloudformation-custom-resources/kibana-customizer-lambda/idna
8120 79
idnadata.py
in cloudformation-custom-resources/kibana-customizer-lambda/idna
1977 -
six.py
in cloudformation-custom-resources/kibana-customizer-lambda/requests_aws4auth
615 57
six.py
in cloudformation-custom-resources/kibana-customizer-lambda/urllib3/packages
615 57
waf-dashboard.yaml.yaml
in root
522 -
models.py
in cloudformation-custom-resources/kibana-customizer-lambda/requests
517 43
securetransport.py
in cloudformation-custom-resources/kibana-customizer-lambda/urllib3/contrib
501 38
utils.py
in cloudformation-custom-resources/kibana-customizer-lambda/requests
498 39
mbcssm.py
in cloudformation-custom-resources/kibana-customizer-lambda/chardet
476 -
bindings.py
in cloudformation-custom-resources/kibana-customizer-lambda/urllib3/contrib/_securetransport
463 -
response.py
in cloudformation-custom-resources/kibana-customizer-lambda/urllib3
440 43
connectionpool.py
in cloudformation-custom-resources/kibana-customizer-lambda/urllib3
414 25
sessions.py
in cloudformation-custom-resources/kibana-customizer-lambda/requests
353 28
big5freq.py
in cloudformation-custom-resources/kibana-customizer-lambda/chardet
340 -
euctwfreq.py
in cloudformation-custom-resources/kibana-customizer-lambda/chardet
340 -
pyopenssl.py
in cloudformation-custom-resources/kibana-customizer-lambda/urllib3/contrib
310 30
core.py
in cloudformation-custom-resources/kibana-customizer-lambda/idna
299 18
langcyrillicmodel.py
in cloudformation-custom-resources/kibana-customizer-lambda/chardet
286 -
adapters.py
in cloudformation-custom-resources/kibana-customizer-lambda/requests
281 17
cookies.py
in cloudformation-custom-resources/kibana-customizer-lambda/requests
280 49
jisfreq.py
in cloudformation-custom-resources/kibana-customizer-lambda/chardet
277 -
aws4auth.py
in cloudformation-custom-resources/kibana-customizer-lambda/requests_aws4auth
276 15
parseresult.py
in cloudformation-custom-resources/kibana-customizer-lambda/urllib3/packages/rfc3986
274 20
resource_helper.py
in cloudformation-custom-resources/kibana-customizer-lambda/crhelper
270 30
resource_helper.py
in cloudformation-custom-resources/es-cognito-auth-lambda/crhelper
270 30
resource_helper.py
in cloudformation-custom-resources/domain-setter-lambda/crhelper
270 30
connection.py
in cloudformation-custom-resources/kibana-customizer-lambda/urllib3
251 12
gb2312freq.py
in cloudformation-custom-resources/kibana-customizer-lambda/chardet
239 -
poolmanager.py
in cloudformation-custom-resources/kibana-customizer-lambda/urllib3
215 17
ssl_.py
in cloudformation-custom-resources/kibana-customizer-lambda/urllib3/util
206 13
escsm.py
in cloudformation-custom-resources/kibana-customizer-lambda/chardet
201 -
auth.py
in cloudformation-custom-resources/kibana-customizer-lambda/requests
200 15
_collections.py
in cloudformation-custom-resources/kibana-customizer-lambda/urllib3
194 31
low_level.py
in cloudformation-custom-resources/kibana-customizer-lambda/urllib3/contrib/_securetransport
187 10
retry.py
in cloudformation-custom-resources/kibana-customizer-lambda/urllib3/util
185 16
langgreekmodel.py
in cloudformation-custom-resources/kibana-customizer-lambda/chardet
182 -
langhungarianmodel.py
in cloudformation-custom-resources/kibana-customizer-lambda/chardet
182 -
langbulgarianmodel.py
in cloudformation-custom-resources/kibana-customizer-lambda/chardet
182 -
appengine.py
in cloudformation-custom-resources/kibana-customizer-lambda/urllib3/contrib
175 7
validators.py
in cloudformation-custom-resources/kibana-customizer-lambda/urllib3/packages/rfc3986
172 22
jpcntx.py
in cloudformation-custom-resources/kibana-customizer-lambda/chardet
169 10
_mixin.py
in cloudformation-custom-resources/kibana-customizer-lambda/urllib3/packages/rfc3986
165 16
abnf_regexp.py
in cloudformation-custom-resources/kibana-customizer-lambda/urllib3/packages/rfc3986
162 -
universaldetector.py
in cloudformation-custom-resources/kibana-customizer-lambda/chardet
161 4
langturkishmodel.py
in cloudformation-custom-resources/kibana-customizer-lambda/chardet
156 -
langthaimodel.py
in cloudformation-custom-resources/kibana-customizer-lambda/chardet
156 -
langhebrewmodel.py
in cloudformation-custom-resources/kibana-customizer-lambda/chardet
156 -
url.py
in cloudformation-custom-resources/kibana-customizer-lambda/urllib3/util
153 10
euckrfreq.py
in cloudformation-custom-resources/kibana-customizer-lambda/chardet
151 -
builder.py
in cloudformation-custom-resources/kibana-customizer-lambda/urllib3/packages/rfc3986
134 11
Files With Most Units (Top 20)
File# lines# units
uts46data.py
in cloudformation-custom-resources/kibana-customizer-lambda/idna
8120 79
six.py
in cloudformation-custom-resources/kibana-customizer-lambda/requests_aws4auth
615 57
six.py
in cloudformation-custom-resources/kibana-customizer-lambda/urllib3/packages
615 57
cookies.py
in cloudformation-custom-resources/kibana-customizer-lambda/requests
280 49
response.py
in cloudformation-custom-resources/kibana-customizer-lambda/urllib3
440 43
models.py
in cloudformation-custom-resources/kibana-customizer-lambda/requests
517 43
utils.py
in cloudformation-custom-resources/kibana-customizer-lambda/requests
498 39
securetransport.py
in cloudformation-custom-resources/kibana-customizer-lambda/urllib3/contrib
501 38
_collections.py
in cloudformation-custom-resources/kibana-customizer-lambda/urllib3
194 31
resource_helper.py
in cloudformation-custom-resources/kibana-customizer-lambda/crhelper
270 30
pyopenssl.py
in cloudformation-custom-resources/kibana-customizer-lambda/urllib3/contrib
310 30
resource_helper.py
in cloudformation-custom-resources/es-cognito-auth-lambda/crhelper
270 30
resource_helper.py
in cloudformation-custom-resources/domain-setter-lambda/crhelper
270 30
sessions.py
in cloudformation-custom-resources/kibana-customizer-lambda/requests
353 28
connectionpool.py
in cloudformation-custom-resources/kibana-customizer-lambda/urllib3
414 25
validators.py
in cloudformation-custom-resources/kibana-customizer-lambda/urllib3/packages/rfc3986
172 22
parseresult.py
in cloudformation-custom-resources/kibana-customizer-lambda/urllib3/packages/rfc3986
274 20
core.py
in cloudformation-custom-resources/kibana-customizer-lambda/idna
299 18
chardistribution.py
in cloudformation-custom-resources/kibana-customizer-lambda/chardet
131 18
poolmanager.py
in cloudformation-custom-resources/kibana-customizer-lambda/urllib3
215 17
Files With Long Lines (Top 10)

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

File# lines# units# long lines
jpcntx.py
in cloudformation-custom-resources/kibana-customizer-lambda/chardet
169 10 83
mbcssm.py
in cloudformation-custom-resources/kibana-customizer-lambda/chardet
476 - 52
escsm.py
in cloudformation-custom-resources/kibana-customizer-lambda/chardet
201 - 26
lambda_function.py
in cloudformation-custom-resources/kibana-customizer-lambda
132 13 8
core.py
in cloudformation-custom-resources/kibana-customizer-lambda/idna
299 18 4
5_update_lambdas.py
in cloudformation-custom-resources
13 - 4
waf-dashboard.yaml.yaml
in root
522 - 3
compat.py
in cloudformation-custom-resources/kibana-customizer-lambda/requests
39 - 2
2_custom-resources-creator-script.py
in cloudformation-custom-resources
17 - 1
1_create_buckets.py
in cloudformation-custom-resources
11 - 1