Branch Coverage

lib/Audit/Log.pm
Criterion Covered Total %
branch 21 24 87.5


line true false branch
13 0 1 unless $path
14 0 1 unless -f $path
27 222 105 if index($_, "SYSCALL") < 0 and not $in_block
33 21 84 if $options{'older'} and $timestamp > $options{'older'}
34 41 43 if $options{'newer'} and $timestamp < $options{'newer'}
37 3 40 if (index($_, "type=CWD") == 0)
65 19 21 if (exists $options{'key'} and $parsed{'type'} eq "SYSCALL")
70 16 3 unless $in_block
75 82 28 unless exists $parsed{$constraint}
76 22 6 unless $parsed{$constraint} =~ /$options{$constraint}/u
80 2 0 if (@{$self->{'returning'};})
83 30 16 unless grep {$field eq $_;} @{$$self{"returning"};}