Branch Coverage

blib/lib/POE/Filter/Transparent/SMTP.pm
Criterion Covered Total %
branch 16 26 61.5


line true false branch
26 0 7 if (ref $class)
31 12 2 if (exists $options{$_} and defined $options{$_})
37 1 6 if (not exists $filter_line_opts{'OutputLiteral'}) { }
44 0 7 if (exists $options{'Warn'} and defined $options{'Warn'} and $options{'Warn'}) { }
60 0 7 if (exists $options{'EscapeSingleInputDot'} and defined $options{'EscapeSingleInputDot'} and $options{'EscapeSingleInputDot'}) { }
81 0 1 unless (ref $self)
94 0 13 if (ref $arg ne 'ARRAY')
110 12 56 if ($$data[$i] =~ /^\.(\..*)$/so)
113 0 68 if ($$self{'Warn'} and $$data[$i] =~ /^\..+$/so)
126 0 6 if (ref $raw_data ne 'ARRAY')
145 0 6 if (ref $raw_data ne 'ARRAY')
155 6 18 if ($$lines[$i] =~ /^\..+$literal$/s)
161 0 0 if ($$self{'EscapeSingleInputDot'} and $$lines[$i] =~ /^\.$/so || $$lines[$i] =~ /^\.$literal$/so)