Branch Coverage

blib/lib/App/Nopaste.pm
Criterion Covered Total %
branch 13 26 50.0


line true false branch
22 0 2 if @_ == 1
26 2 0 @_ % 2 ? :
33 0 2 unless defined $args{'services'}
36 0 2 unless defined $args{'nick'}
40 0 2 unless (ref $args{'services'} eq 'ARRAY' and @{$args{'services'};})
45 0 2 unless @{$args{'services'};}
49 0 2 unless defined $args{'text'}
59 0 2 unless $service =~ /^App::Nopaste::Service/
67 0 2 if $args{'warn_handler'}
71 0 2 unless $service->available(%args)
72 0 2 if $using_default and $service->forbid_in_default
76 0 2 if $@
79 2 0 if $ret[0]