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