| 1 | package Cassandra::Client::ResultSet; | ||||||||||||||||||||
| 2 | 13 | our $AUTHORITY = 'cpan:TVDW'; | |||||||||||||||||||
| 3 | 13 | $Cassandra::Client::ResultSet::VERSION = '0.21'; | |||||||||||||||||||
| 4 | 13 | ▶ | use 5.010; | ||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||
| 5 | 13 | ▶ | use strict; | ||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||
| 6 | 13 | ▶ | use warnings; | ||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||
| 7 | |||||||||||||||||||||
| 8 | |||||||||||||||||||||
| 9 | 0 | ▶ | sub new { | ||||||||||||||||||
|
Subroutine
new: not called CC=1 SCAR=6.9
Pod
undocumented
| |||||||||||||||||||||
| 10 | 0 | my ($class, $raw_data, $decoder, $next_page)= @_; | |||||||||||||||||||
| 11 | |||||||||||||||||||||
| 12 | 0 | return bless { | |||||||||||||||||||
| 13 | raw_data => $raw_data, | ||||||||||||||||||||
| 14 | decoder => $decoder, | ||||||||||||||||||||
| 15 | next_page => $next_page, | ||||||||||||||||||||
| 16 | }, $class; | ||||||||||||||||||||
| 17 | } | ||||||||||||||||||||
| 18 | |||||||||||||||||||||
| 19 | |||||||||||||||||||||
| 20 | 0 | ▶ | sub rows { | ||||||||||||||||||
|
Subroutine
rows: not called CC=2 SCAR=17.9
Pod
documented
| |||||||||||||||||||||
| 21 | 0 | ▶ | return $_[0]{rows} ||= $_[0]{decoder}->decode(${$_[0]{raw_data}}, 0); | ||||||||||||||||||
|
Condition0%0/3
$_[0]{"rows"} ||= $_[0]{"decoder"}->decode(${$_[0]{"raw_data"};}, 0)
MC/DC0%0/2
$_[0]{"rows"} ||= $_[0]{"decoder"}->decode(${$_[0]{"raw_data"};}, 0)
$_[0]{"rows"}
$_[0]{"decoder"}->decode(${$_[0]{"raw_data"};}, 0)
Truth table0%0/3
A ||= B
A= $_[0]{"rows"}B= $_[0]{"decoder"}->decode(${$_[0]{"raw_data"};}, 0)
| |||||||||||||||||||||
| 22 | } | ||||||||||||||||||||
| 23 | |||||||||||||||||||||
| 24 | |||||||||||||||||||||
| 25 | 0 | ▶ | sub row_hashes { | ||||||||||||||||||
|
Subroutine
row_hashes: not called CC=2 SCAR=17.9
Pod
documented
| |||||||||||||||||||||
| 26 | 0 | ▶ | return $_[0]{row_hashes} ||= $_[0]{decoder}->decode(${$_[0]{raw_data}}, 1); | ||||||||||||||||||
|
Condition0%0/3
$_[0]{"row_hashes"} ||= $_[0]{"decoder"}->decode(${$_[0]{"raw_data"};}, 1)
MC/DC0%0/2
$_[0]{"row_hashes"} ||= $_[0]{"decoder"}->decode(${$_[0]{"raw_data"};}, 1)
$_[0]{"row_hashes"}
$_[0]{"decoder"}->decode(${$_[0]{"raw_data"};}, 1)
Truth table0%0/3
A ||= B
A= $_[0]{"row_hashes"}B= $_[0]{"decoder"}->decode(${$_[0]{"raw_data"};}, 1)
| |||||||||||||||||||||
| 27 | } | ||||||||||||||||||||
| 28 | |||||||||||||||||||||
| 29 | |||||||||||||||||||||
| 30 | 0 | ▶ | sub column_names { | ||||||||||||||||||
|
Subroutine
column_names: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||||||||||
| 31 | $_[0]{decoder}->column_names | ||||||||||||||||||||
| 32 | 0 | } | |||||||||||||||||||
| 33 | |||||||||||||||||||||
| 34 | |||||||||||||||||||||
| 35 | 0 | ▶ | sub next_page { | ||||||||||||||||||
|
Subroutine
next_page: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||||||||||
| 36 | $_[0]{next_page} | ||||||||||||||||||||
| 37 | 0 | } | |||||||||||||||||||
| 38 | |||||||||||||||||||||
| 39 | |||||||||||||||||||||
| 40 | 13 | 1; | |||||||||||||||||||
| 41 | |||||||||||||||||||||
| 42 | __END__ | ||||||||||||||||||||