Branch Coverage

blib/lib/App/Grok/Resource/Tablet.pm
Criterion Covered Total %
branch 1 38 2.6


line true false branch
27 0 0 unless -e $global or -e $local
28 1 0 unless -e $local
29 0 0 unless -e $global
36 0 0 unless my $x_stat = stat $x
37 0 0 unless my $y_stat = stat $y
38 0 0 if $x_stat->mtime > $y_stat->mtime
56 0 0 unless (-d $res_dir)
57 0 0 unless mkdir $res_dir
71 0 0 if ($line =~ m[<li><strong>(.+?)</strong>(.+?)</li>])
74 0 0 if ($help{$item}) { }
89 0 0 unless open my $fh, '>:encoding(utf8)', $file
98 0 0 if ($topic eq 'tablet_index')
99 0 0 unless open my $handle, '<:encoding(utf8)', $tablet_file
105 0 0 unless %tablet
106 0 0 if defined $tablet{$topic}
111 0 0 unless %tablet
123 0 0 unless open my $tablet_handle, '<', $tablet_file
127 0 0 if $line =~ /^=head2 C<<< (.+) >>>$/
128 0 0 if defined $entry