Branch Coverage

blib/lib/ColorThemeBase/Constructor.pm
Criterion Covered Total %
branch 10 12 83.3


line true false branch
16 0 7 unless (defined $theme_hash->{'v'})
19 0 7 unless ($theme_hash->{'v'} == 2)
27 4 3 unless $args_spec
29 1 1 unless $args_spec->{$arg_name}
33 1 3 if $args_spec->{$arg_name}{'req'} and not exists $args{$arg_name}
37 1 1 if not defined $args{$arg_name} and exists $args_spec->{$arg_name}{'default'}