| 1 | # Copyrights 2001-2020 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.02. | ||||||||||||||||||||||||||||
| 5 | # This code is part of distribution Mail-Box. Meta-POD processed with | ||||||||||||||||||||||||||||
| 6 | # OODoc into POD and HTML manual-pages. See README.md | ||||||||||||||||||||||||||||
| 7 | # Copyright Mark Overmeer. Licensed under the same terms as Perl itself. | ||||||||||||||||||||||||||||
| 8 | |||||||||||||||||||||||||||||
| 9 | package Mail::Box::Mbox::Message; | ||||||||||||||||||||||||||||
| 10 | 25 | ▶ | use vars '$VERSION'; | ||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||
| 11 | 25 | $VERSION = '3.009'; | |||||||||||||||||||||||||||
| 12 | |||||||||||||||||||||||||||||
| 13 | 25 | ▶ | use base 'Mail::Box::File::Message'; | ||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||
| 14 | |||||||||||||||||||||||||||||
| 15 | 25 | ▶ | use strict; | ||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||
| 16 | 25 | ▶ | use warnings; | ||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||
| 17 | |||||||||||||||||||||||||||||
| 18 | |||||||||||||||||||||||||||||
| 19 | sub head(;$$) | ||||||||||||||||||||||||||||
| 20 | 0 | ▶ | { my $self = shift; | ||||||||||||||||||||||||||
|
Subroutine
head: not called CC=4 SCAR=30.0
Pod
documented
| |||||||||||||||||||||||||||||
| 21 | 0 | ▶ | return $self->SUPER::head unless @_; | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 22 | |||||||||||||||||||||||||||||
| 23 | 0 | my ($head, $labels) = @_; | |||||||||||||||||||||||||||
| 24 | 0 | $self->SUPER::head($head, $labels); | |||||||||||||||||||||||||||
| 25 | |||||||||||||||||||||||||||||
| 26 | 0 | ▶ | $self->statusToLabels if $head && !$head->isDelayed; | ||||||||||||||||||||||||||
|
Branch: 1 branch
Condition0%0/3
$head and not $head->isDelayed
MC/DC0%0/2
$head and not $head->isDelayed
$head
not $head->isDelayed
Truth table0%0/3
A and not(B)
A= $headB= not $head->isDelayed
| |||||||||||||||||||||||||||||
| 27 | 0 | $head; | |||||||||||||||||||||||||||
| 28 | } | ||||||||||||||||||||||||||||
| 29 | |||||||||||||||||||||||||||||
| 30 | sub label(@) | ||||||||||||||||||||||||||||
| 31 | 0 | ▶ | { my $self = shift; | ||||||||||||||||||||||||||
|
Subroutine
label: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||||||||||||||||||
| 32 | 0 | $self->loadHead; # be sure the status fields have been read | |||||||||||||||||||||||||||
| 33 | 0 | my $return = $self->SUPER::label(@_); | |||||||||||||||||||||||||||
| 34 | 0 | $return; | |||||||||||||||||||||||||||
| 35 | } | ||||||||||||||||||||||||||||
| 36 | |||||||||||||||||||||||||||||
| 37 | sub labels(@) | ||||||||||||||||||||||||||||
| 38 | 0 | ▶ | { my $self = shift; | ||||||||||||||||||||||||||
|
Subroutine
labels: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||||||||||||||||||
| 39 | 0 | $self->loadHead; # be sure the status fields have been read | |||||||||||||||||||||||||||
| 40 | 0 | $self->SUPER::labels(@_); | |||||||||||||||||||||||||||
| 41 | } | ||||||||||||||||||||||||||||
| 42 | |||||||||||||||||||||||||||||
| 43 | 25 | 1; | |||||||||||||||||||||||||||