Condition Coverage

blib/lib/SMIL/Layout.pm
Criterion Covered Total %
condition 2 57 3.5


and 3 conditions

line !l l&&!r l&&r condition
98 0 0 0 not $height || $width and $content =~ /]*width="(\d*)"[^>]*?height="(\d*)"/
101 0 0 0 $height and $width
107 0 0 0 not $height || $width and $content =~ /]*width="(\d*)"[^>]*?height="(\d*)"/
110 0 0 0 $height and $width
125 0 0 0 $the_regions and @$the_regions
130 0 0 0 $the_regions and @{$the_regions;}
132 0 0 0 $the_region and $region_name eq $the_region->getAttributeValue('id') || $region_name eq $the_region->getAttributeValue('name')
200 0 0 0 $height and $width
218 0 0 0 'middle' eq $hash{$module_defined_align} and not defined $hash{'top'}
242 0 0 0 defined $hash{'left'} and defined $hash{$left_offset}
246 0 0 0 defined $hash{'top'} and defined $hash{$top_offset}
261 1 0 1 $current_regions and @$current_regions
269 0 0 0 $attrs{$id} and $reg->getAttribute($id) eq $attrs{$id}

or 3 conditions

line l !l&&r !l&&!r condition
86 0 0 0 $type =~ /gif/i or $content =~ /^GIF/
0 0 0 $type eq 'rt' or $type =~ /rn-realtext/
0 0 0 $type eq 'rp' or $type =~ /rn-realpix/
98 0 0 0 $height || $width
107 0 0 0 $height || $width
132 0 0 0 $region_name eq $the_region->getAttributeValue('id') || $region_name eq $the_region->getAttributeValue('name')