blib/lib/DCOP/Amarok.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 15 | 15 | 100.0 |
branch | n/a | ||
condition | 1 | 3 | 33.3 |
subroutine | 4 | 4 | 100.0 |
pod | 1 | 1 | 100.0 |
total | 21 | 23 | 91.3 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package DCOP::Amarok; | ||||||
2 | |||||||
3 | 1 | 1 | 46758 | use 5.008001; | |||
1 | 3 | ||||||
1 | 38 | ||||||
4 | 1 | 1 | 6 | use strict; | |||
1 | 2 | ||||||
1 | 31 | ||||||
5 | 1 | 1 | 4 | use warnings; | |||
1 | 5 | ||||||
1 | 141 | ||||||
6 | |||||||
7 | require DCOP; | ||||||
8 | our @ISA = qw(DCOP); | ||||||
9 | |||||||
10 | our $VERSION = '0.036'; | ||||||
11 | |||||||
12 | sub new() { | ||||||
13 | 1 | 1 | 1 | 164 | my $proto = shift; | ||
14 | 1 | 33 | 8 | my $class = ref($proto) || $proto; | |||
15 | 1 | 4 | my %params = @_; | ||||
16 | 1 | 11 | my $self = $class->SUPER::new(%params, target => "amarok" ); | ||||
17 | 1 | 5797 | bless ($self, $class); | ||||
18 | 1 | 29 | return $self; | ||||
19 | } | ||||||
20 | |||||||
21 | 1; | ||||||
22 | __END__ |