GCC Code Coverage Report


Directory: ./
Date: 2023-02-07 15:30:53
Exec Total Coverage
Lines: 143 199 71.9%
Functions: 44 54 81.5%
Branches: 81 326 24.8%

Function File Line Call count
PID_tests::SetUp() tests/test_pid_cpp.cpp 36 called 9 times
PID_tests::TearDown() tests/test_pid_cpp.cpp 45 called 9 times
PID_tests_configurations_same_results_test_Test::PID_tests_configurations_same_results_test_Test() tests/test_pid_cpp.cpp 88 called 1 time
PID_tests_configurations_same_results_test_Test::TestBody() tests/test_pid_cpp.cpp 88 called 1 time
PID_tests_configurations_same_results_test_Test::~PID_tests_configurations_same_results_test_Test() tests/test_pid_cpp.cpp 88 called 2 times
PID_tests_default_configuration_test_Test::PID_tests_default_configuration_test_Test() tests/test_pid_cpp.cpp 53 called 1 time
PID_tests_default_configuration_test_Test::TestBody() tests/test_pid_cpp.cpp 53 called 1 time
PID_tests_default_configuration_test_Test::~PID_tests_default_configuration_test_Test() tests/test_pid_cpp.cpp 53 called 2 times
PID_tests_file_configuration_fail_test_Test::PID_tests_file_configuration_fail_test_Test() tests/test_pid_cpp.cpp 73 called 1 time
PID_tests_file_configuration_fail_test_Test::TestBody() tests/test_pid_cpp.cpp 73 called 1 time
PID_tests_file_configuration_fail_test_Test::~PID_tests_file_configuration_fail_test_Test() tests/test_pid_cpp.cpp 73 called 2 times
PID_tests_file_configuration_ok_test_Test::PID_tests_file_configuration_ok_test_Test() tests/test_pid_cpp.cpp 64 called 1 time
PID_tests_file_configuration_ok_test_Test::TestBody() tests/test_pid_cpp.cpp 64 called 1 time
PID_tests_file_configuration_ok_test_Test::~PID_tests_file_configuration_ok_test_Test() tests/test_pid_cpp.cpp 64 called 2 times
PID_tests_integral_Test::PID_tests_integral_Test() tests/test_pid_cpp.cpp 110 called 1 time
PID_tests_integral_Test::TestBody() tests/test_pid_cpp.cpp 110 called 1 time
PID_tests_integral_Test::~PID_tests_integral_Test() tests/test_pid_cpp.cpp 110 called 2 times
PID_tests_read_config_file_test_Test::PID_tests_read_config_file_test_Test() tests/test_pid_cpp.cpp 82 called 1 time
PID_tests_read_config_file_test_Test::TestBody() tests/test_pid_cpp.cpp 82 called 1 time
PID_tests_read_config_file_test_Test::~PID_tests_read_config_file_test_Test() tests/test_pid_cpp.cpp 82 called 2 times
PID_tests_reset_integral_Test::PID_tests_reset_integral_Test() tests/test_pid_cpp.cpp 128 called 1 time
PID_tests_reset_integral_Test::TestBody() tests/test_pid_cpp.cpp 128 called 1 time
PID_tests_reset_integral_Test::~PID_tests_reset_integral_Test() tests/test_pid_cpp.cpp 128 called 2 times
PID_tests_zero_force_at_target_Test::PID_tests_zero_force_at_target_Test() tests/test_pid_cpp.cpp 152 called 1 time
PID_tests_zero_force_at_target_Test::TestBody() tests/test_pid_cpp.cpp 152 called 1 time
PID_tests_zero_force_at_target_Test::~PID_tests_zero_force_at_target_Test() tests/test_pid_cpp.cpp 152 called 2 times
PyInit_package_template_cpp_bindings srcpy/wrappers.cpp 13 not called
main demos/demo_pid.cpp 47 not called
main demos/demo_pid_load_from_file.cpp 80 not called
main tests/main.cpp 12 called 9 times
package_template::DefaultConfiguration::get_error[abi:cxx11]() const src/default_configuration.cpp 33 not called
package_template::DefaultConfiguration::get_kd() const src/default_configuration.cpp 18 called 11 times
package_template::DefaultConfiguration::get_ki() const src/default_configuration.cpp 23 called 11 times
package_template::DefaultConfiguration::get_kp() const src/default_configuration.cpp 13 called 11 times
package_template::DefaultConfiguration::has_error() const src/default_configuration.cpp 28 called 1 time
package_template::DefaultConfiguration::~DefaultConfiguration() include/package_template/default_configuration.hpp 30 called 2 times
package_template::Default_pid_factory::get() src/pid.cpp 65 called 4 times
package_template::File_configuration::File_configuration(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >) src/file_configuration.cpp 13 called 4 times
package_template::File_configuration::get_error[abi:cxx11]() const src/file_configuration.cpp 51 not called
package_template::File_configuration::get_kd() const src/file_configuration.cpp 36 called 2 times
package_template::File_configuration::get_ki() const src/file_configuration.cpp 41 called 2 times
package_template::File_configuration::get_kp() const src/file_configuration.cpp 31 called 2 times
package_template::File_configuration::has_error() const src/file_configuration.cpp 46 called 2 times
package_template::Gains_configuration::~Gains_configuration() include/package_template/gains_configuration.hpp 28 called 6 times
package_template::PID::PID() src/pid.cpp 13 not called
package_template::PID::PID(package_template::Gains_configuration const&) src/pid.cpp 19 called 6 times
package_template::PID::compute(double, double, double, double) src/pid.cpp 34 called 11 times
package_template::PID::reset_integral() src/pid.cpp 47 called 4 times
package_template::PID::~PID() src/pid.cpp 26 called 6 times
package_template::get_default_pid() src/pid.cpp 80 called 4 times
package_template::print_configuration(package_template::Gains_configuration const&) src/gains_configuration.cpp 13 not called
pybind11_init_package_template_cpp_bindings(pybind11::module_&) srcpy/wrappers.cpp 13 not called
run_demo() demos/demo_pid.cpp 23 not called
run_demo() demos/demo_pid_load_from_file.cpp 26 not called