Branch Coverage

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


line true false branch
47 0 0 unless -f "Conf/task.yaml"
51 0 0 if (-d $dir)
53 0 0 unless rmtree($dir)
61 0 0 unless my $info = $langs->{$lang}
75 0 0 if $ENV{'RCD_FETCHONLY'}
83 0 0 unless my $info = $tasks->{$task}
97 0 0 if $ENV{'RCD_FETCHONLY'}
109 0 0 if ($io->exists and time - $io->mtime < 604800) { }
125 0 0 unless $info->{'path'}
126 0 0 if $info->{'path'} eq "-"
135 0 0 if ($io->exists and time - $io->mtime < 604800) { }
155 0 0 unless $text =~ s/^\.(\S+)\ ?//
177 0 0 unless "http://rosettacode.org/w/api.php" =~ m[^(https?)://([^/]+)/(.*)/api.php$]