line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
|
2
|
|
|
|
|
|
|
our $AUTHORITY = 'cpan:TOBYINK'; |
3
|
|
|
|
|
|
|
our $VERSION = '0.105'; |
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
use Moose; |
6
|
2
|
|
|
2
|
|
13
|
extends qw(RDF::DOAP::Resource); |
|
2
|
|
|
|
|
5
|
|
|
2
|
|
|
|
|
14
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
use RDF::DOAP::Types -types; |
9
|
2
|
|
|
2
|
|
11563
|
use RDF::DOAP::Utils -traits; |
|
2
|
|
|
|
|
5
|
|
|
2
|
|
|
|
|
17
|
|
10
|
2
|
|
|
2
|
|
10470
|
|
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
13
|
|
11
|
|
|
|
|
|
|
use RDF::Trine::Namespace qw(rdf rdfs owl xsd); |
12
|
2
|
|
|
2
|
|
583
|
my $doap = 'RDF::Trine::Namespace'->new('http://usefulinc.com/ns/doap#'); |
|
2
|
|
|
|
|
10
|
|
|
2
|
|
|
|
|
23
|
|
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
has $_ => ( |
15
|
|
|
|
|
|
|
traits => [ WithURI ], |
16
|
|
|
|
|
|
|
is => 'ro', |
17
|
|
|
|
|
|
|
isa => Identifier, |
18
|
|
|
|
|
|
|
coerce => 1, |
19
|
|
|
|
|
|
|
uri => do { (my $x = $_) =~ s/_/-/g; $doap->$x }, |
20
|
|
|
|
|
|
|
) for qw( browse location ); |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
has $_ => ( |
23
|
|
|
|
|
|
|
traits => [ WithURI ], |
24
|
|
|
|
|
|
|
is => 'ro', |
25
|
|
|
|
|
|
|
isa => String, |
26
|
|
|
|
|
|
|
coerce => 1, |
27
|
|
|
|
|
|
|
uri => do { (my $x = $_) =~ s/_/-/g; $doap->$x }, |
28
|
|
|
|
|
|
|
) for qw( anon_root module ); |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
1; |