lib/Ubic/Multiservice/Dir.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 19 | 22 | 86.3 |
line | true | false | branch |
---|---|---|---|
20 | 13 | 6 | if (@options) |
31 | 12 | 1 | if ($self->_name2file($name)) { } |
46 | 0 | 59 | if ($name =~ /( \.rpmorig | \.rpmsave | ,v | \.swp | \.rpmnew | ~ | \.cfsaved | \.rhn-cfg-tmp-.* | \.dpkg-dist | \.dpkg-old | \.dpkg-new | \.disabled )$/x) |
74 | 40 | 4 | if -e $base |
78 | 3 | 41 | unless (@files) |
82 | 1 | 40 | if (@files > 1) |
95 | 2 | 29 | unless (defined $file) |
99 | 6 | 23 | if (-d $file) |
119 | 0 | 17 | unless -f $file or -d $file |
123 | 0 | 17 | unless (defined $service_name) |
135 | 1 | 1 | $self->{'protected'} ? : |