perlrdf.pm

filter: Statementstmt 86.9% 20 / 23 Branchbran n/a Conditioncond 0.0% 0 / 3 MC/DCmcdc 0.0% 0 / 2 Subroutinesub 87.5% 7 / 8 Podpod 100% 1 / 1 totaltotal 75.6% 28 / 37 CC 2 SCAR 4.0
CC
2
Cov
77%
AUTHORITY
3.2
BEGIN
1.0
BEGIN
1.0
CRAP 1.5
« perlrdf/DummyModel.pm ↑ Summary perlrdf/Command/Commands.pm »
1 package App::perlrdf;
2  
3 2 ▶use 5.010;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 2 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 2 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 2 ▶use utf8;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 2 ▶BEGIN {
Subroutine BEGIN: called CC=1 SCAR=0.0
9 2 $App::perlrdf::AUTHORITY = 'cpan:TOBYINK';
10 2 $App::perlrdf::VERSION = '0.006';
11 }
12  
13 2 ▶use App::Cmd::Setup -app => {
Subroutine BEGIN: called CC=1 SCAR=0.0
14 plugins => [qw( Prompt )],
15 2 };
16  
17 sub AUTHORITY
18 0 ▶{
Subroutine AUTHORITY: not called CC=2 SCAR=11.6
Pod documented
19 0 ▶ my $class = ref($_[0]) || $_[0];
Condition0%0/3
ref $_[0] || $_[0]
l!l&&r!l&&!r
000
MC/DC0%0/2
ref $_[0] || $_[0]
ref $_[0] $_[0]
Truth table0%0/3
A || B
A= ref $_[0]B= $_[0]
ABresult
1X1
011
000
20 2 ▶ no strict qw(refs);
Subroutine BEGIN: called CC=1 SCAR=0.0
21 0 ${"$class\::AUTHORITY"};
22 }
23  
24 2 1;
25  
26 __END__
« perlrdf/DummyModel.pm ↑ Summary perlrdf/Command/Commands.pm »