| 1 | 3 | ▶ | use strict; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 2 | 3 | ▶ | use warnings; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 3 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 4 | package Parse::PAUSE; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 5 | 3 | our $VERSION = '1.001'; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 6 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 7 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 8 | 3 | ▶ | use Scalar::Util qw(blessed); | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 9 | 3 | ▶ | use Module::Pluggable require => 1; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 10 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 11 | 2 | ▶ | sub parse { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Subroutine
parse: called CC=6 SCAR=18.7
Pod
documented
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 12 | 2 | my ($class, $content) = @_; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 13 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 14 | 2 | for my $plugin ($class->plugins()) { | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 15 | 3 | my $parsed_content_obj = $plugin->_process($content); | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 16 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 17 | 3 | ▶ | if ( | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
Condition66%6/9
defined $parsed_content_obj and ref $parsed_content_obj and builtin::blessed($parsed_content_obj) and $parsed_content_obj->does("Parse::PAUSE::Plugin")
defined $parsed_content_obj and ref $parsed_content_obj and builtin::blessed($parsed_content_obj)
defined $parsed_content_obj and ref $parsed_content_obj
MC/DC25%1/4
defined $parsed_content_obj and ref $parsed_content_obj and builtin::blessed($parsed_content_obj) and $parsed_content_obj->does("Parse::PAUSE::Plugin")
defined $parsed_content_obj
ref $parsed_content_obj
builtin::blessed($parsed_content_obj)
$parsed_content_obj->does("Parse::PAUSE::Plugin")
Truth table40%2/5
A and B and C and D
A= defined $parsed_content_objB= ref $parsed_content_objC= builtin::blessed($parsed_content_obj)D= $parsed_content_obj->does("Parse::PAUSE::Plugin")
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 18 | defined $parsed_content_obj and | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 19 | ref $parsed_content_obj and | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 20 | blessed $parsed_content_obj and | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 21 | $parsed_content_obj->does('Parse::PAUSE::Plugin') | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 22 | ) { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 23 | 2 | return $parsed_content_obj; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 24 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 25 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 26 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 27 | 0 | return; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 28 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 29 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 30 | 3 | 1; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 31 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 32 | __END__ | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||