blib/lib/DCOP/Amarok.pm

filter: Statementstmt 100% 18 / 18 Branchbran n/a Conditioncond 33.3% 1 / 3 MC/DCmcdc 0.0% 0 / 2 Subroutinesub 100% 4 / 4 Podpod 100% 1 / 1 totaltotal 85.7% 24 / 28 CC 2 SCAR 3.5
CC
2
Cov
90%
new
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.4
↑ Summary
1 package DCOP::Amarok;
2  
3 1 ▶use 5.008001;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 1 require DCOP;
8 1 our @ISA = qw(DCOP);
9  
10 1 our $VERSION = '0.036';
11  
12 1 ▶sub new() {
Subroutine new: called CC=2 SCAR=7.1
Pod documented
13 1 my $proto = shift;
14 1 ▶ my $class = ref($proto) || $proto;
Condition33%1/3
ref $proto || $proto
l!l&&r!l&&!r
010
MC/DC0%0/2
ref $proto || $proto
ref $proto $proto
Truth table33%1/3
A || B
A= ref $protoB= $proto
ABresult
1X1
011
000
15 1 my %params = @_;
16 1 my $self = $class->SUPER::new(%params, target => "amarok" );
17 1 bless ($self, $class);
18 1 return $self;
19 }
20  
21 1 1;
22 __END__
↑ Summary