aws-samples / simple-smart-mirror
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 26 files with 2,686 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 4 medium size files (1,317 lines of codeclsfd_ftr_w_mp_ins)
    • 4 small files (748 lines of code)
    • 18 very small files (621 lines of code)
0% | 0% | 49% | 27% | 23%
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
py0% | 0% | 60% | 26% | 12%
proto0% | 0% | 0% | 72% | 27%
yaml0% | 0% | 0% | 0% | 100%
yml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
smart-mirror-full/extracted/device/script/src/agt/ble0% | 0% | 76% | 0% | 23%
smart-mirror-full/extracted/device/script/src/agt/bt_classic0% | 0% | 99% | 0% | <1%
smart-mirror-full/extracted/device/script/src/agt0% | 0% | 58% | 30% | 11%
smart-mirror-full/extracted/lambda/custom0% | 0% | 100% | 0% | 0%
smart-mirror-full/extracted/device/script0% | 0% | 0% | 81% | 18%
cloudformation-templates0% | 0% | 0% | 0% | 100%
smart-mirror-full/extracted0% | 0% | 0% | 0% | 100%
smart-mirror-full/extracted/device/script/src0% | 0% | 0% | 0% | 100%
Longest Files (Top 26)
File# lines# units
adapter.py
in smart-mirror-full/extracted/device/script/src/agt/ble
428 72
adapter.py
in smart-mirror-full/extracted/device/script/src/agt/bt_classic
356 64
alexa_gadget.py
in smart-mirror-full/extracted/device/script/src/agt
316 25
lambda_function.py
in smart-mirror-full/extracted/lambda/custom
217 21
setup_gadget.py
in smart-mirror-full/extracted/device/script
200 1
smart_mirror.py
in smart-mirror-full/extracted/device/script
195 16
agt_smart_mirror.py
in smart-mirror-full/extracted/device/script
190 15
proto
messages.proto
in smart-mirror-full/extracted/device/script/src/agt
163 -
parameter_store_helper.py
in smart-mirror-full/extracted/device/script
71 5
ParameterStore.yaml
in cloudformation-templates
70 -
protocol.py
in smart-mirror-full/extracted/device/script/src/agt/ble
67 -
SmartMirrorDeviceRole.yaml
in cloudformation-templates
66 -
template.yml
in smart-mirror-full/extracted
63 -
proto
messages.proto
in smart-mirror-full/extracted/device/script/src/agt/ble
62 -
CodeDeployAssociation.yaml
in cloudformation-templates
54 -
base_adapter.py
in smart-mirror-full/extracted/device/script/src/agt
39 5
smart_mirror_service_start.py
in smart-mirror-full/extracted/device/script
33 -
appspec.yml
in smart-mirror-full/extracted
20 -
test.py
in smart-mirror-full/extracted/device/script
16 -
buildspec.yml
in smart-mirror-full/extracted
15 -
smart_mirror_service_stop.py
in smart-mirror-full/extracted/device/script
13 -
__init__.py
in smart-mirror-full/extracted/device/script/src/agt
12 -
util.py
in smart-mirror-full/extracted/device/script/src/agt
11 2
setup.py
in smart-mirror-full/extracted/device/script/src
7 -
__init__.py
in smart-mirror-full/extracted/device/script/src/agt/ble
1 -
__init__.py
in smart-mirror-full/extracted/device/script/src/agt/bt_classic
1 -
Files With Most Units (Top 10)
File# lines# units
adapter.py
in smart-mirror-full/extracted/device/script/src/agt/ble
428 72
adapter.py
in smart-mirror-full/extracted/device/script/src/agt/bt_classic
356 64
alexa_gadget.py
in smart-mirror-full/extracted/device/script/src/agt
316 25
lambda_function.py
in smart-mirror-full/extracted/lambda/custom
217 21
smart_mirror.py
in smart-mirror-full/extracted/device/script
195 16
agt_smart_mirror.py
in smart-mirror-full/extracted/device/script
190 15
base_adapter.py
in smart-mirror-full/extracted/device/script/src/agt
39 5
parameter_store_helper.py
in smart-mirror-full/extracted/device/script
71 5
util.py
in smart-mirror-full/extracted/device/script/src/agt
11 2
setup_gadget.py
in smart-mirror-full/extracted/device/script
200 1
Files With Long Lines (Top 9)

There are 9 files with lines longer than 120 characters. In total, there are 35 long lines.

File# lines# units# long lines
protocol.py
in smart-mirror-full/extracted/device/script/src/agt/ble
67 - 9
CodeDeployAssociation.yaml
in cloudformation-templates
54 - 7
setup_gadget.py
in smart-mirror-full/extracted/device/script
200 1 7
alexa_gadget.py
in smart-mirror-full/extracted/device/script/src/agt
316 25 4
adapter.py
in smart-mirror-full/extracted/device/script/src/agt/bt_classic
356 64 3
template.yml
in smart-mirror-full/extracted
63 - 2
SmartMirrorDeviceRole.yaml
in cloudformation-templates
66 - 1
buildspec.yml
in smart-mirror-full/extracted
15 - 1
adapter.py
in smart-mirror-full/extracted/device/script/src/agt/ble
428 72 1