| 1 | # Copyrights 2011-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 POSIX-1003. 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 | 5 | ▶ | use warnings; | ||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||
| 10 | 5 | ▶ | use strict; | ||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||
| 11 | |||||||||||||
| 12 | 5 | ▶ | no warnings 'redefine', 'prototype'; # during release of distribution | ||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||
| 13 | |||||||||||||
| 14 | |||||||||||||
| 15 | |||||||||||||
| 16 | sub POSIX::SigAction::new | ||||||||||||
| 17 | 16 | ▶ | { my $class = shift; | ||||||||||
|
Subroutine
new: called CC=2 SCAR=6.9
Pod
documented
| |||||||||||||
| 18 | 16 | ▶ | bless {HANDLER => $_[0], MASK => $_[1], FLAGS => $_[2] || 0, SAFE => 0}, | ||||||||||
|
Condition100%2/2
$_[2] || 0
MC/DC100%1/1
$_[2] || 0
$_[2]
Truth table100%2/2
A
A= $_[2]
| |||||||||||||
| 19 | $class; | ||||||||||||
| 20 | } | ||||||||||||
| 21 | |||||||||||||
| 22 | #--------------------------- | ||||||||||||
| 23 | |||||||||||||
| 24 | # We cannot use a "package" statement, because it confuses CPAN: the | ||||||||||||
| 25 | # namespace is assigned to the perl core distribution. | ||||||||||||
| 26 | 5 | ▶ | no warnings 'redefine'; | ||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||
| 27 | sub POSIX::SigAction::handler($;$) | ||||||||||||
| 28 | 0 | ▶ | { $_[0]->{HANDLER} = $_[1] if @_ > 1; $_[0]->{HANDLER} } | ||||||||||
|
Subroutine
handler: not called CC=2 SCAR=17.9
Pod
documented
Branch: 1 branch
| |||||||||||||
| 29 | |||||||||||||
| 30 | sub POSIX::SigAction::mask($;$) | ||||||||||||
| 31 | 0 | ▶ | { $_[0]->{MASK} = $_[1] if @_ > 1; $_[0]->{MASK} } | ||||||||||
|
Subroutine
mask: not called CC=2 SCAR=17.9
Pod
documented
Branch: 1 branch
| |||||||||||||
| 32 | |||||||||||||
| 33 | sub POSIX::SigAction::flags($;$) | ||||||||||||
| 34 | 0 | ▶ | { $_[0]->{FLAGS} = $_[1] if @_ > 1; $_[0]->{FLAGS} } | ||||||||||
|
Subroutine
flags: not called CC=2 SCAR=17.9
Pod
documented
Branch: 1 branch
| |||||||||||||
| 35 | |||||||||||||
| 36 | sub POSIX::SigAction::safe($;$) | ||||||||||||
| 37 | 4 | ▶ | { $_[0]->{SAFE} = $_[1] if @_ > 1; $_[0]->{SAFE} } | ||||||||||
|
Subroutine
safe: called CC=2 SCAR=6.9
Pod
documented
Branch: 1 branch
| |||||||||||||
| 38 | |||||||||||||
| 39 | 5 | 1; | |||||||||||