LCOV - code coverage report
Current view: top level - home/pbarker/rc/ardupilot/ArduPlane - altitude.cpp (source / functions) Hit Total Coverage
Test: lcov.info Lines: 315 372 84.7 %
Date: 2026-09-09 11:02:08 Functions: 35 36 97.2 %

Function Name Sort by function name Hit count Sort by hit count
Plane::fix_terrain_WP(Location&, unsigned int) 8074
Plane::setup_alt_slope() 4166
Plane::reset_alt_offset(bool) 3684
Plane::terrain_disabled() 941
Plane::get_external_HAGL(float&) 3191008
Plane::get_landing_height(bool&) 38886
Plane::mission_alt_offset() 3130607
Plane::check_fbwb_altitude() 195631
Plane::height_above_target() 1156434
Plane::adjusted_altitude_cm() 2792490
Plane::handle_external_hagl(__mavlink_command_int_t const&) 0
Plane::lookahead_adjustment() 59538
Plane::check_home_alt_change() 511367
Plane::reset_offset_altitude() 16567
Plane::above_location_current(Location const&) 4126
Plane::adjust_altitude_target() 550966
Plane::calc_altitude_error_cm() 1945976
Plane::change_target_altitude(int) 92318
Plane::rangefinder_correction() 388885
Plane::relative_ground_altitude(RangeFinderUse) 3092962
Plane::relative_ground_altitude(RangeFinderUse, bool) 3116016
Plane::setup_terrain_target_alt(Location&) 133
Plane::rangefinder_height_update() 2736341
Plane::relative_target_altitude_cm() 313893
Plane::set_target_altitude_current() 8131
Plane::set_offset_altitude_location(Location const&, Location const&) 4016
Plane::set_target_altitude_location(Location const&) 536260
Plane::adjusted_relative_altitude_cm() 83762
Plane::rangefinder_terrain_correction(float&) 53630
Plane::set_target_altitude_proportion(Location const&, float) 75179
Plane::constrain_target_altitude_location(Location const&, Location const&) 75179
Plane::set_target_altitude_proportion_terrain() 58495
Plane::rangefinder_use(RangeFinderUse) const 6226560
Plane::get_RTL_altitude_cm() const 69
Plane::terrain_enabled_in_mode(Mode::Number) const 33010
Plane::terrain_enabled_in_current_mode() const 32998

Generated by: LCOV version 1.14