/usr/local/lib/perl5/5.44.0/x86_64-linux/mro.pm

filter: Statementstmt 71.4% 10 / 14 Branchbran 0.0% 0 / 4 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 33.3% 2 / 6 Podpod n/a totaltotal 50.0% 12 / 24 CC 3 SCAR 14.7
CC
3
Cov
56%
import
6.0
method
6.0
BEGIN
1.0
CRAP 4.3
« blib/lib/Skilletor/Probe.pm ↑ Summary /usr/local/lib/perl5/5.44.0/PerlIO.pm »
1 # mro.pm
2 #
3 # Copyright (c) 2007 Brandon L Black
4 # Copyright (c) 2008,2009 Larry Wall and others
5 #
6 # You may distribute under the terms of either the GNU General Public
7 # License or the Artistic License, as specified in the README file.
8 #
9 package mro;
10 7 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
11 7 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
12  
13 # mro.pm versions < 1.00 reserved for MRO::Compat
14 # for partial back-compat to 5.[68].x
15 7 our $VERSION = '1.30';
16  
17 7 require XSLoader;
18 7 XSLoader::load('mro');
19  
20 0 ▶sub import {
Subroutine import: not called CC=2 SCAR=17.9
21 0 ▶ mro::set_mro(scalar(caller), $_[1]) if $_[1];
Branch: 1 branch
BranchTrueFalseTotal
if $_[1] 0 0 0
22 }
23  
24 package # hide me from PAUSE
25 next;
26  
27 0 ▶sub can { mro::_nextcan($_[0], 0) }
Subroutine can: not called
28  
29 0 ▶sub method {
Subroutine method: not called
30 my $method = mro::_nextcan($_[0], 1);
31 goto &$method;
32 }
33  
34 package # hide me from PAUSE
35 maybe::next;
36  
37 0 ▶sub method {
Subroutine method: not called CC=2 SCAR=17.9
38 0 my $method = mro::_nextcan($_[0], 0);
39 0 ▶ goto &$method if defined $method;
Branch: 1 branch
BranchTrueFalseTotal
if defined $method 0 0 0
40 0 return;
41 }
42  
43 7 1;
44  
45 __END__
« blib/lib/Skilletor/Probe.pm ↑ Summary /usr/local/lib/perl5/5.44.0/PerlIO.pm »