lib/Mojolicious/Plugin/BModel.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 2 | 16 | 12.5 |
line | true | false | branch |
---|---|---|---|
26 | 0 | 0 | if (not $dir_exists || $create_dir) { } |
0 | 0 | elsif (not $dir_exists and $create_dir) { } | |
31 | 0 | 0 | unless mkdir $path_to_model |
40 | 0 | 0 | unless $MODULES{$model_name} |
51 | 1 | 2 | if -e $path_to_model and -d $path_to_model |
65 | 0 | 0 | if not -d $File::Find::name or $File::Find::name eq $path_to_model |
76 | 0 | 0 | if ref $base_load_err |
87 | 0 | 0 | if ref $load_err |