blib/lib/App/Nopaste/Command.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 13 | 22 | 59.0 |
line | true | false | branch |
---|---|---|---|
49 | 0 | 0 | if $opt->help |
62 | 2 | 15 | if (not ref $_[0]) { } |
69 | 0 | 17 | if defined $self->{'services'} and not ref $self->{'services'} |
88 | 2 | 2 | unless @files |
89 | 0 | 2 | if $self->paste or $files[0] eq '-' |
96 | 0 | 3 | if ($self->list_services) |
112 | 0 | 2 | if $self->quiet |
116 | 0 | 2 | if ($self->copy) |
121 | 0 | 2 | if ($self->open_url) |
132 | 1 | 1 | if ($self->paste and @{$self->extra_argv;}) |
136 | 0 | 1 | if ($self->paste) |