lib/Reaction/UI/Widget/URI.pm

filter: Statementstmt 52.6% 10 / 19 Branchbran 0.0% 0 / 4 Conditioncond 0.0% 0 / 3 MC/DCmcdc 0.0% 0 / 2 Subroutinesub 50.0% 2 / 4 Podpod n/a totaltotal 37.5% 12 / 32 CC 4 SCAR 24.8
CC
4
Cov
38%
__ANON__
20.0
__ANON__
2.0
BEGIN
1.0
CRAP 12.0
« lib/Reaction/UI/Controller/Collection/CRUD.pm ↑ Summary lib/Reaction/UI/ViewPort/Field/Mutable/Array.pm »
1 package Reaction::UI::Widget::URI;
2  
3 1 ▶use Reaction::UI::WidgetClass;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use namespace::clean -except => [ qw(meta) ];
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 0 ▶before fragment widget {
Subroutine __ANON__: not called CC=1 SCAR=6.9
7 0 arg uri => $_{viewport}->uri;
8 1 };
9  
10 0 ▶implements fragment display_fragment {
Subroutine __ANON__: not called CC=4 SCAR=30.0
11 0 my $vp = $_{viewport};
12 0 ▶ return unless $vp->has_display;
Branch: 1 branch
BranchTrueFalseTotal
unless $vp->has_display 0 0 0
13 0 my $display = $vp->display;
14 0 ▶ if( blessed($display) && $display->isa('Reaction::UI::ViewPort')){
Branch: 1 branch
BranchTrueFalseTotal
if (builtin::blessed($display) and $display->isa('Reaction::UI::ViewPort')) { } 0 0 0
Condition0%0/3
builtin::blessed($display) and $display->isa("Reaction::UI::ViewPort")
!ll&&!rl&&r
000
MC/DC0%0/2
builtin::blessed($display) and $display->isa("Reaction::UI::ViewPort")
builtin::blessed($display) $display->isa("Reaction::UI::ViewPort")
Truth table0%0/3
A and B
A= builtin::blessed($display)B= $display->isa("Reaction::UI::ViewPort")
ABresult
0X0
100
111
15 0 arg '_' => $display;
16 0 render 'viewport';
17 } else {
18 0 arg string_value => $display;
19 0 render 'display_string';
20 }
21 1 };
22  
23 1 __PACKAGE__->meta->make_immutable;
24  
25  
26 1 1;
27  
28 __END__;
« lib/Reaction/UI/Controller/Collection/CRUD.pm ↑ Summary lib/Reaction/UI/ViewPort/Field/Mutable/Array.pm »