Async/ORM/Extension.pm

filter: Statementstmt 53.3% 8 / 15 Branchbran 0.0% 0 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 25.0% 2 / 8 Podpod 0.0% 0 / 6 totaltotal 32.2% 10 / 31 CC 2 SCAR 9.8
CC
2
Cov
47%
is_optional
6.0
new
2.0
name
2.0
CRAP 2.7
« Async/Pool.pm ↑ Summary Async/ORM/Constraint.pm »
1 package Database::Async::ORM::Extension;
2  
3 2 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 2 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 2 our $VERSION = '0.019'; # VERSION
7  
8 0 ▶sub new {
Subroutine new: not called CC=1 SCAR=6.9
Pod undocumented
9 0 my ($class) = shift;
10 0 bless { @_ }, $class
11 }
12  
13 0 ▶sub name { shift->{name} }
Subroutine name: not called CC=1 SCAR=6.9
Pod undocumented
14 0 ▶sub defined_in { shift->{defined_in} }
Subroutine defined_in: not called CC=1 SCAR=6.9
Pod undocumented
15 0 ▶sub description { shift->{description} }
Subroutine description: not called CC=1 SCAR=6.9
Pod undocumented
16 0 ▶sub optional { shift->{optional} }
Subroutine optional: not called CC=1 SCAR=6.9
Pod undocumented
17 0 ▶sub is_optional { shift->{optional} ? 1 : 0 }
Subroutine is_optional: not called CC=2 SCAR=17.9
Pod undocumented
Branch: 1 branch
BranchTrueFalseTotal
+(shift())->{'optional'} ? : 0 0 0
18  
19 2 1;
20  
« Async/Pool.pm ↑ Summary Async/ORM/Constraint.pm »