Branch Coverage

blib/lib/App/Kritika.pm
Criterion Covered Total %
branch 13 32 40.6


line true false branch
20 0 4 unless $self->{'token'} = $params{'token'}
30 0 4 unless defined $self->{'branch'}
34 0 4 unless defined $self->{'revision'}
50 0 4 unless open my $fh, '<', $path
54 4 0 if (my $root = $self->{'root'})
91 0 4 $self->{'diff_ref'} ? :
0 4 $self->{'diff_snapshot'} ? :
0 4 $self->{'diff_branch'} ? :
97 1 3 if ($response->{'status'} eq '599')
99 0 1 if length $content > 64
103 1 2 unless ($response->{'success'})
117 0 0 unless -d "$self->{'root'}/.git"
120 0 0 unless $branch
129 0 0 unless defined $ref
131 0 0 unless -d "$self->{'root'}/.git"
135 0 0 unless $revision