Categorizer/Document/Text.pm

filter: Statementstmt 100% 12 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod 100% 1 / 1 totaltotal 100% 17 / 17 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Categorizer/Learner/Rocchio.pm ↑ Summary
1 package AI::Categorizer::Document::Text;
2  
3 8 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 8 ▶use AI::Categorizer::Document;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 8 ▶use base qw(AI::Categorizer::Document);
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 #use Params::Validate qw(:types);
8 #use AI::Categorizer::ObjectSet;
9 #use AI::Categorizer::FeatureVector;
10  
11 ### Constructors
12  
13 4 ▶sub parse {
Subroutine parse: called CC=1 SCAR=0.0
Pod documented
14 4 my ($self, %args) = @_;
15 4 $self->{content} = { body => $args{content} };
16 }
17  
18 8 1;
« Categorizer/Learner/Rocchio.pm ↑ Summary