Branch Coverage

blib/lib/Metabrik/String/Syslog.pm
Criterion Covered Total %
branch 0 36 0.0


line true false branch
56 0 0 unless $self->brik_help_run_undef_arg("encode", $data)
57 0 0 unless $self->brik_help_set_undef_arg("hostname", $hostname)
58 0 0 unless $self->brik_help_set_undef_arg("process", $process)
59 0 0 unless $self->brik_help_set_undef_arg("pid", $pid)
60 0 0 unless my $ref = $self->brik_help_run_invalid_arg("encode", $data, "HASH", "SCALAR")
66 0 0 if ($ref eq "HASH")
69 0 0 if (not $k =~ /\s/) { }
81 0 0 if ($self->do_rfc3164) { }
96 0 0 unless $self->brik_help_run_undef_arg("encode", $data)
97 0 0 unless $self->brik_help_run_invalid_arg("encode", $data, "SCALAR")
101 0 0 if ($data =~ /^(\S+\s+\d+\s+\S+)\s+(\S+)\s+(\S+)\[(\d+)\]:\s+(.*)$/) { }
0 0 elsif ($data =~ /^(\S+\s+\S+\s+\d+\s+\S+\s+\S+)\s+(\S+)\s+(\S+)\[(\d+)\]:\s+(.*)$/) { }
117 0 0 unless (defined $timestamp)
143 0 0 defined $timestamp ? :
144 0 0 $time[3] < 10 ? :
0 0 $time[2] < 10 ? :
0 0 $time[1] < 10 ? :
0 0 $time[0] < 10 ? :