Branch Coverage

blib/lib/Taskwarrior/Kusarigama/Plugin/Renew.pm
Criterion Covered Total %
branch 7 12 58.3


line true false branch
33 1 0 if ($expr =~ / ^ (?<cond>.*?) \? (?<true>.*?) : (?<false>.*) $ /x)
36 1 0 $self->calc($+{'cond'}) eq 'true' ? :
45 0 1 unless &any(sub { $task->{$_}; } , 'renew', 'rdue', 'rwait', 'rscheduled')
63 0 1 unless $self->command eq 'done'
72 0 3 if $task->{$field}
74 2 1 unless my $value = $$task{'r' . $field}