aws-samples / amazon-lookout-for-equipment
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 17 files with 2,448 lines of code.
    • 0 very long files (0 lines of code)
    • 1 long files (879 lines of code)
    • 1 medium size files (201 lines of codeclsfd_ftr_w_mp_ins)
    • 7 small files (959 lines of code)
    • 8 very small files (409 lines of code)
0% | 35% | 8% | 39% | 16%
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% | 37% | 8% | 40% | 13%
yaml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
utils0% | 100% | 0% | 0% | 0%
apps/cloudwatch-dashboard/lambdas/list-schedulers0% | 0% | 100% | 0% | 0%
apps/cloudwatch-dashboard/lambdas/list-models0% | 0% | 0% | 73% | 26%
apps/cloudwatch-dashboard/layers/lookoutequipment0% | 0% | 0% | 100% | 0%
getting_started0% | 0% | 0% | 95% | 4%
apps/cloudwatch-dashboard/lambdas/scheduler-last-execution-details0% | 0% | 0% | 100% | 0%
apps/cloudwatch-dashboard/lambdas/scheduler-details0% | 0% | 0% | 100% | 0%
apps/cloudwatch-dashboard/lambdas/get-predictions0% | 0% | 0% | 100% | 0%
apps/cloudwatch-dashboard/synthetics0% | 0% | 0% | 100% | 0%
utils/cloud-formation-templates0% | 0% | 0% | 0% | 100%
apps/cloudwatch-dashboard/lambdas/plot-feature-importance0% | 0% | 0% | 0% | 100%
apps/cloudwatch-dashboard/lambdas/process-snapshot0% | 0% | 0% | 0% | 100%
apps/cloudwatch-dashboard/lambdas/model-details0% | 0% | 0% | 0% | 100%
apps/cloudwatch-dashboard/lambdas/plot-ranked-signals0% | 0% | 0% | 0% | 100%
apps/cloudwatch-dashboard/lambdas/plot-feature-importance-legend0% | 0% | 0% | 0% | 100%
Longest Files (Top 17)
File# lines# units
lookout_equipment_utils.py
in utils
879 40
handler.py
in apps/cloudwatch-dashboard/lambdas/list-schedulers
201 6
handler.py
in apps/cloudwatch-dashboard/lambdas/list-models
167 7
l4ecwcw.py
in apps/cloudwatch-dashboard/layers/lookoutequipment/python
164 13
RolesGeneratorL4E.py
in getting_started
154 1
handler.py
in apps/cloudwatch-dashboard/lambdas/scheduler-last-execution-details
133 5
handler.py
in apps/cloudwatch-dashboard/lambdas/scheduler-details
120 6
handler.py
in apps/cloudwatch-dashboard/lambdas/get-predictions
113 5
dashboard-snapshot.py
in apps/cloudwatch-dashboard/synthetics
108 7
getting-started.yaml
in utils/cloud-formation-templates
84 -
handler.py
in apps/cloudwatch-dashboard/lambdas/plot-feature-importance
61 2
lambda_function.py
in apps/cloudwatch-dashboard/lambdas/process-snapshot
60 2
dashboards_definition.py
in apps/cloudwatch-dashboard/lambdas/list-models
59 1
handler.py
in apps/cloudwatch-dashboard/lambdas/model-details
57 3
handler.py
in apps/cloudwatch-dashboard/lambdas/plot-ranked-signals
50 2
handler.py
in apps/cloudwatch-dashboard/lambdas/plot-feature-importance-legend
31 2
config.py
in getting_started
7 -
Files With Most Units (Top 15)
File# lines# units
lookout_equipment_utils.py
in utils
879 40
l4ecwcw.py
in apps/cloudwatch-dashboard/layers/lookoutequipment/python
164 13
dashboard-snapshot.py
in apps/cloudwatch-dashboard/synthetics
108 7
handler.py
in apps/cloudwatch-dashboard/lambdas/list-models
167 7
handler.py
in apps/cloudwatch-dashboard/lambdas/list-schedulers
201 6
handler.py
in apps/cloudwatch-dashboard/lambdas/scheduler-details
120 6
handler.py
in apps/cloudwatch-dashboard/lambdas/get-predictions
113 5
handler.py
in apps/cloudwatch-dashboard/lambdas/scheduler-last-execution-details
133 5
handler.py
in apps/cloudwatch-dashboard/lambdas/model-details
57 3
handler.py
in apps/cloudwatch-dashboard/lambdas/plot-feature-importance-legend
31 2
handler.py
in apps/cloudwatch-dashboard/lambdas/plot-ranked-signals
50 2
handler.py
in apps/cloudwatch-dashboard/lambdas/plot-feature-importance
61 2
lambda_function.py
in apps/cloudwatch-dashboard/lambdas/process-snapshot
60 2
dashboards_definition.py
in apps/cloudwatch-dashboard/lambdas/list-models
59 1
RolesGeneratorL4E.py
in getting_started
154 1
Files With Long Lines (Top 6)

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

File# lines# units# long lines
dashboards_definition.py
in apps/cloudwatch-dashboard/lambdas/list-models
59 1 4
dashboard-snapshot.py
in apps/cloudwatch-dashboard/synthetics
108 7 3
handler.py
in apps/cloudwatch-dashboard/lambdas/list-schedulers
201 6 2
handler.py
in apps/cloudwatch-dashboard/lambdas/scheduler-details
120 6 2
handler.py
in apps/cloudwatch-dashboard/lambdas/plot-ranked-signals
50 2 1
getting-started.yaml
in utils/cloud-formation-templates
84 - 1