aws-quickstart / quickstart-aws-industrial-machine-connectivity
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 2,596 files with 527,162 lines of code.
    • 75 very long files (154,634 lines of code)
    • 153 long files (100,459 lines of code)
    • 507 medium size files (154,570 lines of codeclsfd_ftr_w_mp_ins)
    • 340 small files (52,397 lines of code)
    • 1,521 very small files (65,102 lines of code)
29% | 19% | 29% | 9% | 12%
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% | 19% | 29% | 9% | 11%
yaml52% | 9% | 27% | 7% | 2%
js0% | 98% | 0% | 0% | 1%
css0% | 0% | 41% | 19% | 39%
c0% | 0% | 100% | 0% | 0%
pyi0% | 0% | 68% | 0% | 31%
tex0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
functions/source/StackCleanup35% | 16% | 27% | 9% | 11%
functions/source/ggdeployer23% | 19% | 30% | 14% | 12%
functions/source/sitewisemonitorfunction28% | 20% | 29% | 8% | 12%
functions/source/quicksightfunction28% | 20% | 29% | 8% | 12%
functions/source/AssetModelConverter28% | 19% | 29% | 9% | 12%
functions/source/AssetModelUpdater28% | 19% | 29% | 8% | 13%
functions/source/AssetModelIngestion29% | 19% | 29% | 8% | 13%
functions/source/GreengrassLambda35% | 16% | 28% | 11% | 8%
templates57% | 10% | 30% | 0% | 1%
templates/utils0% | 0% | 0% | 86% | 13%
functions/source/UnifySourceIngest0% | 0% | 0% | 87% | 12%
functions/source/unify_common0% | 0% | 0% | 0% | 100%
functions/source/UnifyServiceAccountHandler0% | 0% | 0% | 0% | 100%
functions/source/SiteWiseDump0% | 0% | 0% | 0% | 100%
functions/source/mqttdataprocess0% | 0% | 0% | 0% | 100%
functions/source/UnifySiteWiseIngest0% | 0% | 0% | 0% | 100%
functions/source/UnifySiteWiseUpdater0% | 0% | 0% | 0% | 100%
functions/source/kinesisprocessor0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
uts46data.py
in functions/source/StackCleanup/idna
8271 80
uts46data.py
in functions/source/GreengrassLambda/idna
8120 79
math2html.py
in functions/source/sitewisemonitorfunction/docutils/utils/math
4364 469
math2html.py
in functions/source/AssetModelIngestion/docutils/utils/math
4364 469
math2html.py
in functions/source/AssetModelUpdater/docutils/utils/math
4364 469
math2html.py
in functions/source/ggdeployer/docutils/utils/math
4364 469
math2html.py
in functions/source/quicksightfunction/docutils/utils/math
4364 469
math2html.py
in functions/source/AssetModelConverter/docutils/utils/math
4364 469
math2html.py
in functions/source/StackCleanup/docutils/utils/math
4364 469
__init__.py
in functions/source/sitewisemonitorfunction/docutils/writers/odf_odt
3063 276
__init__.py
in functions/source/AssetModelIngestion/docutils/writers/odf_odt
3063 276
__init__.py
in functions/source/AssetModelUpdater/docutils/writers/odf_odt
3063 276
__init__.py
in functions/source/ggdeployer/docutils/writers/odf_odt
3063 276
__init__.py
in functions/source/quicksightfunction/docutils/writers/odf_odt
3063 276
__init__.py
in functions/source/AssetModelConverter/docutils/writers/odf_odt
3063 276
__init__.py
in functions/source/StackCleanup/docutils/writers/odf_odt
3063 276
states.py
in functions/source/sitewisemonitorfunction/docutils/parsers/rst
2267 140
states.py
in functions/source/AssetModelIngestion/docutils/parsers/rst
2267 140
states.py
in functions/source/AssetModelUpdater/docutils/parsers/rst
2267 140
states.py
in functions/source/ggdeployer/docutils/parsers/rst
2267 140
states.py
in functions/source/quicksightfunction/docutils/parsers/rst
2267 140
states.py
in functions/source/AssetModelConverter/docutils/parsers/rst
2267 140
states.py
in functions/source/StackCleanup/docutils/parsers/rst
2267 140
__init__.py
in functions/source/sitewisemonitorfunction/docutils/writers/latex2e
2162 237
__init__.py
in functions/source/AssetModelIngestion/docutils/writers/latex2e
2162 237
__init__.py
in functions/source/AssetModelUpdater/docutils/writers/latex2e
2162 237
__init__.py
in functions/source/ggdeployer/docutils/writers/latex2e
2162 237
__init__.py
in functions/source/quicksightfunction/docutils/writers/latex2e
2162 237
__init__.py
in functions/source/AssetModelConverter/docutils/writers/latex2e
2162 237
__init__.py
in functions/source/StackCleanup/docutils/writers/latex2e
2162 237
idnadata.py
in functions/source/StackCleanup/idna
2048 -
idnadata.py
in functions/source/GreengrassLambda/idna
1977 -
__init__.py
in functions/source/ggdeployer/pkg_resources
1839 249
IMC-workload.template.yaml
in templates
1673 -
easy_install.py
in functions/source/ggdeployer/setuptools/command
1605 114
credentials.py
in functions/source/StackCleanup/botocore
1317 129
compiler.py
in functions/source/GreengrassLambda/jinja2
1300 100
_make.py
in functions/source/ggdeployer/attr
1236 66
rrule.py
in functions/source/sitewisemonitorfunction/dateutil
1201 50
rrule.py
in functions/source/AssetModelIngestion/dateutil
1201 50
rrule.py
in functions/source/AssetModelUpdater/dateutil
1201 50
rrule.py
in functions/source/ggdeployer/dateutil
1201 50
rrule.py
in functions/source/quicksightfunction/dateutil
1201 50
rrule.py
in functions/source/AssetModelConverter/dateutil
1201 50
rrule.py
in functions/source/StackCleanup/dateutil
1201 50
IMC-unify-workload.template.yaml
in templates
1192 -
credentials.py
in functions/source/sitewisemonitorfunction/botocore
1190 121
credentials.py
in functions/source/AssetModelIngestion/botocore
1190 121
credentials.py
in functions/source/AssetModelUpdater/botocore
1190 121
credentials.py
in functions/source/ggdeployer/botocore
1190 121
Files With Most Units (Top 20)
File# lines# units
math2html.py
in functions/source/sitewisemonitorfunction/docutils/utils/math
4364 469
math2html.py
in functions/source/AssetModelIngestion/docutils/utils/math
4364 469
math2html.py
in functions/source/AssetModelUpdater/docutils/utils/math
4364 469
math2html.py
in functions/source/ggdeployer/docutils/utils/math
4364 469
math2html.py
in functions/source/quicksightfunction/docutils/utils/math
4364 469
math2html.py
in functions/source/AssetModelConverter/docutils/utils/math
4364 469
math2html.py
in functions/source/StackCleanup/docutils/utils/math
4364 469
__init__.py
in functions/source/sitewisemonitorfunction/docutils/writers/odf_odt
3063 276
__init__.py
in functions/source/AssetModelIngestion/docutils/writers/odf_odt
3063 276
__init__.py
in functions/source/AssetModelUpdater/docutils/writers/odf_odt
3063 276
__init__.py
in functions/source/ggdeployer/docutils/writers/odf_odt
3063 276
__init__.py
in functions/source/quicksightfunction/docutils/writers/odf_odt
3063 276
__init__.py
in functions/source/AssetModelConverter/docutils/writers/odf_odt
3063 276
__init__.py
in functions/source/StackCleanup/docutils/writers/odf_odt
3063 276
__init__.py
in functions/source/ggdeployer/pkg_resources
1839 249
__init__.py
in functions/source/sitewisemonitorfunction/docutils/writers/latex2e
2162 237
__init__.py
in functions/source/AssetModelIngestion/docutils/writers/latex2e
2162 237
__init__.py
in functions/source/AssetModelUpdater/docutils/writers/latex2e
2162 237
__init__.py
in functions/source/ggdeployer/docutils/writers/latex2e
2162 237
__init__.py
in functions/source/quicksightfunction/docutils/writers/latex2e
2162 237
Files With Long Lines (Top 20)

There are 44 files with lines longer than 120 characters. In total, there are 665 long lines.

File# lines# units# long lines
jpcntx.py
in functions/source/StackCleanup/chardet
169 10 83
jpcntx.py
in functions/source/GreengrassLambda/chardet
169 10 83
mbcssm.py
in functions/source/StackCleanup/chardet
476 - 52
mbcssm.py
in functions/source/GreengrassLambda/chardet
476 - 52
math2html.py
in functions/source/sitewisemonitorfunction/docutils/utils/math
4364 469 32
math2html.py
in functions/source/AssetModelIngestion/docutils/utils/math
4364 469 32
math2html.py
in functions/source/AssetModelUpdater/docutils/utils/math
4364 469 32
math2html.py
in functions/source/ggdeployer/docutils/utils/math
4364 469 32
math2html.py
in functions/source/quicksightfunction/docutils/utils/math
4364 469 32
math2html.py
in functions/source/AssetModelConverter/docutils/utils/math
4364 469 32
math2html.py
in functions/source/StackCleanup/docutils/utils/math
4364 469 32
escsm.py
in functions/source/StackCleanup/chardet
201 - 26
escsm.py
in functions/source/GreengrassLambda/chardet
201 - 26
VirtualOption1.template.yaml
in templates
345 - 14
IMC-unify-workload.template.yaml
in templates
1192 - 14
VirtualUnify.template.yaml
in templates
522 - 14
IMC-workload.template.yaml
in templates
1673 - 14
IMC-unify-main.template.yaml
in templates
302 - 10
IMC-main.template.yaml
in templates
274 - 8
Unify.template.yaml
in templates
282 - 6