Branch Coverage

blib/lib/Test2/Todo.pm
Criterion Covered Total %
branch 11 12 91.6


line true false branch
18 0 109 unless defined $reason
27 108 311 if ref $event eq "Test2::Event::Diag"
29 299 12 if ($active_hub == $hub) { }
30 292 7 if $event->can("set_todo")
32 292 7 if $event->isa("Test2::Event::Ok")
47 56 109 unless my $hub = $self->{'hub'}