| blib/lib/Mojolicious/resources/templates/mojo/command/resources/show.html.ep | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| statement | 12 | 12 | 100.0 |
| branch | n/a | ||
| condition | n/a | ||
| subroutine | 4 | 4 | 100.0 |
| pod | n/a | ||
| total | 16 | 16 | 100.0 |
| line | stmt | bran | cond | sub | pod | time | code |
|---|---|---|---|---|---|---|---|
| 1 | 1 | 1 | 2110 | % my $a = shift; | |||
| 1 | 1 | 2 | |||||
| 1 | 1 | 6 | |||||
| 1 | 1 | 71 | |||||
| 1 | 2 | ||||||
| 1 | 250 | ||||||
| 1 | 1716 | ||||||
| 1 | 4 | ||||||
| 1 | 5 | ||||||
| 1 | 69 | ||||||
| 1 | 2 | ||||||
| 1 | 283 | ||||||
| 2 | %% layout 'blog', title => 'Record from table <%= $a->{t} %> with id ' . $<%= $a->{t} %>->{id}; | ||||||
| 3 | <%%= $<%= $a->{t} %>->{id} %> |
||||||
| 4 | % for my $col (@{$a->{columns}}) { | ||||||
| 5 | <%%= $<%= $a->{t} %>->{'<%= $col %>'} %> |
||||||
| 6 | % } | ||||||
| 7 | %%= link_to 'Edit' => edit_<%= $a->{t} %> => {id => $<%= $a->{t} %>->{id}} |