| 1 | 2 | ▶ | use strict; | ||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||
| 2 | 2 | ▶ | use warnings; | ||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||
| 3 | package App::Nopaste::Service::Snitch; | ||||||||||||||||||||
| 4 | # ABSTRACT: Service provider for Snitch - http://nopaste.snit.ch/ | ||||||||||||||||||||
| 5 | |||||||||||||||||||||
| 6 | 2 | our $VERSION = '1.013'; | |||||||||||||||||||
| 7 | |||||||||||||||||||||
| 8 | 2 | ▶ | use parent 'App::Nopaste::Service'; | ||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||
| 9 | |||||||||||||||||||||
| 10 | 0 | ▶ | sub available { | ||||||||||||||||||
|
Subroutine
available: not called CC=2 SCAR=17.9
Pod
undocumented
| |||||||||||||||||||||
| 11 | 0 | my $self = shift; | |||||||||||||||||||
| 12 | 0 | my %args = @_; | |||||||||||||||||||
| 13 | 0 | ▶ | return !(exists($args{private}) && $args{private}); | ||||||||||||||||||
|
Condition0%0/3
exists $args{'private'} && $args{'private'}
MC/DC0%0/2
exists $args{'private'} && $args{'private'}
exists $args{'private'}
$args{'private'}
Truth table0%0/3
A && B
A= exists $args{'private'}B= $args{'private'}
| |||||||||||||||||||||
| 14 | } | ||||||||||||||||||||
| 15 | |||||||||||||||||||||
| 16 | 1 | ▶ | sub uri { "http://nopaste.snit.ch" } | ||||||||||||||||||
|
Subroutine
uri: called CC=1 SCAR=0.0
Pod
documented
| |||||||||||||||||||||
| 17 | |||||||||||||||||||||
| 18 | 2 | 1; | |||||||||||||||||||
| 19 | |||||||||||||||||||||
| 20 | __END__ | ||||||||||||||||||||