Condition Coverage

blib/lib/LibWeb/Themes/Default.pm
Criterion Covered Total %
condition 44 146 30.1


or 2 conditions

line l !l condition
100 0 1 $content ||= [' ']
102 0 1 $align ||= 'left'
103 0 1 $valign ||= 'top'
104 0 1 $width ||= '100%'
156 0 1 $title ||= ' '
157 0 1 $content ||= [' ']
158 0 1 $title_align ||= 'center'
168 0 1 $align ||= 'left'
169 0 1 $valign ||= 'top'
170 0 1 $cellpadding ||= 1
171 0 1 $width ||= '100%'
243 0 1 $title ||= ' '
244 0 1 $content ||= [' ']
245 0 1 $title_align ||= 'center'
256 0 1 $align ||= 'left'
257 0 1 $valign ||= 'top'
258 0 1 $cellpadding ||= 1
259 0 1 $width ||= '100%'
318 0 1 $content ||= [' ']
321 0 1 $align ||= 'left'
322 0 1 $valign ||= 'top'
323 0 1 $cellpadding ||= 2
324 0 1 $width ||= '100%'
386 0 1 $title ||= ' '
387 0 1 $content ||= [' ']
388 0 1 $title_align ||= 'center'
398 0 1 $align ||= 'left'
399 0 1 $valign ||= 'top'
400 0 1 $cellpadding ||= 1
401 0 1 $width ||= '100%'
493 0 0 $active ||= 0
496 0 0 $tab_padding ||= '0'
498 0 0 $total_width ||= '100%'
499 0 0 $base_height ||= '5'
500 0 0 $base_align ||= 'left'
501 0 0 $base ||= \qq[
]
520 0 0 $left_stub ||= \''
521 0 0 $left_stub_align ||= 'left'
549 0 0 $right_stub ||= \''
550 0 0 $right_stub_align ||= 'right'

or 3 conditions

line l !l&&r !l&&!r condition
56 0 1 0 ref $class || $class
101 0 1 0 $bg_color ||= $$self{'SITE_BG_COLOR'}
165 0 1 0 $title_bg_color ||= $$self{'SITE_1ST_COLOR'}
166 0 1 0 $title_txt_color ||= $$self{'SITE_BG_COLOR'}
167 0 1 0 $bg_color ||= $$self{'SITE_BG_COLOR'}
252 0 1 0 $title_bg_color ||= $$self{'SITE_LIQUID_COLOR3'}
253 0 1 0 $title_txt_color ||= $$self{'SITE_LIQUID_COLOR5'}
254 0 1 0 $title_border_color ||= $$self{'SITE_LIQUID_COLOR5'}
255 0 1 0 $bg_color ||= $$self{'SITE_BG_COLOR'}
319 0 1 0 $border_color ||= $$self{'SITE_LIQUID_COLOR2'}
320 0 1 0 $bg_color ||= $$self{'SITE_BG_COLOR'}
395 0 1 0 $border_color ||= $$self{'SITE_1ST_COLOR'}
396 0 1 0 $title_txt_color ||= $$self{'SITE_BG_COLOR'}
397 0 1 0 $bg_color ||= $$self{'SITE_BG_COLOR'}
494 0 0 0 $active_color ||= $$self{'SITE_1ST_COLOR'}
495 0 0 0 $fade_color ||= $$self{'SITE_LIQUID_COLOR3'}
507 0 0 0 $left_stub || $left_stub_width
511 0 0 0 $tab_width ||= int($1 / (2 * $num_tabs)) . '%'
513 0 0 0 $tab_width ||= int $total_width / (2 * $num_tabs)
519 0 0 0 $left_stub or $left_stub_width
522 0 0 0 $left_stub_width ||= $tab_width =~ /(.*)\%$/ ? int((100 - $1 * $num_tabs) / 2) . '%' : int $total_width - $num_tabs * $tab_width
551 0 0 0 $right_stub_width ||= 100 - $num_tabs . '%'