| 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 | ▶ | use Azure::SDK::Core::Error; | ||||||||||||||||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||||||||||||||||
| 6 | |||||||||||||||||||||||||||||||||||||||||||
| 7 | 6 | class Azure::SDK::Storage::Tables::TransactionError :isa(Azure::SDK::Core::Error) { | |||||||||||||||||||||||||||||||||||||||||
| 8 | 6 | ▶ | use Carp qw(croak); | ||||||||||||||||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||||||||||||||||
| 9 | |||||||||||||||||||||||||||||||||||||||||||
| 10 | 6 | field $operation_index :param :reader; | |||||||||||||||||||||||||||||||||||||||||
| 11 | |||||||||||||||||||||||||||||||||||||||||||
| 12 | 2 | ▶ | ADJUST { | ||||||||||||||||||||||||||||||||||||||||
|
Subroutine
__ANON__: called CC=4 SCAR=17.9
| |||||||||||||||||||||||||||||||||||||||||||
| 13 | 2 | ▶ | croak 'Table transaction error operation_index must be a non-negative integer' | ||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
Condition33%2/6
defined $operation_index and not ref $operation_index and $operation_index =~ /\A[0-9]+\z/u
defined $operation_index and not ref $operation_index
MC/DC0%0/3
defined $operation_index and not ref $operation_index and $operation_index =~ /\A[0-9]+\z/u
defined $operation_index
not ref $operation_index
$operation_index =~ /\A[0-9]+\z/u
Truth table25%1/4
A and not(B) and C
A= defined $operation_indexB= not ref $operation_indexC= $operation_index =~ /\A[0-9]+\z/u
| |||||||||||||||||||||||||||||||||||||||||||
| 14 | unless defined $operation_index | ||||||||||||||||||||||||||||||||||||||||||
| 15 | && !ref($operation_index) | ||||||||||||||||||||||||||||||||||||||||||
| 16 | && $operation_index =~ /\A[0-9]+\z/; | ||||||||||||||||||||||||||||||||||||||||||
| 17 | 2 | $operation_index = 0 + $operation_index; | |||||||||||||||||||||||||||||||||||||||||
| 18 | } | ||||||||||||||||||||||||||||||||||||||||||
| 19 | } | ||||||||||||||||||||||||||||||||||||||||||
| 20 | |||||||||||||||||||||||||||||||||||||||||||
| 21 | 6 | 1; | |||||||||||||||||||||||||||||||||||||||||
| 22 | |||||||||||||||||||||||||||||||||||||||||||
| 23 | __END__ | ||||||||||||||||||||||||||||||||||||||||||