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