aws-samples / no-tears-cluster
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 233 files with 49,011 lines of code.
    • 4 very long files (20,194 lines of code)
    • 8 long files (4,554 lines of code)
    • 45 medium size files (13,912 lines of codeclsfd_ftr_w_mp_ins)
    • 33 small files (5,248 lines of code)
    • 143 very small files (5,103 lines of code)
41% | 9% | 28% | 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
py41% | 9% | 28% | 10% | 10%
yaml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
functions/source/c9bootstrap/idna95% | 0% | 2% | 0% | 1%
functions/source/c9InstanceProfile/idna95% | 0% | 2% | 0% | 1%
functions/source/c9bootstrap/urllib30% | 29% | 43% | 12% | 13%
functions/source/c9InstanceProfile/urllib30% | 29% | 43% | 12% | 13%
functions/source/c9bootstrap/requests0% | 20% | 55% | 7% | 16%
functions/source/c9InstanceProfile/requests0% | 20% | 55% | 7% | 16%
functions/source/c9bootstrap/chardet0% | 0% | 45% | 34% | 19%
functions/source/c9InstanceProfile/chardet0% | 0% | 45% | 34% | 19%
pcluster0% | 0% | 99% | 0% | <1%
functions/source/c9bootstrap/crhelper0% | 0% | 78% | 0% | 21%
functions/source/c9InstanceProfile/crhelper0% | 0% | 78% | 0% | 21%
functions/source/c9bootstrap0% | 0% | 0% | 100% | 0%
scripts/spack0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
functions/source/c9keypair0% | 0% | 0% | 0% | 100%
functions/source/c9InstanceProfile0% | 0% | 0% | 0% | 100%
functions/source/c9bootstrap/certifi0% | 0% | 0% | 0% | 100%
functions/source/c9InstanceProfile/certifi0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
uts46data.py
in functions/source/c9bootstrap/idna
8120 79
uts46data.py
in functions/source/c9InstanceProfile/idna
8120 79
idnadata.py
in functions/source/c9bootstrap/idna
1977 -
idnadata.py
in functions/source/c9InstanceProfile/idna
1977 -
six.py
in functions/source/c9bootstrap/urllib3/packages
685 61
six.py
in functions/source/c9InstanceProfile/urllib3/packages
685 61
connectionpool.py
in functions/source/c9bootstrap/urllib3
564 26
connectionpool.py
in functions/source/c9InstanceProfile/urllib3
564 26
models.py
in functions/source/c9bootstrap/requests
517 43
models.py
in functions/source/c9InstanceProfile/requests
517 43
securetransport.py
in functions/source/c9bootstrap/urllib3/contrib
511 38
securetransport.py
in functions/source/c9InstanceProfile/urllib3/contrib
511 38
utils.py
in functions/source/c9bootstrap/requests
498 39
utils.py
in functions/source/c9InstanceProfile/requests
498 39
response.py
in functions/source/c9bootstrap/urllib3
489 43
response.py
in functions/source/c9InstanceProfile/urllib3
489 43
mbcssm.py
in functions/source/c9bootstrap/chardet
476 -
mbcssm.py
in functions/source/c9InstanceProfile/chardet
476 -
pcluster_stack.py
in pcluster
462 3
bindings.py
in functions/source/c9bootstrap/urllib3/contrib/_securetransport
360 -
bindings.py
in functions/source/c9InstanceProfile/urllib3/contrib/_securetransport
360 -
sessions.py
in functions/source/c9bootstrap/requests
353 28
sessions.py
in functions/source/c9InstanceProfile/requests
353 28
big5freq.py
in functions/source/c9bootstrap/chardet
340 -
euctwfreq.py
in functions/source/c9bootstrap/chardet
340 -
big5freq.py
in functions/source/c9InstanceProfile/chardet
340 -
euctwfreq.py
in functions/source/c9InstanceProfile/chardet
340 -
pyopenssl.py
in functions/source/c9bootstrap/urllib3/contrib
305 31
pyopenssl.py
in functions/source/c9InstanceProfile/urllib3/contrib
305 31
core.py
in functions/source/c9bootstrap/idna
299 18
core.py
in functions/source/c9InstanceProfile/idna
299 18
langcyrillicmodel.py
in functions/source/c9bootstrap/chardet
286 -
langcyrillicmodel.py
in functions/source/c9InstanceProfile/chardet
286 -
connection.py
in functions/source/c9bootstrap/urllib3
281 12
adapters.py
in functions/source/c9bootstrap/requests
281 17
connection.py
in functions/source/c9InstanceProfile/urllib3
281 12
adapters.py
in functions/source/c9InstanceProfile/requests
281 17
cookies.py
in functions/source/c9bootstrap/requests
280 49
cookies.py
in functions/source/c9InstanceProfile/requests
280 49
resource_helper.py
in functions/source/c9bootstrap/crhelper
279 30
resource_helper.py
in functions/source/c9InstanceProfile/crhelper
279 30
jisfreq.py
in functions/source/c9bootstrap/chardet
277 -
jisfreq.py
in functions/source/c9InstanceProfile/chardet
277 -
url.py
in functions/source/c9bootstrap/urllib3/util
267 14
url.py
in functions/source/c9InstanceProfile/urllib3/util
267 14
gb2312freq.py
in functions/source/c9bootstrap/chardet
239 -
gb2312freq.py
in functions/source/c9InstanceProfile/chardet
239 -
poolmanager.py
in functions/source/c9bootstrap/urllib3
230 17
poolmanager.py
in functions/source/c9InstanceProfile/urllib3
230 17
retry.py
in functions/source/c9bootstrap/urllib3/util
223 16
Files With Most Units (Top 20)
File# lines# units
uts46data.py
in functions/source/c9bootstrap/idna
8120 79
uts46data.py
in functions/source/c9InstanceProfile/idna
8120 79
six.py
in functions/source/c9bootstrap/urllib3/packages
685 61
six.py
in functions/source/c9InstanceProfile/urllib3/packages
685 61
cookies.py
in functions/source/c9bootstrap/requests
280 49
cookies.py
in functions/source/c9InstanceProfile/requests
280 49
response.py
in functions/source/c9bootstrap/urllib3
489 43
models.py
in functions/source/c9bootstrap/requests
517 43
response.py
in functions/source/c9InstanceProfile/urllib3
489 43
models.py
in functions/source/c9InstanceProfile/requests
517 43
utils.py
in functions/source/c9bootstrap/requests
498 39
utils.py
in functions/source/c9InstanceProfile/requests
498 39
securetransport.py
in functions/source/c9bootstrap/urllib3/contrib
511 38
securetransport.py
in functions/source/c9InstanceProfile/urllib3/contrib
511 38
pyopenssl.py
in functions/source/c9bootstrap/urllib3/contrib
305 31
_collections.py
in functions/source/c9bootstrap/urllib3
196 31
pyopenssl.py
in functions/source/c9InstanceProfile/urllib3/contrib
305 31
_collections.py
in functions/source/c9InstanceProfile/urllib3
196 31
resource_helper.py
in functions/source/c9bootstrap/crhelper
279 30
resource_helper.py
in functions/source/c9InstanceProfile/crhelper
279 30
Files With Long Lines (Top 14)

There are 14 files with lines longer than 120 characters. In total, there are 397 long lines.

File# lines# units# long lines
jpcntx.py
in functions/source/c9bootstrap/chardet
169 10 83
jpcntx.py
in functions/source/c9InstanceProfile/chardet
169 10 83
pcluster_stack.py
in pcluster
462 3 58
mbcssm.py
in functions/source/c9bootstrap/chardet
476 - 52
mbcssm.py
in functions/source/c9InstanceProfile/chardet
476 - 52
escsm.py
in functions/source/c9bootstrap/chardet
201 - 26
escsm.py
in functions/source/c9InstanceProfile/chardet
201 - 26
core.py
in functions/source/c9bootstrap/idna
299 18 4
core.py
in functions/source/c9InstanceProfile/idna
299 18 4
lambda_function.py
in functions/source/c9bootstrap
110 8 3
compat.py
in functions/source/c9bootstrap/requests
39 - 2
compat.py
in functions/source/c9InstanceProfile/requests
39 - 2
inherit.yaml
in root
18 - 1
modules.yaml
in scripts/spack
70 - 1