Plugin/PSGIHandler/Extra/StackTrace.pm

filter: Statementstmt 61.1% 11 / 18 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 66.6% 4 / 6 Podpod 100% 1 / 1 totaltotal 64.0% 16 / 25 CC 1 SCAR 2.9
CC
1
Cov
61%
new
2.0
_frame_filter
2.0
BEGIN
1.0
CRAP 1.3
« Plugin/PSGIHandler/Interp.pm ↑ Summary Plack/Request.pm »
1 package Mason::Plugin::PSGIHandler::Extra::StackTrace;
2 1 ▶BEGIN {
Subroutine BEGIN: called CC=1 SCAR=0.0
3 1 $Mason::Plugin::PSGIHandler::Extra::StackTrace::VERSION = '0.06';
4 }
5 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
7 1 ▶use base qw(Devel::StackTrace);
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 0 ▶sub new {
Subroutine new: not called CC=1 SCAR=6.9
Pod documented
10 0 my $class = shift;
11 0 $class->SUPER::new( @_, frame_filter => \&_frame_filter );
12 }
13  
14 0 ▶sub _frame_filter {
Subroutine _frame_filter: not called CC=1 SCAR=6.9
15 0 my $info = shift;
16 0 my ( $pkg, $file, $line, $method ) = @{ $info->{caller} };
17 0 return 1;
18 0 return $pkg !~ /^(Moose|Mason|Class::MOP)/;
19 }
20  
21 1 1;
« Plugin/PSGIHandler/Interp.pm ↑ Summary Plack/Request.pm »