| blib/lib/CGI/Application/Plugin/RunmodeDeclare.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 16 | 20 | 80.0 |
| line | true | false | branch |
|---|---|---|---|
| 70 | 0 | 6 | if $REGISTRY{$pkg}{'start_mode_installed'} |
| 74 | 10 | 12 | if exists $_[0]{'__START_MODE_SET_BY_RUNMODEDECLARE'} |
| 86 | 0 | 5 | if $REGISTRY{$pkg}{'error_mode_installed'} |
| 89 | 4 | 12 | if exists $_[0]{'__ERROR_MODE_SET_BY_RUNMODEDECLARE'} |
| 130 | 0 | 18 | if $proto =~ s/^(\$\w+):\s*// |
| 132 | 22 | 0 | /^ ([\$\@%])(\w+) /x ? : |
| 152 | 12 | 6 | if defined $proto and length $proto |
| 156 | 16 | 6 | if $sigil eq '$' |
| 158 | 6 | 16 | if $sigil eq '@' |
| 170 | 32 | 6 | $sigil eq '$' ? : |