| 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; | |