line |
true |
false |
branch |
20
|
11 |
98 |
if ($class->meta->does_role('MouseX::ConfigFromFile')) |
29
|
6 |
5 |
if (not defined $configfile) { } |
31
|
3 |
3 |
if $cfmeta->has_default |
32
|
2 |
4 |
if (ref $configfile eq 'CODE') |
37
|
3 |
3 |
if (defined $configfile) |
41
|
0 |
3 |
if ($@) |
42
|
0 |
0 |
unless $@ =~ /Specified configfile '\Q$configfile\E' does not exist/ |
51
|
21 |
88 |
@params == 1 ? : |
53
|
0 |
109 |
unless ref $constructor_params eq 'HASH' |
63
|
7 |
92 |
$config_from_file ? : |
66
|
6 |
93 |
if ($processed{'usage'} and $$params{'help_flag'}) |
72
|
70 |
23 |
$processed{'usage'} ? : |
85
|
87 |
22 |
unless $params{'params'}{'argv'} |
100
|
8 |
101 |
if @warnings |
101
|
10 |
99 |
if $e |
113
|
76 |
23 |
defined $usage ? : |
162
|
291 |
319 |
unless $_->does('MouseX::Getopt::Meta::Attribute::Trait') |
179
|
319 |
237 |
if ($attr->does('MouseX::Getopt::Meta::Attribute::Trait')) |
180
|
226 |
93 |
if $attr->has_cmd_flag |
181
|
223 |
96 |
if $attr->has_cmd_aliases |
198
|
11 |
545 |
if ($attr->name eq 'configfile') { } |
|
545 |
0 |
elsif ($attr->has_type_constraint) { } |
203
|
545 |
0 |
if ('MouseX::Getopt::OptionTypeMap'->has_option_type($type)) |
208
|
93 |
463 |
$attr->has_documentation ? : |