What an audit examined, so a caller can tell a clean tree from a blind one. More...
#include <press_reach.hpp>
Public Member Functions | |
| bool | clean () const |
| True when nothing was found unreachable. | |
Public Attributes | |
| int | examined = 0 |
| Controls that advertise a press handler AND were actually probed. | |
| int | skipped_offscreen = 0 |
| Advertised a handler but sits outside the root's visible area (a scrolled-away row). | |
| int | skipped_not_interactive = 0 |
| Advertised a handler but is hidden, disabled, or opted out of hit testing. | |
| int | skipped_indeterminate = 0 |
| Advertised a handler but sits under a transform whose root-space rect could not be established exactly. | |
| std::vector< UnreachablePressTarget > | unreachable |
What an audit examined, so a caller can tell a clean tree from a blind one.
|
inline |
True when nothing was found unreachable.
Meaningless on its own — a caller must also require examined > 0.
| int pulp::view::PressReachAudit::examined = 0 |
Controls that advertise a press handler AND were actually probed.
| int pulp::view::PressReachAudit::skipped_indeterminate = 0 |
Advertised a handler but sits under a transform whose root-space rect could not be established exactly.
NOT counted as reachable: an audit must never launder "I could not measure this" into "this is fine".
| int pulp::view::PressReachAudit::skipped_not_interactive = 0 |
Advertised a handler but is hidden, disabled, or opted out of hit testing.
Authored state, not a defect.
| int pulp::view::PressReachAudit::skipped_offscreen = 0 |
Advertised a handler but sits outside the root's visible area (a scrolled-away row).
Not a defect; not evidence of health either.
| std::vector<UnreachablePressTarget> pulp::view::PressReachAudit::unreachable |