line |
true |
false |
branch |
20
|
0 |
98 |
if ($class->meta->does_role('MouseX::ConfigFromFile')) |
29
|
0 |
0 |
if (not defined $configfile) { } |
31
|
0 |
0 |
if $cfmeta->has_default |
32
|
0 |
0 |
if (ref $configfile eq 'CODE') |
37
|
0 |
0 |
if (defined $configfile) |
41
|
0 |
0 |
if ($@) |
42
|
0 |
0 |
unless $@ =~ /Specified configfile '\Q$configfile\E' does not exist/ |
51
|
21 |
77 |
@params == 1 ? : |
53
|
0 |
98 |
unless ref $constructor_params eq 'HASH' |
63
|
0 |
90 |
$config_from_file ? : |
66
|
5 |
85 |
if ($processed{'usage'} and $$params{'help_flag'}) |
72
|
62 |
23 |
$processed{'usage'} ? : |
85
|
76 |
22 |
unless $params{'params'}{'argv'} |
100
|
8 |
90 |
if @warnings |
101
|
8 |
90 |
if $e |
113
|
67 |
23 |
defined $usage ? : |
162
|
244 |
308 |
unless $_->does('MouseX::Getopt::Meta::Attribute::Trait') |
179
|
308 |
190 |
if ($attr->does('MouseX::Getopt::Meta::Attribute::Trait')) |
180
|
215 |
93 |
if $attr->has_cmd_flag |
181
|
212 |
96 |
if $attr->has_cmd_aliases |
198
|
0 |
498 |
if ($attr->name eq 'configfile') { } |
|
498 |
0 |
elsif ($attr->has_type_constraint) { } |
203
|
498 |
0 |
if ('MouseX::Getopt::OptionTypeMap'->has_option_type($type)) |
208
|
82 |
416 |
$attr->has_documentation ? : |