Neo4j/Types/Generic/ByteArray.pm

filter: Statementstmt 100% 22 / 22 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 7 / 7 Podpod 50.0% 1 / 2 totaltotal 96.7% 30 / 31 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Neo4j/Types/Point.pm ↑ Summary Neo4j/Types.pm »
1 2 ▶use v5.10.1;
Subroutine BEGIN: called CC=1 SCAR=0.0
2 2 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 2 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 package Neo4j::Types::Generic::ByteArray;
6 # ABSTRACT: Generic representation of a Neo4j byte array
7 2 $Neo4j::Types::Generic::ByteArray::VERSION = '2.00';
8  
9 2 ▶use parent 'Neo4j::Types::ByteArray';
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 2 ▶use Encode ();
Subroutine BEGIN: called CC=1 SCAR=0.0
12  
13  
14 2 ▶sub new {
Subroutine new: called CC=1 SCAR=0.0
Pod undocumented
15 # uncoverable pod - see Generic.pod
16 2 my ($class, $bytes) = @_;
17
18 2 $bytes .= '';
19 2 Encode::_utf8_off $bytes;
20 2 return bless \$bytes, __PACKAGE__;
21 }
22  
23  
24 3 ▶sub as_string { ${$_[0]} }
Subroutine as_string: called CC=1 SCAR=0.0
Pod documented
25  
26  
27 2 1;
« Neo4j/Types/Point.pm ↑ Summary Neo4j/Types.pm »