Branch Coverage

lib/Audit/Log.pm
Criterion Covered Total %
branch 24 42 57.1


line true false branch
17 0 1 unless $path
20 0 1 if ($path eq 'ausearch') { }
21 0 0 unless -f $fullpath
24 0 1 unless -f $path
39 0 1 if ($self->{'path'} eq 'ausearch') { }
43 0 0 $options{'res'} ? :
0 0 if defined $options{'success'}
44 0 0 if defined $options{'comm'}
45 0 0 unless open $fh, "|", "$self->{'fullpath'} @args"
49 0 1 unless open $fh, "<", $self->{'path'}
52 222 105 if index($_, "SYSCALL") < 0 and not $in_block
58 21 84 if $options{'older'} and $timestamp > $options{'older'}
59 41 43 if $options{'newer'} and $timestamp < $options{'newer'}
62 3 40 if (index($_, "type=CWD") == 0)
91 19 21 if (exists $options{'key'} and $parsed{'type'} eq "SYSCALL")
97 16 3 unless $in_block
102 6 31 unless exists $parsed{$constraint}
103 22 9 unless $parsed{$constraint} =~ /$options{$constraint}/u
107 2 0 if (@{$self->{'returning'};})
110 30 18 unless grep {$field eq $_;} @{$$self{"returning"};}
147 0 0 $_->{'name'} =~ m[^/]u ? :