blib/lib/Spreadsheet/WriteExcel/Styler.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 4 | 6 | 66.6 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
17 | 0 | 0 | 1 | ref $workbook and $workbook->can('add_format') |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
58 | 3 | 2 | 1 | $$self{'format'}{$format_name} ||= do { my(@unknown) = grep({not $$self{'style'}{$_};} @styles); croak('unknown style : ' . join(', ', @unknown)) if @unknown; $$self{'workbook'}->add_format(map({%{$$self{'style'}{$_};};} @styles)) } |