DOAP/ChangeSet.pm

filter: Statementstmt 100% 27 / 27 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 6 / 6 Podpod n/a totaltotal 100% 33 / 33 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« DOAP/Change/Packaging.pm ↑ Summary DOAP/Issue.pm »
1 package RDF::DOAP::ChangeSet;
2  
3 2 our $AUTHORITY = 'cpan:TOBYINK';
4 2 our $VERSION = '0.105';
5  
6 2 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
7 2 extends qw(RDF::DOAP::Resource);
8  
9 2 ▶use RDF::DOAP::ChangeSet;
Subroutine BEGIN: called CC=1 SCAR=0.0
10 2 ▶use RDF::DOAP::Change;
Subroutine BEGIN: called CC=1 SCAR=0.0
11 2 ▶use RDF::DOAP::Types -types;
Subroutine BEGIN: called CC=1 SCAR=0.0
12 2 ▶use RDF::DOAP::Utils -traits;
Subroutine BEGIN: called CC=1 SCAR=0.0
13  
14 2 ▶use RDF::Trine::Namespace qw(rdf rdfs owl xsd);
Subroutine BEGIN: called CC=1 SCAR=0.0
15 2 my $doap = 'RDF::Trine::Namespace'->new('http://usefulinc.com/ns/doap#');
16 2 my $dc = 'RDF::Trine::Namespace'->new('http://purl.org/dc/terms/');
17 2 my $dcs = 'RDF::Trine::Namespace'->new('http://ontologi.es/doap-changeset#');
18  
19 2 has items => (
20 traits => [ WithURI ],
21 is => 'ro',
22 isa => ArrayRef[Change],
23 coerce => 1,
24 uri => $dcs->item,
25 multi => 1,
26 );
27  
28 2 has versus => (
29 traits => [ WithURI ],
30 is => 'ro',
31 isa => Version,
32 coerce => 1,
33 uri => $dcs->versus,
34 predicate => 'has_versus',
35 );
36  
37 2 1;
« DOAP/Change/Packaging.pm ↑ Summary DOAP/Issue.pm »