File Coverage

blib/lib/Algorithm/Classifier/NaiveBayes/App.pm
Criterion Covered Total %
statement 12 12 100.0
branch n/a
condition n/a
subroutine 5 5 100.0
pod 1 1 100.0
total 18 18 100.0


line stmt bran cond sub pod time code
1             package Algorithm::Classifier::NaiveBayes::App;
2              
3 1     1   123397 use 5.006;
  1         4  
4 1     1   5 use strict;
  1         1  
  1         21  
5 1     1   2 use warnings;
  1         2  
  1         61  
6 1     1   493 use App::Cmd::Setup -app;
  1         33785  
  1         6  
7              
8             =head1 NAME
9              
10             Algorithm::Classifier::NaiveBayes::App - The App::Cmd app class for nb_tool.
11              
12             =cut
13              
14             sub global_opt_spec {
15 27     27 1 60199 return ( [ 'help|h' => 'This usage screen.' ], );
16             }
17              
18             1;