Filter/DoCoMoGUID.pm

filter: Statementstmt 91.6% 11 / 12 Branchbran 50.0% 1 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod 0.0% 0 / 1 totaltotal 83.3% 15 / 18 CC 2 SCAR 4.5
CC
2
Cov
86%
filter
2.1
BEGIN
1.0
BEGIN
1.0
CRAP 1.6
« Filter.pm ↑ Summary Filter/Role.pm »
1 package HTML::MobileJp::Filter::DoCoMoGUID;
2 1 ▶use Any::Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
3  
4 1 with 'HTML::MobileJp::Filter::Role';
5  
6 1 ▶use HTML::StickyQuery::DoCoMoGUID;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 1 ▶sub filter {
Subroutine filter: called CC=2 SCAR=7.6
Pod undocumented
9 1 my ($self, $content) = @_;
10
11 1 ▶ unless ($self->mobile_agent->is_docomo) {
Branch: 1 branch
BranchTrueFalseTotal
unless ($self->mobile_agent->is_docomo) 0 1 1
12 0 return;
13 }
14
15 1 HTML::StickyQuery::DoCoMoGUID->new->sticky( scalarref => \$content->stringfy );
16 }
17  
18 1 1;
19 __END__
« Filter.pm ↑ Summary Filter/Role.pm »