| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
package Algorithm::Classifier::IsolationForest::App::Command; |
|
2
|
22
|
|
|
22
|
|
15634
|
use App::Cmd::Setup -command; |
|
|
22
|
|
|
|
|
70
|
|
|
|
22
|
|
|
|
|
150
|
|
|
3
|
|
|
|
|
|
|
|
|
4
|
|
|
|
|
|
|
sub global_opt_spec { |
|
5
|
0
|
|
|
0
|
0
|
0
|
my ( $class, $app ) = @_; |
|
6
|
0
|
|
|
|
|
0
|
return ( $class->options($app), ); |
|
7
|
|
|
|
|
|
|
} |
|
8
|
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
sub validate_args { |
|
10
|
22
|
|
|
22
|
1
|
39003
|
my ( $self, $opt, $args ) = @_; |
|
11
|
22
|
50
|
|
|
|
169
|
if ( $opt->{help} ) { |
|
12
|
0
|
|
|
|
|
0
|
my ($command) = $self->command_names; |
|
13
|
0
|
|
|
|
|
0
|
$self->app->execute_command( $self->app->prepare_command( "help", $command ) ); |
|
14
|
0
|
|
|
|
|
0
|
exit; |
|
15
|
|
|
|
|
|
|
} |
|
16
|
22
|
|
|
|
|
105
|
$self->validate( $opt, $args ); |
|
17
|
|
|
|
|
|
|
} |
|
18
|
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
return 1; |