Branch Coverage

blib/lib/IO/Iron/PolicyBase.pm
Criterion Covered Total %
branch 21 32 65.6


line true false branch
81 12 606 if ($str =~ /^([[:graph:]]*)(\[:[[:graph:]]+:\]\{[[:digit:]]+\,[[:digit:]]+\})([[:graph:]]*)$/sx or $str =~ /^([[:graph:]]*)(\[:[[:graph:]]+:\]\{([[:digit:]]+)\})([[:graph:]]*)$/sx and $3 > 1) { }
87 11 1 defined $4 ? :
97 238 368 if ($str =~ /^([[:graph:]]*)(\[:[[:graph:]]+:\]\{1\})([[:graph:]]*)$/sx) { }
104 238 0 if ($group_part =~ /^(\[:[[:graph:]]+:\])\{([[:digit:]]+)\}$/sx)
135 1 11 if ($group_part =~ /^(\[:[[:graph:]]+:\])\{([[:digit:]]+)\,([[:digit:]]+)\}$/msx) { }
11 0 elsif ($group_part =~ /^(\[:[[:graph:]]+:\])\{([[:digit:]]+)\}$/msx) { }
177 16 1 if ($chars and $params{'keep_posix_group'})
180 237 17 unless ($chars)
184 254 0 if ($chars) { }
207 0 3 if (defined $self->{'policy'}{'definition'}{'no_limitation'} and $self->{'policy'}{'definition'}{'no_limitation'} == 1)
258 0 0 if (defined $self->{'policy'}{'definition'}{'no_limitation'} and $self->{'policy'}{'definition'}{'no_limitation'} == 1) { }
270 0 0 if ($params{'candidate'} =~ /^$template$/gmsx)
299 4 18 if ($params{'candidate'} =~ /^$template$/gmsx)
304 5 4 if ($validity == 0)
328 0 2 if (defined $params{'policies'})
331 0 0 'File::Spec'->file_name_is_absolute($params{'policies'}) ? :