awslabs / digital-user-engagement-events-database
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 218 files with 47,977 lines of code.
    • 4 very long files (20,440 lines of code)
    • 8 long files (4,522 lines of code)
    • 42 medium size files (12,908 lines of codeclsfd_ftr_w_mp_ins)
    • 32 small files (5,146 lines of code)
    • 132 very small files (4,961 lines of code)
42% | 9% | 26% | 10% | 10%
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
py42% | 9% | 26% | 10% | 10%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
custom-bucket-name-helper/idna95% | 0% | 2% | 0% | 1%
custom-resource-helper/idna95% | 0% | 2% | 0% | 1%
custom-bucket-name-helper/urllib30% | 29% | 43% | 12% | 13%
custom-resource-helper/urllib30% | 29% | 43% | 12% | 13%
custom-bucket-name-helper/requests0% | 20% | 55% | 7% | 16%
custom-resource-helper/requests0% | 20% | 55% | 7% | 16%
custom-bucket-name-helper/chardet0% | 0% | 45% | 34% | 19%
custom-resource-helper/chardet0% | 0% | 45% | 34% | 19%
custom-resource-helper0% | 0% | 0% | 0% | 100%
athena-partition-lambda0% | 0% | 0% | 0% | 100%
custom-bucket-name-helper0% | 0% | 0% | 0% | 100%
custom-bucket-name-helper/certifi0% | 0% | 0% | 0% | 100%
custom-resource-helper/certifi0% | 0% | 0% | 0% | 100%
lib0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
uts46data.py
in source/custom-bucket-name-helper/idna
8231 80
uts46data.py
in source/custom-resource-helper/idna
8231 80
idnadata.py
in source/custom-bucket-name-helper/idna
1989 -
idnadata.py
in source/custom-resource-helper/idna
1989 -
six.py
in source/custom-bucket-name-helper/urllib3/packages
685 61
six.py
in source/custom-resource-helper/urllib3/packages
685 61
connectionpool.py
in source/custom-bucket-name-helper/urllib3
552 25
connectionpool.py
in source/custom-resource-helper/urllib3
552 25
models.py
in source/custom-bucket-name-helper/requests
517 43
models.py
in source/custom-resource-helper/requests
517 43
securetransport.py
in source/custom-bucket-name-helper/urllib3/contrib
507 38
securetransport.py
in source/custom-resource-helper/urllib3/contrib
507 38
utils.py
in source/custom-bucket-name-helper/requests
499 39
utils.py
in source/custom-resource-helper/requests
499 39
response.py
in source/custom-bucket-name-helper/urllib3
495 44
response.py
in source/custom-resource-helper/urllib3
495 44
mbcssm.py
in source/custom-bucket-name-helper/chardet
476 -
mbcssm.py
in source/custom-resource-helper/chardet
476 -
bindings.py
in source/custom-bucket-name-helper/urllib3/contrib/_securetransport
360 -
bindings.py
in source/custom-resource-helper/urllib3/contrib/_securetransport
360 -
sessions.py
in source/custom-bucket-name-helper/requests
350 28
sessions.py
in source/custom-resource-helper/requests
350 28
big5freq.py
in source/custom-bucket-name-helper/chardet
340 -
euctwfreq.py
in source/custom-bucket-name-helper/chardet
340 -
big5freq.py
in source/custom-resource-helper/chardet
340 -
euctwfreq.py
in source/custom-resource-helper/chardet
340 -
pyopenssl.py
in source/custom-bucket-name-helper/urllib3/contrib
308 31
pyopenssl.py
in source/custom-resource-helper/urllib3/contrib
308 31
core.py
in source/custom-bucket-name-helper/idna
301 18
core.py
in source/custom-resource-helper/idna
301 18
langcyrillicmodel.py
in source/custom-bucket-name-helper/chardet
286 -
langcyrillicmodel.py
in source/custom-resource-helper/chardet
286 -
adapters.py
in source/custom-bucket-name-helper/requests
281 17
adapters.py
in source/custom-resource-helper/requests
281 17
cookies.py
in source/custom-bucket-name-helper/requests
280 49
cookies.py
in source/custom-resource-helper/requests
280 49
jisfreq.py
in source/custom-bucket-name-helper/chardet
277 -
jisfreq.py
in source/custom-resource-helper/chardet
277 -
connection.py
in source/custom-bucket-name-helper/urllib3
266 12
connection.py
in source/custom-resource-helper/urllib3
266 12
url.py
in source/custom-bucket-name-helper/urllib3/util
261 14
url.py
in source/custom-resource-helper/urllib3/util
261 14
poolmanager.py
in source/custom-bucket-name-helper/urllib3
250 18
poolmanager.py
in source/custom-resource-helper/urllib3
250 18
gb2312freq.py
in source/custom-bucket-name-helper/chardet
239 -
gb2312freq.py
in source/custom-resource-helper/chardet
239 -
retry.py
in source/custom-bucket-name-helper/urllib3/util
226 16
retry.py
in source/custom-resource-helper/urllib3/util
226 16
ssl_.py
in source/custom-bucket-name-helper/urllib3/util
217 13
ssl_.py
in source/custom-resource-helper/urllib3/util
217 13
Files With Most Units (Top 20)
File# lines# units
uts46data.py
in source/custom-bucket-name-helper/idna
8231 80
uts46data.py
in source/custom-resource-helper/idna
8231 80
six.py
in source/custom-bucket-name-helper/urllib3/packages
685 61
six.py
in source/custom-resource-helper/urllib3/packages
685 61
cookies.py
in source/custom-bucket-name-helper/requests
280 49
cookies.py
in source/custom-resource-helper/requests
280 49
response.py
in source/custom-bucket-name-helper/urllib3
495 44
response.py
in source/custom-resource-helper/urllib3
495 44
models.py
in source/custom-bucket-name-helper/requests
517 43
models.py
in source/custom-resource-helper/requests
517 43
utils.py
in source/custom-bucket-name-helper/requests
499 39
utils.py
in source/custom-resource-helper/requests
499 39
securetransport.py
in source/custom-bucket-name-helper/urllib3/contrib
507 38
securetransport.py
in source/custom-resource-helper/urllib3/contrib
507 38
pyopenssl.py
in source/custom-bucket-name-helper/urllib3/contrib
308 31
_collections.py
in source/custom-bucket-name-helper/urllib3
196 31
pyopenssl.py
in source/custom-resource-helper/urllib3/contrib
308 31
_collections.py
in source/custom-resource-helper/urllib3
196 31
sessions.py
in source/custom-bucket-name-helper/requests
350 28
sessions.py
in source/custom-resource-helper/requests
350 28
Files With Long Lines (Top 13)

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

File# lines# units# long lines
jpcntx.py
in source/custom-bucket-name-helper/chardet
169 10 83
jpcntx.py
in source/custom-resource-helper/chardet
169 10 83
mbcssm.py
in source/custom-bucket-name-helper/chardet
476 - 52
mbcssm.py
in source/custom-resource-helper/chardet
476 - 52
escsm.py
in source/custom-bucket-name-helper/chardet
201 - 26
escsm.py
in source/custom-resource-helper/chardet
201 - 26
core.py
in source/custom-bucket-name-helper/idna
301 18 4
core.py
in source/custom-resource-helper/idna
301 18 4
compat.py
in source/custom-bucket-name-helper/requests
39 - 2
lambda_function.py
in source/custom-bucket-name-helper
33 1 2
compat.py
in source/custom-resource-helper/requests
39 - 2
lambda_function.py
in source/custom-resource-helper
96 3 2
lambda_function.py
in source/athena-partition-lambda
79 2 1