Branch Coverage

lib/Mojolicious/Plugin/BModel.pm
Criterion Covered Total %
branch 4 16 25.0


line true false branch
27 0 0 if (not $dir_exists || $create_dir) { }
0 0 elsif (not $dir_exists and $create_dir) { }
32 0 0 unless mkdir $path_to_model
41 0 0 unless $MODULES{$model_name}
52 1 2 if -e $path_to_model and -d $path_to_model
64 1 3 if not -d $File::Find::name or $File::Find::name eq $path_to_model
84 0 0 if ref $base_load_err
95 0 0 if ref $load_err