lib/Test/RequiredMinimumDependencyVersion.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 28 | 28 | 100.0 |
line | true | false | branch |
---|---|---|---|
28 | 1 | 3 | unless (@files) |
35 | 1 | 3 | unless ($self->file_ok($file)) |
42 | 2 | 1 | if $rc |
49 | 1 | 18 | if @_ % 2 |
54 | 2 | 16 | if not exists $args{'module'} or ref $args{'module'} ne ref {} |
62 | 1 | 18 | unless defined $ok and $ok |
69 | 14 | 1 | if $key eq 'module' |
80 | 3 | 8 | if @_ != 2 or not defined $file |
84 | 1 | 7 | unless (-f $file) |
97 | 1 | 6 | unless (defined $ok and $ok) |
112 | 1 | 6 | unless defined $want |
117 | 1 | 5 | if ($want eq '0') |
123 | 3 | 3 | unless ($want_ok) |
128 | 3 | 3 | if $rc |