blib/lib/AtteanX/Compatibility/Trine.pm

filter: Statementstmt 100% 23 / 23 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 10 / 10 Podpod 0.0% 0 / 6 totaltotal 84.6% 33 / 39 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
↑ Summary
1 3 ▶use 5.010001;
Subroutine BEGIN: called CC=1 SCAR=0.0
2 3 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 3 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 package AtteanX::Compatibility::Trine;
6  
7 3 our $AUTHORITY = 'cpan:KJETILK';
8 3 our $VERSION = '0.002';
9  
10 3 ▶use Attean;
Subroutine BEGIN: called CC=1 SCAR=0.0
11  
12 3 package Attean::IRI {
13 1 ▶ sub uri { return $_[0]->abs }
Subroutine uri: called CC=1 SCAR=0.0
Pod undocumented
14 }
15  
16 3 package Attean::Blank {
17 1 ▶ sub blank_identifier { return $_[0]->value }
Subroutine blank_identifier: called CC=1 SCAR=0.0
Pod undocumented
18 }
19  
20 3 package Attean::Literal {
21 1 ▶ sub has_datatype { return 1 }
Subroutine has_datatype: called CC=1 SCAR=0.0
Pod undocumented
22  
23 1 ▶ sub literal_value { return $_[0]->value }
Subroutine literal_value: called CC=1 SCAR=0.0
Pod undocumented
24  
25 1 ▶ sub literal_value_language { return $_[0]->language }
Subroutine literal_value_language: called CC=1 SCAR=0.0
Pod undocumented
26  
27 1 ▶ sub literal_datatype { return $_[0]->datatype->as_string }
Subroutine literal_datatype: called CC=1 SCAR=0.0
Pod undocumented
28 }
29  
30 3 1;
31  
32 __END__
↑ Summary