Branch Coverage

blib/lib/App/HWD.pm
Criterion Covered Total %
branch 30 38 78.9


line true false branch
51 5 61 if (not defined $currfile) { }
61 0 elsif (not defined $ARGV) { }
0 0 elsif ($currfile eq $ARGV) { }
52 0 5 defined $ARGV ? :
68 4 62 if $line =~ /^\s*#/
69 6 56 unless $line =~ /./
71 37 19 if ($line =~ /^(-+)/) { }
7 12 elsif ($line =~ s/^\s+//) { }
74 32 5 if ($level > 1)
76 2 30 unless ($parent)
82 0 35 unless ($task)
86 21 14 if ($task->id)
87 0 21 if ($tasks_by_id{$task->id})
95 30 5 if $parent
106 7 5 if ($work->task eq '^')
107 7 0 if ($curr_task) { }
119 1 34 if ($task->estimate and $task->children)
126 7 5 if $work->task eq '^'
128 0 5 unless ($task)