File Coverage

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   537 use strict;
  1         2  
  1         20  
3 1     1   3 use warnings;
  1         1  
  1         18  
4 1     1   3 use base 'Zimbra::Expect';
  1         1  
  1         327  
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__