Branch Coverage

blib/lib/RosettaCode/Task.pm
Criterion Covered Total %
branch 0 30 0.0


line true false branch
25 0 0 if ($file->exists and time - $file->mtime < $self->CACHE_TIME) { }
41 0 0 if length $text
45 0 0 if (@sections < 3 or not $text =~ /<syntaxhighlight/)
49 0 0 if (@sections % 2)
62 0 0 unless (defined $info)
68 0 0 unless @$programs
74 0 0 if (@$programs == 1)
103 0 0 if %{$self->meta;}
122 0 0 if (s/\A\s*\{\{requires\|(\w[\w ]*)\}\}\s*//)
126 0 0 if (s/\A\s*\[\[Category: *(\w[\w ]*)\]\]\s*//)
130 0 0 if (s/\A\{\{(?:[Dd]raft\s+)?[Tt]ask(?:\|([^\}]*?))?\}\}\s*//s)
131 0 0 if $1
134 0 0 if length $_ == $length
139 0 0 if $_
152 0 0 if length $program