Branch Coverage

lib/Spreadsheet/Reader/ExcelXML/XMLReader/NamedStyles.pm
Criterion Covered Total %
branch 34 42 80.9


line true false branch
56 77 2 $header ? :
57 0 79 $exclude_header ? :
68 75 4 if ($self->_has_styles) { }
69 0 75 unless ($self->_has_s_name($name))
87 0 18 unless $result
95 4 14 if ($element_name eq $name)
105 79 0 if ($found_it)
108 77 2 if ($header) { }
0 2 elsif ($exclude_header) { }
109 29 48 $target_ref->{$header} ? :
140 6 0 if ((keys %$current_node)[0] eq 'Styles') { }
151 6 0 if ($result) { }
162 5 1 if ($self->should_cache_positions)
173 0 5 if (exists $top_level_ref->{'Style'}) { }
230 58 110 if ($key =~ /\:ID/) { }
102 8 elsif (exists $cell_attributes->{$key}) { }
237 46 56 if ($key =~ /NumberFormat/) { }
244 10 21 exists $$date_keys{$sub_element->{$key}{'ss:Format'}} ? :
15 31 !defined($sub_element->{$key}) ? :
247 27 19 if ($replaced_string)
253 31 15 defined $replaced_string ? :