Branch Coverage

blib/lib/Pithub/Gists.pm
Criterion Covered Total %
branch 24 24 100.0


line true false branch
19 1 2 unless ref $args{'data'} eq "HASH"
30 1 3 unless $args{'gist_id'}
41 1 2 unless $args{'gist_id'}
52 1 2 unless $args{'gist_id'}
63 1 3 unless $args{'gist_id'}
74 2 4 if (my $user = delete $args{'user'}) { }
2 2 elsif (delete $args{'starred'}) { }
1 1 elsif (delete $args{'public'}) { }
105 1 3 unless $args{'gist_id'}
116 1 3 unless $args{'gist_id'}
127 1 4 unless $args{'gist_id'}
128 1 3 unless ref $args{'data'} eq "HASH"