blib/lib/Rubric/Entry/Formatter.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 9 | 16 | 56.2 |
line | true | false | branch |
---|---|---|---|
39 | 15 | 3 | if eval { |
42 | 3 | 0 | if eval "require $formatter" |
53 | 3 | 15 | unless $markup_formatter->{'_default'} |
56 | 0 | 18 | unless my $formatter = $markup_formatter->{$markup} |
67 | 0 | 18 | if (ref $formatter) |
70 | 0 | 0 | unless $formatter = delete $config->{'class'} |
73 | 0 | 18 | unless $class->_load_formatter($formatter) |
76 | 0 | 18 | unless my $formatter_code = $formatter->can("as_$arg->{'format'}") |