| blib/lib/App/Nopaste/Command.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % | 
| branch | 13 | 24 | 54.1 | 
| 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) | 
| 118 | 0 | 0 | unless eval { do { 'Clipboard'->copy_to_all_selections($url); 1 } } | 
| 124 | 0 | 2 | if ($self->open_url) | 
| 135 | 1 | 1 | if ($self->paste and @{$self->extra_argv;}) | 
| 139 | 0 | 1 | if ($self->paste) |