aws-samples / aws-builders-fair-projects
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,500 files with 285,588 lines of code.
    • 26 very long files (66,203 lines of code)
    • 67 long files (44,766 lines of code)
    • 240 medium size files (73,281 lines of codeclsfd_ftr_w_mp_ins)
    • 296 small files (43,761 lines of code)
    • 1,871 very small files (57,577 lines of code)
23% | 15% | 25% | 15% | 20%
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
py24% | 16% | 30% | 13% | 14%
css68% | 0% | 12% | 7% | 10%
js0% | 18% | 12% | 22% | 46%
yml0% | 59% | 17% | 9% | 13%
yaml0% | 55% | 0% | 15% | 28%
html0% | 0% | 27% | 44% | 27%
MD0% | 0% | 88% | 0% | 11%
cs0% | 0% | 24% | 33% | 42%
xacro0% | 0% | 23% | 74% | 1%
ts0% | 0% | 26% | 0% | 73%
scss0% | 0% | 44% | 0% | 55%
java0% | 0% | 10% | 38% | 51%
TXT0% | 0% | 0% | 100% | 0%
ino0% | 0% | 0% | 0% | 100%
vue0% | 0% | 0% | 0% | 100%
graphql0% | 0% | 0% | 0% | 100%
tex0% | 0% | 0% | 0% | 100%
launch0% | 0% | 0% | 0% | 100%
in0% | 0% | 0% | 0% | 100%
toml0% | 0% | 0% | 0% | 100%
cfg0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
reinvent-2020/RhythmCloud21% | 16% | 25% | 15% | 22%
reinvent-2019/rhythm-cloud29% | 17% | 28% | 13% | 12%
reinvent-2020/aws-smart-recycle84% | 0% | 5% | 5% | 5%
reinvent-2019/smart-garden13% | 26% | 11% | 18% | 29%
reinvent-2019/drone-zone0% | 75% | 0% | 9% | 15%
reinvent-2019/connected-photo-booth0% | 11% | 71% | 11% | 6%
reinvent-2019/lego-ev3-raspberry-pi-robot0% | 11% | 44% | 32% | 11%
reinvent-2019/iot-racing-ninja0% | 0% | 39% | 26% | 33%
reinvent-2019/learn-languages-ai-ml0% | 0% | 20% | 25% | 53%
reinvent-2019/automatic-anomaly-detection-tool0% | 0% | 24% | 39% | 36%
reinvent-2019/doodlechallenge0% | 0% | 8% | 28% | 63%
reinvent-2019/deeppens0% | 0% | 0% | 53% | 46%
reinvent-2019/fully-automated-farm0% | 0% | 0% | 18% | 81%
reinvent-2019/polyglot-bot0% | 0% | 0% | 27% | 72%
reinvent-2019/autoponics0% | 0% | 0% | 57% | 42%
reinvent-2019/puente0% | 0% | 0% | 16% | 83%
reinvent-2019/sign-and-speak0% | 0% | 0% | 22% | 77%
reinvent-2020/rock-a-bye-baby0% | 0% | 0% | 0% | 100%
reinvent-2019/smart-garage0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
main.css
in reinvent-2019/rhythm-cloud/web/design/css
8345 -
main.css
in reinvent-2020/RhythmCloud/web/design/css
8345 -
__init__.py
in reinvent-2020/aws-smart-recycle/pi/lambda/gg-pi-recycle/greengrasssdk/stream_manager/data
5646 496
math2html.py
in reinvent-2019/rhythm-cloud/lambda/Greengrass_startSong/docutils/utils/math
4364 469
math2html.py
in reinvent-2020/RhythmCloud/lambda/Greengrass_startSong/docutils/utils/math
4364 469
__init__.py
in reinvent-2019/rhythm-cloud/lambda/Greengrass_startSong/docutils/writers/odf_odt
3062 276
__init__.py
in reinvent-2020/RhythmCloud/lambda/Greengrass_startSong/docutils/writers/odf_odt
3062 276
states.py
in reinvent-2019/rhythm-cloud/lambda/Greengrass_startSong/docutils/parsers/rst
2267 140
states.py
in reinvent-2020/RhythmCloud/lambda/Greengrass_startSong/docutils/parsers/rst
2267 140
__init__.py
in reinvent-2019/rhythm-cloud/lambda/Greengrass_startSong/docutils/writers/latex2e
2162 237
__init__.py
in reinvent-2020/RhythmCloud/lambda/Greengrass_startSong/docutils/writers/latex2e
2162 237
client.py
in reinvent-2019/rhythm-cloud/lib/aws-iot-device-sdk-python/AWSIoTPythonSDK/core/protocol/paho
1622 83
client.py
in reinvent-2019/rhythm-cloud/lambda/Greengrass_startSong/AWSIoTPythonSDK/core/protocol/paho
1622 83
client.py
in reinvent-2019/rhythm-cloud/lambda/StartSong/AWSIoTPythonSDK/core/protocol/paho
1622 83
client.py
in reinvent-2020/RhythmCloud/lib/aws-iot-device-sdk-python/AWSIoTPythonSDK/core/protocol/paho
1622 83
client.py
in reinvent-2020/RhythmCloud/lambda/Greengrass_startSong/AWSIoTPythonSDK/core/protocol/paho
1622 83
client.py
in reinvent-2020/RhythmCloud/lambda/StartSong/AWSIoTPythonSDK/core/protocol/paho
1622 83
rrule.py
in reinvent-2019/rhythm-cloud/lambda/Greengrass_startSong/dateutil
1202 50
rrule.py
in reinvent-2020/RhythmCloud/lambda/Greengrass_startSong/dateutil
1202 50
rrule.py
in reinvent-2019/smart-garden/lambdasGreengrass-Edge/lambdas/WaterPumpControl/vendored/dateutil
1195 49
credentials.py
in reinvent-2019/rhythm-cloud/lambda/Greengrass_startSong/botocore
1179 120
credentials.py
in reinvent-2020/RhythmCloud/lambda/Greengrass_startSong/botocore
1179 120
_html_base.py
in reinvent-2019/rhythm-cloud/lambda/Greengrass_startSong/docutils/writers
1160 199
_html_base.py
in reinvent-2020/RhythmCloud/lambda/Greengrass_startSong/docutils/writers
1160 199
nodes.py
in reinvent-2019/rhythm-cloud/lambda/Greengrass_startSong/docutils
1074 147
nodes.py
in reinvent-2020/RhythmCloud/lambda/Greengrass_startSong/docutils
1074 147
_parser.py
in reinvent-2019/rhythm-cloud/lambda/Greengrass_startSong/dateutil/parser
931 56
_parser.py
in reinvent-2020/RhythmCloud/lambda/Greengrass_startSong/dateutil/parser
931 56
_parser.py
in reinvent-2019/smart-garden/lambdasGreengrass-Edge/lambdas/WaterPumpControl/vendored/dateutil/parser
929 56
tz.py
in reinvent-2019/rhythm-cloud/lambda/Greengrass_startSong/dateutil/tz
900 82
tz.py
in reinvent-2020/RhythmCloud/lambda/Greengrass_startSong/dateutil/tz
900 82
big5freq.py
in reinvent-2019/rhythm-cloud/lambda/Greengrass_startSong/botocore/vendored/requests/packages/chardet
877 -
big5freq.py
in reinvent-2020/RhythmCloud/lambda/Greengrass_startSong/botocore/vendored/requests/packages/chardet
877 -
tz.py
in reinvent-2019/smart-garden/lambdasGreengrass-Edge/lambdas/WaterPumpControl/vendored/dateutil/tz
869 80
s3.js
in reinvent-2020/RhythmCloud/analytics/rhythm-score/get-score/package/lib/services
867 45
s3.js
in reinvent-2020/RhythmCloud/analytics/rhythm-score/package/lib/services
867 45
utils.py
in reinvent-2019/rhythm-cloud/lambda/Greengrass_startSong/botocore
815 71
utils.py
in reinvent-2020/RhythmCloud/lambda/Greengrass_startSong/botocore
815 71
unichar2tex.py
in reinvent-2019/rhythm-cloud/lambda/Greengrass_startSong/docutils/utils/math
781 -
util.js
in reinvent-2020/RhythmCloud/analytics/rhythm-score/get-score/package/lib
781 75
util.js
in reinvent-2020/RhythmCloud/analytics/rhythm-score/package/lib
781 75
unichar2tex.py
in reinvent-2020/RhythmCloud/lambda/Greengrass_startSong/docutils/utils/math
781 -
manpage.py
in reinvent-2019/rhythm-cloud/lambda/Greengrass_startSong/docutils/writers
775 195
manpage.py
in reinvent-2020/RhythmCloud/lambda/Greengrass_startSong/docutils/writers
775 195
greengrass_rhythmcloud.yml
in reinvent-2019/rhythm-cloud/cloudformation
759 -
greengrass_rhythmcloud.yml
in reinvent-2020/RhythmCloud/cloudformation
759 -
dataTables.scroller.js
in reinvent-2019/rhythm-cloud/web/design/js/DataTables/Scroller-2.0.1/js
754 26
dataTables.scroller.js
in reinvent-2020/RhythmCloud/web/design/js/DataTables/Scroller-2.0.1/js
754 26
statemachine.py
in reinvent-2019/rhythm-cloud/lambda/Greengrass_startSong/docutils
707 93
statemachine.py
in reinvent-2020/RhythmCloud/lambda/Greengrass_startSong/docutils
707 93
Files With Most Units (Top 20)
File# lines# units
__init__.py
in reinvent-2020/aws-smart-recycle/pi/lambda/gg-pi-recycle/greengrasssdk/stream_manager/data
5646 496
math2html.py
in reinvent-2019/rhythm-cloud/lambda/Greengrass_startSong/docutils/utils/math
4364 469
math2html.py
in reinvent-2020/RhythmCloud/lambda/Greengrass_startSong/docutils/utils/math
4364 469
__init__.py
in reinvent-2019/rhythm-cloud/lambda/Greengrass_startSong/docutils/writers/odf_odt
3062 276
__init__.py
in reinvent-2020/RhythmCloud/lambda/Greengrass_startSong/docutils/writers/odf_odt
3062 276
__init__.py
in reinvent-2019/rhythm-cloud/lambda/Greengrass_startSong/docutils/writers/latex2e
2162 237
__init__.py
in reinvent-2020/RhythmCloud/lambda/Greengrass_startSong/docutils/writers/latex2e
2162 237
_html_base.py
in reinvent-2019/rhythm-cloud/lambda/Greengrass_startSong/docutils/writers
1160 199
_html_base.py
in reinvent-2020/RhythmCloud/lambda/Greengrass_startSong/docutils/writers
1160 199
manpage.py
in reinvent-2019/rhythm-cloud/lambda/Greengrass_startSong/docutils/writers
775 195
manpage.py
in reinvent-2020/RhythmCloud/lambda/Greengrass_startSong/docutils/writers
775 195
nodes.py
in reinvent-2019/rhythm-cloud/lambda/Greengrass_startSong/docutils
1074 147
nodes.py
in reinvent-2020/RhythmCloud/lambda/Greengrass_startSong/docutils
1074 147
states.py
in reinvent-2019/rhythm-cloud/lambda/Greengrass_startSong/docutils/parsers/rst
2267 140
states.py
in reinvent-2020/RhythmCloud/lambda/Greengrass_startSong/docutils/parsers/rst
2267 140
credentials.py
in reinvent-2019/rhythm-cloud/lambda/Greengrass_startSong/botocore
1179 120
credentials.py
in reinvent-2020/RhythmCloud/lambda/Greengrass_startSong/botocore
1179 120
statemachine.py
in reinvent-2019/rhythm-cloud/lambda/Greengrass_startSong/docutils
707 93
statemachine.py
in reinvent-2020/RhythmCloud/lambda/Greengrass_startSong/docutils
707 93
client.py
in reinvent-2019/rhythm-cloud/lib/aws-iot-device-sdk-python/AWSIoTPythonSDK/core/protocol/paho
1622 83
Files With Long Lines (Top 20)

There are 290 files with lines longer than 120 characters. In total, there are 1432 long lines.

File# lines# units# long lines
README.MD
in reinvent-2019/lego-ev3-raspberry-pi-robot
482 - 106
jpcntx.py
in reinvent-2019/rhythm-cloud/lambda/Greengrass_startSong/botocore/vendored/requests/packages/chardet
163 10 83
jpcntx.py
in reinvent-2020/RhythmCloud/lambda/Greengrass_startSong/botocore/vendored/requests/packages/chardet
163 10 83
main.css
in reinvent-2019/rhythm-cloud/web/design/css
8345 - 67
main.css
in reinvent-2020/RhythmCloud/web/design/css
8345 - 67
math2html.py
in reinvent-2019/rhythm-cloud/lambda/Greengrass_startSong/docutils/utils/math
4364 469 32
math2html.py
in reinvent-2020/RhythmCloud/lambda/Greengrass_startSong/docutils/utils/math
4364 469 32
dataTables.jqueryui.css
in reinvent-2019/rhythm-cloud/web/design/js/DataTables/DataTables-1.10.20/css
444 - 20
jquery.dataTables.css
in reinvent-2019/rhythm-cloud/web/design/js/DataTables/DataTables-1.10.20/css
415 - 20
dataTables.jqueryui.css
in reinvent-2020/RhythmCloud/web/design/js/DataTables/DataTables-1.10.20/css
444 - 20
jquery.dataTables.css
in reinvent-2020/RhythmCloud/web/design/js/DataTables/DataTables-1.10.20/css
415 - 20
home.component.html
in reinvent-2019/learn-languages-ai-ml/Buildersfair-Web/src/app/home
169 - 18
ts-generator.js
in reinvent-2020/RhythmCloud/analytics/rhythm-score/get-score/package/scripts/lib
511 1 18
ts-generator.js
in reinvent-2020/RhythmCloud/analytics/rhythm-score/package/scripts/lib
511 1 18
__init__.py
in reinvent-2020/aws-smart-recycle/pi/lambda/gg-pi-recycle/greengrasssdk/stream_manager/data
5646 496 18
MQTTLib.py
in reinvent-2019/rhythm-cloud/lib/aws-iot-device-sdk-python/AWSIoTPythonSDK
166 57 16
MQTTLib.py
in reinvent-2019/rhythm-cloud/lambda/Greengrass_startSong/AWSIoTPythonSDK
166 57 16
MQTTLib.py
in reinvent-2019/rhythm-cloud/lambda/StartSong/AWSIoTPythonSDK
166 57 16
MQTTLib.py
in reinvent-2020/RhythmCloud/lib/aws-iot-device-sdk-python/AWSIoTPythonSDK
166 57 16
MQTTLib.py
in reinvent-2020/RhythmCloud/lambda/Greengrass_startSong/AWSIoTPythonSDK
166 57 16