aws-samples / ds-peoplecounter-l4v-workshop
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 16 files with 2,187 lines of code.
    • 0 very long files (0 lines of code)
    • 1 long files (936 lines of code)
    • 1 medium size files (275 lines of codeclsfd_ftr_w_mp_ins)
    • 3 small files (463 lines of code)
    • 11 very small files (513 lines of code)
0% | 42% | 12% | 21% | 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
c0% | 100% | 0% | 0% | 0%
proto0% | 0% | 100% | 0% | 0%
cc0% | 0% | 0% | 68% | 31%
py0% | 0% | 0% | 38% | 61%
h0% | 0% | 0% | 45% | 54%
cpp0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
lab1/deepstream-occupancy-analytics0% | 97% | 0% | 0% | 2%
lab2/inference_client0% | 0% | 39% | 23% | 37%
lab1/deepstream_plugin0% | 0% | 0% | 44% | 55%
lab1/deepstream-occupancy-analytics/includes0% | 0% | 0% | 91% | 8%
Longest Files (Top 16)
File# lines# units
deepstream_test5_app_main.c
in lab1/deepstream-occupancy-analytics
936 -
proto
edge-agent.proto
in lab2/inference_client
275 -
neodlr_plugin.cc
in lab1/deepstream_plugin
178 18
edge_agent_pb2_grpc.py
in lab2/inference_client
162 12
nvdsmeta_schema.h
in lab1/deepstream-occupancy-analytics/includes
123 -
sample-client-camera-mqtt.py
in lab2/inference_client
96 1
neodlr_plugin.h
in lab1/deepstream_plugin
77 -
sample-client-file-mqtt.py
in lab2/inference_client
67 -
nvdsinfer_custom_impl.h
in lab1/deepstream_plugin
62 -
sample-client-camera.py
in lab2/inference_client
58 1
nvdsinfer_custombboxparser.cc
in lab1/deepstream_plugin
46 1
nvdsinfer_custom_impl_neodlr.cc
in lab1/deepstream_plugin
34 -
sample-client-file.py
in lab2/inference_client
29 -
deepstream_nvdsanalytics_meta.cpp
in lab1/deepstream-occupancy-analytics
24 -
analytics.h
in lab1/deepstream-occupancy-analytics/includes
11 -
warmup-model.py
in lab2/inference_client
9 -
Files With Most Units (Top 5)
File# lines# units
neodlr_plugin.cc
in lab1/deepstream_plugin
178 18
edge_agent_pb2_grpc.py
in lab2/inference_client
162 12
nvdsinfer_custombboxparser.cc
in lab1/deepstream_plugin
46 1
sample-client-camera-mqtt.py
in lab2/inference_client
96 1
sample-client-camera.py
in lab2/inference_client
58 1
Files With Long Lines (Top 2)

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

File# lines# units# long lines
deepstream_test5_app_main.c
in lab1/deepstream-occupancy-analytics
936 - 1
proto
edge-agent.proto
in lab2/inference_client
275 - 1