aws-samples / monitor-ml-models-efficiently-across-fleets-of-devices-aim325
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 18 files with 2,307 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 4 medium size files (975 lines of codeclsfd_ftr_w_mp_ins)
    • 6 small files (842 lines of code)
    • 8 very small files (490 lines of code)
0% | 0% | 42% | 36% | 21%
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% | 36% | 38% | 25%
yml0% | 0% | 66% | 29% | 4%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
setup0% | 0% | 53% | 46% | 0%
lab/app0% | 0% | 28% | 39% | 32%
lab/app_ggv20% | 0% | 45% | 29% | 25%
lab0% | 0% | 51% | 27% | 21%
ROOT0% | 0% | 0% | 0% | 100%
Longest Files (Top 18)
File# lines# units
sagemaker_project.yml
in setup
315 -
agent_pb2_grpc.py
in lab/app
222 16
agent_pb2_grpc.py
in lab/app_ggv2
222 16
setup_utils.py
in lab
216 2
ota.py
in lab/app
171 11
deploy_sagemaker_project_template.yml
in setup
142 -
windfarm.py
in lab/app_ggv2
142 14
windfarm.py
in lab/app
138 10
run.py
in setup
136 1
wind_turbine.py
in lab
113 6
preprocessing.py
in lab
88 3
simulator.py
in lab/app
88 15
edgeagentclient.py
in lab/app
87 8
edgeagentclient.py
in lab/app_ggv2
84 8
turbine.py
in lab/app
82 10
turbine.py
in lab/app_ggv2
35 6
buildspec.yml
in root
20 -
entry_point.py
in lab/app_ggv2
6 -
Files With Most Units (Top 14)
File# lines# units
agent_pb2_grpc.py
in lab/app
222 16
agent_pb2_grpc.py
in lab/app_ggv2
222 16
simulator.py
in lab/app
88 15
windfarm.py
in lab/app_ggv2
142 14
ota.py
in lab/app
171 11
windfarm.py
in lab/app
138 10
turbine.py
in lab/app
82 10
edgeagentclient.py
in lab/app
87 8
edgeagentclient.py
in lab/app_ggv2
84 8
wind_turbine.py
in lab
113 6
turbine.py
in lab/app_ggv2
35 6
preprocessing.py
in lab
88 3
setup_utils.py
in lab
216 2
run.py
in setup
136 1
Files With Long Lines (Top 12)

There are 12 files with lines longer than 120 characters. In total, there are 28 long lines.

File# lines# units# long lines
sagemaker_project.yml
in setup
315 - 9
ota.py
in lab/app
171 11 4
buildspec.yml
in root
20 - 3
deploy_sagemaker_project_template.yml
in setup
142 - 2
windfarm.py
in lab/app
138 10 2
windfarm.py
in lab/app_ggv2
142 14 2
run.py
in setup
136 1 1
preprocessing.py
in lab
88 3 1
wind_turbine.py
in lab
113 6 1
edgeagentclient.py
in lab/app
87 8 1
simulator.py
in lab/app
88 15 1
edgeagentclient.py
in lab/app_ggv2
84 8 1