Nopaste/Service/Shadowcat.pm

filter: Statementstmt 80.0% 12 / 15 Branchbran n/a Conditioncond 0.0% 0 / 3 MC/DCmcdc 0.0% 0 / 2 Subroutinesub 80.0% 4 / 5 Podpod 50.0% 1 / 2 totaltotal 62.9% 17 / 27 CC 2 SCAR 9.8
CC
2
Cov
67%
available
6.0
BEGIN
1.0
BEGIN
1.0
CRAP 2.7
« Nopaste/Service/Mojopaste.pm ↑ Summary Nopaste/Service/Snitch.pm »
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::Shadowcat;
4 # ABSTRACT: Service provider for Shadowcat - http://paste.scsys.co.uk/
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'}
!ll&&!rl&&r
000
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'}
ABresult
0X0
100
111
14 }
15  
16 1 ▶sub uri { "http://paste.scsys.co.uk" }
Subroutine uri: called CC=1 SCAR=0.0
Pod documented
17  
18 2 1;
19  
20 __END__
« Nopaste/Service/Mojopaste.pm ↑ Summary Nopaste/Service/Snitch.pm »