blib/lib/Test/MockCommand/Recorder.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 14 | 22 | 63.6 |
line | true | false | branch |
---|---|---|---|
19 | 0 | 49 | if @_ % 2 |
24 | 0 | 196 | unless exists $args{$_} |
29 | 0 | 49 | unless $args{'function'} =~ /^(open|readpipe|system|exec)$/ |
32 | 0 | 49 | unless $self->matches(%args) |
38 | 16 | 33 | if ($args{'function'} eq 'open') { } |
24 | 9 | elsif ($args{'function'} eq 'readpipe') { } | |
8 | 1 | elsif ($args{'function'} eq 'system') { } | |
1 | 0 | elsif ($args{'function'} eq 'exec') { } | |
100 | 16 | 0 | @{$args;} < 3 ? : |
101 | 0 | 16 | unless $opened |
107 | 0 | 16 | if (defined $args->[0]) { } |