| 1 | package Pod::Simple::Methody; | ||||||||||||
| 2 | 22 | ▶ | use strict; | ||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||
| 3 | 22 | ▶ | use warnings; | ||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||
| 4 | 22 | ▶ | use Pod::Simple (); | ||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||
| 5 | 22 | our $VERSION = '3.48'; | |||||||||||
| 6 | 22 | our @ISA = ('Pod::Simple'); | |||||||||||
| 7 | |||||||||||||
| 8 | # Yes, we could use named variables, but I want this to be impose | ||||||||||||
| 9 | # as little an additional performance hit as possible. | ||||||||||||
| 10 | |||||||||||||
| 11 | 4933 | ▶ | sub _handle_element_start { | ||||||||||
|
Subroutine
_handle_element_start: called CC=2 SCAR=6.9
| |||||||||||||
| 12 | 4933 | $_[1] =~ tr/-:./__/; | |||||||||||
| 13 | 4933 | ▶ | ( $_[0]->can( 'start_' . $_[1] ) | ||||||||||
|
Condition100%2/2
$_[0]->can('start_' . $_[1]) || (return)
MC/DC100%1/1
$_[0]->can('start_' . $_[1]) || (return)
$_[0]->can('start_' . $_[1])
Truth table100%2/2
A
A= $_[0]->can('start_' . $_[1])
| |||||||||||||
| 14 | || return | ||||||||||||
| 15 | )->( | ||||||||||||
| 16 | $_[0], $_[2] | ||||||||||||
| 17 | ); | ||||||||||||
| 18 | } | ||||||||||||
| 19 | |||||||||||||
| 20 | 6077 | ▶ | sub _handle_text { | ||||||||||
|
Subroutine
_handle_text: called CC=2 SCAR=6.9
| |||||||||||||
| 21 | 6077 | ▶ | ( $_[0]->can( 'handle_text' ) | ||||||||||
|
Condition100%2/2
$_[0]->can('handle_text') || (return)
MC/DC100%1/1
$_[0]->can('handle_text') || (return)
$_[0]->can('handle_text')
Truth table100%2/2
A
A= $_[0]->can('handle_text')
| |||||||||||||
| 22 | || return | ||||||||||||
| 23 | )->( | ||||||||||||
| 24 | @_ | ||||||||||||
| 25 | ); | ||||||||||||
| 26 | } | ||||||||||||
| 27 | |||||||||||||
| 28 | 4933 | ▶ | sub _handle_element_end { | ||||||||||
|
Subroutine
_handle_element_end: called CC=2 SCAR=6.9
| |||||||||||||
| 29 | 4933 | $_[1] =~ tr/-:./__/; | |||||||||||
| 30 | 4933 | ▶ | ( $_[0]->can( 'end_' . $_[1] ) | ||||||||||
|
Condition100%2/2
$_[0]->can('end_' . $_[1]) || (return)
MC/DC100%1/1
$_[0]->can('end_' . $_[1]) || (return)
$_[0]->can('end_' . $_[1])
Truth table100%2/2
A
A= $_[0]->can('end_' . $_[1])
| |||||||||||||
| 31 | || return | ||||||||||||
| 32 | )->( | ||||||||||||
| 33 | $_[0], $_[2] | ||||||||||||
| 34 | ); | ||||||||||||
| 35 | } | ||||||||||||
| 36 | |||||||||||||
| 37 | 22 | 1; | |||||||||||
| 38 | |||||||||||||
| 39 | |||||||||||||
| 40 | __END__ | ||||||||||||