| 1 | # Copyrights 2003-2015 by [Mark Overmeer]. | ||||||||||||
| 2 | # For other contributors see ChangeLog. | ||||||||||||
| 3 | # See the manual pages for details on the licensing terms. | ||||||||||||
| 4 | # Pod stripped from pm file by OODoc 2.01. | ||||||||||||
| 5 | |||||||||||||
| 6 | package OODoc::Text::Default; | ||||||||||||
| 7 | 1 | ▶ | use vars '$VERSION'; | ||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||
| 8 | 1 | $VERSION = '2.01'; | |||||||||||
| 9 | |||||||||||||
| 10 | 1 | ▶ | use base 'OODoc::Text'; | ||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||
| 11 | |||||||||||||
| 12 | 1 | ▶ | use strict; | ||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||
| 13 | 1 | ▶ | use warnings; | ||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||
| 14 | |||||||||||||
| 15 | 1 | ▶ | use Log::Report 'oodoc'; | ||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||
| 16 | |||||||||||||
| 17 | |||||||||||||
| 18 | sub init($) | ||||||||||||
| 19 | 0 | ▶ | { my ($self, $args) = @_; | ||||||||||
|
Subroutine
init: not called CC=5 SCAR=34.0
Pod
undocumented
| |||||||||||||
| 20 | 0 | ▶ | $args->{type} ||= 'Default'; | ||||||||||
|
Condition0%0/2
$args->{"type"} ||= "Default"
MC/DC0%0/1
$args->{"type"} ||= "Default"
$args->{"type"}
Truth table0%0/2
A
A= $args->{"type"}
| |||||||||||||
| 21 | 0 | ▶ | $args->{container} = delete $args->{subroutine} or panic; | ||||||||||
|
Branch: 1 branch
| |||||||||||||
| 22 | |||||||||||||
| 23 | 0 | ▶ | $self->SUPER::init($args) | ||||||||||
|
Branch: 1 branch
| |||||||||||||
| 24 | or return; | ||||||||||||
| 25 | |||||||||||||
| 26 | 0 | $self->{OTD_value} = delete $args->{value}; | |||||||||||
| 27 | 0 | ▶ | defined $self->{OTD_value} or panic; | ||||||||||
|
Branch: 1 branch
| |||||||||||||
| 28 | |||||||||||||
| 29 | 0 | $self; | |||||||||||
| 30 | } | ||||||||||||
| 31 | |||||||||||||
| 32 | #------------------------------------------- | ||||||||||||
| 33 | |||||||||||||
| 34 | |||||||||||||
| 35 | 0 | ▶ | sub subroutine() { shift->container } | ||||||||||
|
Subroutine
subroutine: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 36 | |||||||||||||
| 37 | |||||||||||||
| 38 | 0 | ▶ | sub value() { shift->{OTD_value} } | ||||||||||
|
Subroutine
value: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 39 | |||||||||||||
| 40 | 1 | 1; | |||||||||||