aws-robotics / cloudwatchmetrics-ros2
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 7 files with 653 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 1 medium size files (232 lines of codeclsfd_ftr_w_mp_ins)
    • 1 small files (130 lines of code)
    • 5 very small files (291 lines of code)
0% | 0% | 35% | 19% | 44%
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
cpp0% | 0% | 51% | 28% | 20%
hpp0% | 0% | 0% | 0% | 100%
py0% | 0% | 0% | 0% | 100%
yaml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
src0% | 0% | 51% | 28% | 20%
include/cloudwatch_metrics_collector0% | 0% | 0% | 0% | 100%
launch0% | 0% | 0% | 0% | 100%
config0% | 0% | 0% | 0% | 100%
Longest Files (Top 7)
File# lines# units
metrics_collector_parameter_helper.cpp
in cloudwatch_metrics_collector/src
232 10
metrics_collector.cpp
in cloudwatch_metrics_collector/src
130 8
main.cpp
in cloudwatch_metrics_collector/src
92 1
metrics_collector_parameter_helper.hpp
in cloudwatch_metrics_collector/include/cloudwatch_metrics_collector
73 -
cloudwatch_metrics_collector.launch.py
in cloudwatch_metrics_collector/launch
66 1
metrics_collector.hpp
in cloudwatch_metrics_collector/include/cloudwatch_metrics_collector
49 -
sample_configuration.yaml
in cloudwatch_metrics_collector/config
11 -
Files With Most Units (Top 4)
File# lines# units
metrics_collector_parameter_helper.cpp
in cloudwatch_metrics_collector/src
232 10
metrics_collector.cpp
in cloudwatch_metrics_collector/src
130 8
cloudwatch_metrics_collector.launch.py
in cloudwatch_metrics_collector/launch
66 1
main.cpp
in cloudwatch_metrics_collector/src
92 1
Files With Long Lines (Top 4)

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

File# lines# units# long lines
cloudwatch_metrics_collector.launch.py
in cloudwatch_metrics_collector/launch
66 1 4
metrics_collector.cpp
in cloudwatch_metrics_collector/src
130 8 1
main.cpp
in cloudwatch_metrics_collector/src
92 1 1
metrics_collector.hpp
in cloudwatch_metrics_collector/include/cloudwatch_metrics_collector
49 - 1