blib/lib/Algorithm/Classifier/IsolationForest/App.pm

filter: Statementstmt 100% 13 / 13 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod 100% 1 / 1 totaltotal 100% 19 / 19 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« bin/iforest ↑ Summary blib/lib/Algorithm/Classifier/IsolationForest/BuildFlags.pm »
1 package Algorithm::Classifier::IsolationForest::App;
2  
3 86 ▶use 5.006;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 86 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 86 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 86 ▶use App::Cmd::Setup -app;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 86 ▶sub global_opt_spec {
Subroutine global_opt_spec: called CC=1 SCAR=0.0
Pod documented
9 86 return ( [ 'help|h' => "This usage screen." ], [ 'version|v' => "This usage screen." ], );
10 }
11  
12 =head1 NAME
13  
14 Algorithm::Classifier::IsolationForest::App - the App::Cmd application behind the iforest command
15  
16 =head1 DESCRIPTION
17  
18 The L<App::Cmd> application class C<bin/iforest> runs. Subcommands live
19 under C<Algorithm::Classifier::IsolationForest::App::Command::> and are
20 discovered by App::Cmd, so adding a module there adds a command -- there
21 is no registry to update.
22  
23 They all inherit from
24 L<Algorithm::Classifier::IsolationForest::App::Command>, which App::Cmd
25 also finds by name alone.
26  
27 =head1 METHODS
28  
29 =head2 global_opt_spec
30  
31 The options every subcommand accepts on top of its own, as the list of
32 arrayrefs L<Getopt::Long::Descriptive> expects. App::Cmd calls this
33 while assembling the option spec for whichever command is about to run.
34  
35 iforest fit -h # handled through this spec
36  
37 =cut
38  
39 86 1;
« bin/iforest ↑ Summary blib/lib/Algorithm/Classifier/IsolationForest/BuildFlags.pm »