« 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
| |||||||||||||||||||||||||||||
| 13 | 0 | my $display = $vp->display; | |||||||||||||||||||||||||||
| 14 | 0 | ▶ | if( blessed($display) && $display->isa('Reaction::UI::ViewPort')){ | ||||||||||||||||||||||||||
|
Branch: 1 branch
Condition0%0/3
builtin::blessed($display) and $display->isa("Reaction::UI::ViewPort")
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")
| |||||||||||||||||||||||||||||
| 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__; | ||||||||||||||||||||||||||||