| 1 | package HTML::MobileJp::Filter::Role; | ||||||||||||
| 2 | 3 | ▶ | use Any::Moose '::Role'; | ||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||
| 3 | |||||||||||||
| 4 | has config => ( | ||||||||||||
| 5 | is => 'rw', | ||||||||||||
| 6 | isa => 'Maybe[HashRef]', | ||||||||||||
| 7 | 6 | ▶ | default => sub { {} }, | ||||||||||
|
Subroutine
__ANON__: called CC=1 SCAR=0.0
| |||||||||||||
| 8 | 3 | ); | |||||||||||
| 9 | |||||||||||||
| 10 | 3 | has mobile_agent => ( | |||||||||||
| 11 | is => 'rw', | ||||||||||||
| 12 | isa => 'HTTP::MobileAgent', | ||||||||||||
| 13 | ); | ||||||||||||
| 14 | |||||||||||||
| 15 | 3 | requires 'filter'; | |||||||||||
| 16 | |||||||||||||
| 17 | 5 | ▶ | sub BUILD { | ||||||||||
|
Subroutine
BUILD: called CC=2 SCAR=7.0
Pod
undocumented
| |||||||||||||
| 18 | 5 | my $self = shift; | |||||||||||
| 19 | |||||||||||||
| 20 | $self->config({ | ||||||||||||
| 21 | 5 | %{ $self->meta->get_attribute('config')->default->() }, | |||||||||||
| 22 | 5 | ▶ | %{ $self->config || {} }, | ||||||||||
|
Condition50%1/2
$self->config || {}
MC/DC0%0/1
$self->config || {}
$self->config
Truth table50%1/2
A
A= $self->config
| |||||||||||||
| 23 | }); | ||||||||||||
| 24 | |||||||||||||
| 25 | 5 | $self->init; | |||||||||||
| 26 | } | ||||||||||||
| 27 | |||||||||||||
| 28 | 5 | ▶ | sub init { } | ||||||||||
|
Subroutine
init: called CC=1 SCAR=0.0
Pod
undocumented
| |||||||||||||
| 29 | |||||||||||||
| 30 | 3 | 1; | |||||||||||