line |
true |
false |
branch |
19
|
0 |
14 |
if (defined $_[0] and $_[0] =~ /\.wasm$/) |
24
|
9 |
5 |
if (defined $_[0] and not $_[0] =~ /^-/) { } |
29
|
1 |
8 |
unless defined $main |
41
|
1 |
2 |
unless &GetOptions('help|h', sub {
pod2usage({'-exitval', 0});
}
, 'version|v', sub {
print "plasm version @{['App::plasm'->VERSION || 'dev'];} Wasm.pm @{['Wasm'->VERSION];}\n";
&CORE::GLOBAL::exit(0);
}
) |
65
|
1 |
3 |
unless &GetOptions('help|h', sub {
pod2usage({'-exitval', 0, @pod});
}
) |
69
|
0 |
3 |
unless defined $filename |
73
|
1 |
2 |
unless -f $filename |
110
|
0 |
2 |
unless &GetOptions('help|h', sub {
pod2usage({'-exitval', 0, @pod});
}
) |
114
|
0 |
2 |
unless defined $filename |
118
|
0 |
2 |
unless -f $filename |
147
|
0 |
1 |
unless &GetOptions('help|h', sub {
pod2usage({'-exitval', 0, @pod});
}
) |
151
|
0 |
1 |
unless defined $filename |
155
|
0 |
1 |
unless -f $filename |
167
|
0 |
1 |
if -e $out |