lib/Zimbra/Expect/ZmProv.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 9 | 12 | 75.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 3 | 4 | 75.0 |
pod | 1 | 1 | 100.0 |
total | 13 | 17 | 76.4 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package Zimbra::Expect::ZmProv; | ||||||
2 | 1 | 1 | 613 | use strict; | |||
1 | 2 | ||||||
1 | 29 | ||||||
3 | 1 | 1 | 6 | use warnings; | |||
1 | 2 | ||||||
1 | 44 | ||||||
4 | 1 | 1 | 10 | use base 'Zimbra::Expect'; | |||
1 | 2 | ||||||
1 | 294 | ||||||
5 | |||||||
6 | sub new { | ||||||
7 | 0 | 0 | 1 | my $class = shift; | |||
8 | 0 | my $opt = { @_ }; | |||||
9 | 0 | return $class->SUPER::new(cmd=>['zmprov','-l'],prompt=>'prov',verbose=>$opt->{verbose},noaction=>$opt->{noaction},debug => $opt->{debug}); | |||||
10 | } | ||||||
11 | |||||||
12 | 1; | ||||||
13 | |||||||
14 | __END__ |