blib/lib/Mojolicious/Plugin/ReplyTable.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 16 | 20 | 80.0 |
line | true | false | branch |
---|---|---|---|
19 | 14 | 3 | ref $_[0] ? : |
30 | 3 | 14 | if ($default) |
31 | 2 | 1 | unless @{$c->accepts;} |
40 | 2 | 0 | unless exists $csv_options->{'binary'} |
44 | 0 | 6 | unless $csv->combine(@$row) |
52 | 1 | 2 | if (not $c->stash('reply_table.tablify') and eval { do { require Text::Table::Tiny; 1 } }) { } |
65 | 1 | 1 | unless (eval { do { require Spreadsheet::WriteExcel; 1 } }) |
69 | 0 | 1 | unless open my $xfh, '>', \my $fdata |
79 | 1 | 1 | unless (eval { do { require Excel::Writer::XLSX; 1 } }) |
83 | 0 | 1 | unless open my $xfh, '>', \my $fdata |