Branch Coverage

blib/lib/Plack/Middleware/Profiler/KYTProf.pm
Criterion Covered Total %
branch 14 26 53.8


line true false branch
30 3 0 unless $self->enable_profile_if
37 0 3 if $PROFILER_SETUPED{$pid}
41 0 3 unless $is_profiler_enabled
62 0 3 if $self->namespace_regex
64 0 3 if $self->ignore_class_regex
66 0 3 if $self->context_classes_regex
70 0 3 if $self->logger
71 1 2 if $self->threshold
72 0 3 if $self->remove_linefeed
78 3 0 unless $self->mutes
94 0 4 unless $profile->can('load')
102 0 7 unless eval { do { &load($module); 1 } }
111 3 0 if (ref $res and ref $res eq 'ARRAY')