Branch Coverage

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


line true false branch
76 12 606 if ($str =~ /^([[:graph:]]*)(\[:[[:graph:]]+:\]\{[[:digit:]]+\,[[:digit:]]+\})([[:graph:]]*)$/sx or $str =~ /^([[:graph:]]*)(\[:[[:graph:]]+:\]\{([[:digit:]]+)\})([[:graph:]]*)$/sx and $3 > 1) { }
82 11 1 defined $4 ? :
91 238 368 if ($str =~ /^([[:graph:]]*)(\[:[[:graph:]]+:\]\{1\})([[:graph:]]*)$/sx) { }
98 238 0 if ($group_part =~ /^(\[:[[:graph:]]+:\])\{([[:digit:]]+)\}$/sx)
128 1 11 if ($group_part =~ /^(\[:[[:graph:]]+:\])\{([[:digit:]]+)\,([[:digit:]]+)\}$/msx) { }
11 0 elsif ($group_part =~ /^(\[:[[:graph:]]+:\])\{([[:digit:]]+)\}$/msx) { }
168 16 1 if ($chars and $params{'keep_posix_group'})
171 237 17 unless ($chars)
174 254 0 if ($chars) { }
198 0 3 if (defined $self->{'policy'}{'definition'}{'no_limitation'} and $self->{'policy'}{'definition'}{'no_limitation'} == 1)
248 0 0 if (defined $self->{'policy'}{'definition'}{'no_limitation'} and $self->{'policy'}{'definition'}{'no_limitation'} == 1) { }
261 0 0 if ($params{'candidate'} =~ /^$template$/gmsx)
290 4 18 if ($params{'candidate'} =~ /^$template$/gmsx)
295 5 4 if ($validity == 0)
319 0 2 if (defined $params{'policies'})
323 0 0 'File::Spec'->file_name_is_absolute($params{'policies'}) ? :