blib/lib/Leyland.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 3 | 47 | 6.3 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
277 | 0 | 0 | 0 | $c->path ne '/' and $c->path =~ m[/$] |
307 | 0 | 0 | 0 | $c->_pass_next and $c->current_route < 100 |
417 | 0 | 0 | 0 | $_->routes and $_->routes->Length |
448 | 0 | 0 | 0 | blessed $exp and $exp->isa('Leyland::Exception') |
455 | 0 | 0 | 0 | $exp->code =~ /^3\d\d$/ and $exp->has_location |
463 | 0 | 0 | 0 | $self->cwe eq 'development' and $c->accepts('text/html') |
0 | 0 | 0 | $exp->has_mimes && $exp->has_mime('text/html') | |
0 | 0 | 0 | $self->cwe eq 'development' and $c->accepts('text/html') and not $exp->has_mimes && $exp->has_mime('text/html') | |
540 | 0 | 0 | 0 | $self->has_routes and $self->routes->Length |
line | l | !l | condition |
---|---|---|---|
356 | 1 | 0 | $$settings{'views'} ||= ['Tenjin'] |
357 | 1 | 0 | $$settings{'view_dir'} ||= 'views' |
361 | 1 | 0 | $$settings{'default_mime'} || 'text/html' |
412 | 0 | 0 | $_->prefix || '_root_' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
482 | 0 | 0 | 0 | $$_{'mime'} eq 'text/html' or $$_{'mime'} eq 'application/xhtml+xml' |
0 | 0 | 0 | $$_{'mime'} eq 'text/html' or $$_{'mime'} eq 'application/xhtml+xml' or $$_{'mime'} eq 'application/json' | |
0 | 0 | 0 | $$_{'mime'} eq 'text/html' or $$_{'mime'} eq 'application/xhtml+xml' or $$_{'mime'} eq 'application/json' or $$_{'mime'} eq 'application/atom+xml' | |
0 | 0 | 0 | $$_{'mime'} eq 'text/html' or $$_{'mime'} eq 'application/xhtml+xml' or $$_{'mime'} eq 'application/json' or $$_{'mime'} eq 'application/atom+xml' or $$_{'mime'} eq 'application/xml' |