| 1 | package Pod::WSDL::Doc; | ||||||||||||
| 2 | 8 | ▶ | use strict; | ||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||
| 3 | 8 | ▶ | use warnings; | ||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||
| 4 | |||||||||||||
| 5 | 8 | ▶ | use Pod::WSDL::AUTOLOAD; | ||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||
| 6 | |||||||||||||
| 7 | 8 | our $VERSION = "0.05"; | |||||||||||
| 8 | 8 | our @ISA = qw/Pod::WSDL::AUTOLOAD/; | |||||||||||
| 9 | 7 | ▶ | sub new { | ||||||||||
|
Subroutine
new: called CC=4 SCAR=13.9
Pod
documented
| |||||||||||||
| 10 | 7 | my ($pkg, $str) = @_; | |||||||||||
| 11 | |||||||||||||
| 12 | 7 | ▶ | defined $str or $str = ''; # avoids warnings | ||||||||||
|
Branch: 1 branch
| |||||||||||||
| 13 | 7 | ▶ | $str =~ /\s*_DOC\s*(.*)/ or die "_DOC statements must have structure '_DOC <text>', like '_DOC This is my documentation'"; | ||||||||||
|
Branch: 1 branch
| |||||||||||||
| 14 | |||||||||||||
| 15 | 5 | ▶ | bless { | ||||||||||
|
Condition100%2/2
$1 || ''
MC/DC100%1/1
$1 || ''
$1
Truth table100%2/2
A
A= $1
| |||||||||||||
| 16 | _descr => $1 || '', | ||||||||||||
| 17 | }, $pkg; | ||||||||||||
| 18 | } | ||||||||||||
| 19 | |||||||||||||
| 20 | 8 | 1; | |||||||||||
| 21 | __END__ | ||||||||||||