Branch Coverage

blib/lib/RapidApp/Module/ExtComponent.pm
Criterion Covered Total %
branch 16 30 53.3


line true false branch
71 0 214 if (scalar @{$self->plugins;} > 0)
79 4 210 if $self->require_role
83 235 20865 if $attr->does('ExtProp')
99 103 57 $self->parent_module && $self->parent_module->can('test_permission') ? :
0 160 $c && $self->role_checker && $self->require_role && $c->can('session') && $c->session && $c->can('session_is_valid') && $c->session_is_valid && !$self->role_checker->($c, $self->require_role) ? :
117 0 0 $self->test_permission ? :
122 57 0 if $self->test_permission
136 0 46 if ref $apply_extconfig eq 'HASH'
143 0 46 if $header_html
150 0 46 if $footer_html
170 3718 138 unless $attr->does('RapidApp::Role::AppCmpConfigParam') and $attr->has_value($self)
311 0 65 if $self->has_listener_callbacks($event)
315 65 0 if (ref $func) { }
362 0 0 unless my $header = $self->c->req->header('X-RapidApp-View')
363 0 0 if $header eq 'print'