awslabs / aws-greengrass-labs-lookoutvision-gstreamer
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 19 files with 1,818 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 2 medium size files (671 lines of codeclsfd_ftr_w_mp_ins)
    • 5 small files (707 lines of code)
    • 12 very small files (440 lines of code)
0% | 0% | 36% | 38% | 24%
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
cc0% | 0% | 31% | 52% | 16%
proto0% | 0% | 100% | 0% | 0%
h0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
tst/gst/lookoutvision0% | 0% | 100% | 0% | 0%
src/lookoutvision-client0% | 0% | 56% | 35% | 8%
src/gst/lookoutvision0% | 0% | 0% | 85% | 14%
mqtt-publish-sample/mqttpublisher-gstreamer-plugin/mqttpublisher0% | 0% | 0% | 81% | 18%
tst/utils/inferenceconsumer0% | 0% | 0% | 79% | 20%
tst/lookoutvision-client0% | 0% | 0% | 100% | 0%
src/gst/lookoutvisionmeta0% | 0% | 0% | 0% | 100%
mqtt-publish-sample/mqttpublisher-gstreamer-plugin/greengrass-client0% | 0% | 0% | 0% | 100%
tst/utils/test-server0% | 0% | 0% | 0% | 100%
tst/gst/lookoutvisionmeta0% | 0% | 0% | 0% | 100%
Longest Files (Top 19)
File# lines# units
gstlookoutvisiontest.cc
in tst/gst/lookoutvision
427 2
proto
Inference.proto
in src/lookoutvision-client
244 -
gstlookoutvision.cc
in src/gst/lookoutvision
200 9
LookoutVisionInferenceClient.cc
in src/lookoutvision-client
153 5
gstmqttpublisher.cc
in mqtt-publish-sample/mqttpublisher-gstreamer-plugin/mqttpublisher
138 8
gstinferenceconsumer.cc
in tst/utils/inferenceconsumer
110 8
LookoutVisionInferenceClientTest.cc
in tst/lookoutvision-client
106 2
TestServer.cc
in tst/utils/test-server
61 8
gstlookoutvisionmeta.cc
in src/gst/lookoutvisionmeta
55 4
GreengrassClient.cc
in mqtt-publish-sample/mqttpublisher-gstreamer-plugin/greengrass-client
52 1
gstlookoutvisionmetatest.cc
in tst/gst/lookoutvisionmeta
50 2
LookoutVisionInferenceClient.h
in src/lookoutvision-client
38 -
GreengrassClient.h
in mqtt-publish-sample/mqttpublisher-gstreamer-plugin/greengrass-client
35 3
gstlookoutvision.h
in src/gst/lookoutvision
33 -
gstmqttpublisher.h
in mqtt-publish-sample/mqttpublisher-gstreamer-plugin/mqttpublisher
31 -
gstinferenceconsumer.h
in tst/utils/inferenceconsumer
28 -
gstlookoutvisionmeta.h
in src/gst/lookoutvisionmeta
23 -
gstlookoutvisionresult.h
in src/gst/lookoutvisionmeta
17 -
TestServer.h
in tst/utils/test-server
17 -
Files With Most Units (Top 11)
File# lines# units
gstlookoutvision.cc
in src/gst/lookoutvision
200 9
gstmqttpublisher.cc
in mqtt-publish-sample/mqttpublisher-gstreamer-plugin/mqttpublisher
138 8
TestServer.cc
in tst/utils/test-server
61 8
gstinferenceconsumer.cc
in tst/utils/inferenceconsumer
110 8
LookoutVisionInferenceClient.cc
in src/lookoutvision-client
153 5
gstlookoutvisionmeta.cc
in src/gst/lookoutvisionmeta
55 4
GreengrassClient.h
in mqtt-publish-sample/mqttpublisher-gstreamer-plugin/greengrass-client
35 3
gstlookoutvisiontest.cc
in tst/gst/lookoutvision
427 2
gstlookoutvisionmetatest.cc
in tst/gst/lookoutvisionmeta
50 2
LookoutVisionInferenceClientTest.cc
in tst/lookoutvision-client
106 2
GreengrassClient.cc
in mqtt-publish-sample/mqttpublisher-gstreamer-plugin/greengrass-client
52 1
Files With Long Lines (Top 1)

There is only one file with lines longer than 120 characters. In total, there are 2 long lines.

File# lines# units# long lines
gstinferenceconsumer.cc
in tst/utils/inferenceconsumer
110 8 2