blib/lib/App/Rgit/Command.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 20 | 20 | 100.0 |
line | true | false | branch |
---|---|---|---|
46 | 5 | 15 | unless defined $cmd |
50 | 18 | 2 | if ($class eq 'App::Rgit::Command') { } |
53 | 1 | 1 | unless $class->isa($action) |
57 | 1 | 18 | unless eval "require $action; 1" |
75 | 4 | 47 | unless (defined $cmd) |
76 | 2 | 1 | unless defined $self and ref $self and $self->isa('App::Rgit::Command') |
79 | 23 | 25 | unless (defined $pkg) |
80 | 5 | 18 | unless defined $commands{$cmd} |
83 | 24 | 1 | unless $pkg =~ /:/ |
99 | 8 | 3 | defined $code ? : |