micro-ROS / system_modes

System modes for ROS 2 and micro-ROS
Apache License 2.0
43 stars 9 forks source link

Code coverage #65

Closed norro closed 3 years ago

norro commented 3 years ago

Signed-off-by: Nordmann Arne (CR/ADT3) arne.nordmann@de.bosch.com

norro commented 3 years ago

Adds coverage.yml configuration and several tests to increase coverage,

codecov[bot] commented 3 years ago

Codecov Report

Merging #65 (877b9fd) into master (9142fed) will increase coverage by 5.75%. The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #65      +/-   ##
==========================================
+ Coverage   21.78%   27.54%   +5.75%     
==========================================
  Files          20       12       -8     
  Lines        1464      991     -473     
  Branches      888      711     -177     
==========================================
- Hits          319      273      -46     
+ Misses        475      259     -216     
+ Partials      670      459     -211     
Impacted Files Coverage Δ
system_modes/src/system_modes/mode_handling.cpp 27.58% <0.00%> (+14.02%) :arrow_up:
system_modes/src/system_modes/mode_impl.cpp 38.37% <ø> (ø)
system_modes/src/system_modes/mode_inference.cpp 35.14% <ø> (-0.28%) :arrow_down:
system_modes/src/system_modes/mode_monitor.cpp 0.79% <ø> (+0.79%) :arrow_up:
system_modes/test/test_mode.cpp
system_modes/test/test_state_and_mode_struct.cpp
system_modes/test/test_mode_inference.cpp
system_modes/test/test_default_mode.cpp
system_modes_examples/src/manipulator.cpp
... and 4 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 9142fed...877b9fd. Read the comment docs.