SDK/Storage/Tables/TableItem.pm

filter: Statementstmt 100% 15 / 15 Branchbran 50.0% 1 / 2 Conditioncond 33.3% 2 / 6 MC/DCmcdc 0.0% 0 / 3 Subroutinesub 100% 5 / 5 Podpod n/a totaltotal 74.1% 23 / 31 CC 4 SCAR 13.5
CC
4
Cov
78%
__ANON__
6.7
BEGIN
1.0
BEGIN
1.0
CRAP 3.9
« SDK/Storage/Queues/QueueProperties.pm ↑ Summary SDK/Storage/Queues/QueueItem.pm »
1 6 ▶use v5.36;
Subroutine BEGIN: called CC=1 SCAR=0.0
2 6 ▶use feature 'class';
Subroutine BEGIN: called CC=1 SCAR=0.0
3 6 ▶no warnings 'experimental::class';
Subroutine BEGIN: called CC=1 SCAR=0.0
4
5 6 class Azure::SDK::Storage::Tables::TableItem {
6 6 ▶ use Carp qw(croak);
Subroutine BEGIN: called CC=1 SCAR=0.0
7
8 6 field $name :param :reader;
9
10 6 ▶ ADJUST {
Subroutine __ANON__: called CC=4 SCAR=19.1
11 6 ▶ croak 'Azure::SDK::Storage::Tables::TableItem requires a name'
Branch: 1 branch
BranchTrueFalseTotal
unless defined $name and not ref $name and length $name 0 6 6
Condition33%2/6
defined $name and not ref $name and length $name
!ll&&!rl&&r
006
defined $name and not ref $name
!ll&&!rl&&r
006
MC/DC0%0/3
defined $name and not ref $name and length $name
defined $name not ref $name length $name
Truth table25%1/4
A and not(B) and C
A= defined $nameB= not ref $nameC= length $name
ABCresult
0XX0
10X0
1100
1111
12 unless defined $name && !ref $name && length $name;
13 }
14 }
15
16 6 1;
17
18 __END__
« SDK/Storage/Queues/QueueProperties.pm ↑ Summary SDK/Storage/Queues/QueueItem.pm »