line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
|
2
|
|
|
|
|
|
|
our $AUTHORITY = 'cpan:TOBYINK'; |
3
|
|
|
|
|
|
|
our $VERSION = '0.105'; |
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
use Moose; |
6
|
1
|
|
|
1
|
|
7
|
extends qw(RDF::DOAP::Resource); |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
8
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
use RDF::DOAP::Types -types; |
9
|
1
|
|
|
1
|
|
5659
|
use RDF::DOAP::Utils -traits; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
24
|
|
10
|
1
|
|
|
1
|
|
5539
|
|
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
11
|
|
11
|
|
|
|
|
|
|
use RDF::Trine::Namespace qw(rdf rdfs owl xsd); |
12
|
1
|
|
|
1
|
|
338
|
my $dbug = 'RDF::Trine::Namespace'->new('http://ontologi.es/doap-bugs#'); |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
11
|
|
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
has reporter => ( |
15
|
|
|
|
|
|
|
traits => [ WithURI, Gathering ], |
16
|
|
|
|
|
|
|
is => 'ro', |
17
|
|
|
|
|
|
|
isa => ArrayRef[ Person ], |
18
|
|
|
|
|
|
|
coerce => 1, |
19
|
|
|
|
|
|
|
uri => $dbug->reporter, |
20
|
|
|
|
|
|
|
multi => 1, |
21
|
|
|
|
|
|
|
gather_as => ['thanks'], |
22
|
|
|
|
|
|
|
); |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
has assignee => ( |
25
|
|
|
|
|
|
|
traits => [ WithURI, Gathering ], |
26
|
|
|
|
|
|
|
is => 'ro', |
27
|
|
|
|
|
|
|
isa => ArrayRef[ Person ], |
28
|
|
|
|
|
|
|
coerce => 1, |
29
|
|
|
|
|
|
|
uri => $dbug->assignee, |
30
|
|
|
|
|
|
|
multi => 1, |
31
|
|
|
|
|
|
|
gather_as => ['contributor'], |
32
|
|
|
|
|
|
|
); |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
has id => ( |
35
|
|
|
|
|
|
|
traits => [ WithURI ], |
36
|
|
|
|
|
|
|
is => 'ro', |
37
|
|
|
|
|
|
|
isa => String, |
38
|
|
|
|
|
|
|
coerce => 1, |
39
|
|
|
|
|
|
|
uri => $dbug->id, |
40
|
|
|
|
|
|
|
); |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
has $_ => ( |
43
|
|
|
|
|
|
|
traits => [ WithURI ], |
44
|
|
|
|
|
|
|
is => 'ro', |
45
|
|
|
|
|
|
|
isa => Identifier, |
46
|
|
|
|
|
|
|
coerce => 1, |
47
|
|
|
|
|
|
|
uri => $dbug->$_, |
48
|
|
|
|
|
|
|
) for qw( severity status ); |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
has page => ( |
51
|
|
|
|
|
|
|
traits => [ WithURI ], |
52
|
|
|
|
|
|
|
is => 'ro', |
53
|
|
|
|
|
|
|
isa => Identifier, |
54
|
|
|
|
|
|
|
coerce => 1, |
55
|
|
|
|
|
|
|
uri => $dbug->page, |
56
|
|
|
|
|
|
|
); |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
1; |