Test/Shared/Fixture/Wikibase/Datatype/Property/Wikidata/InstanceOf.pm

filter: Statementstmt 100% 21 / 21 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 6 / 6 Podpod 100% 1 / 1 totaltotal 100% 28 / 28 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Test/Shared/Fixture/Wikibase/Datatype/MediainfoStatement/Commons/Depicts/Human.pm ↑ Summary Test/Shared/Fixture/Wikibase/Datatype/Reference/Wikidata/ReferenceURL.pm »
1 package Test::Shared::Fixture::Wikibase::Datatype::Property::Wikidata::InstanceOf;
2  
3 3 ▶use base qw(Wikibase::Datatype::Property);
Subroutine BEGIN: called CC=1 SCAR=0.0
4 3 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 3 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 3 ▶use Test::Shared::Fixture::Wikibase::Datatype::Statement::Wikidata::InstanceOf::WikidataProperty;
Subroutine BEGIN: called CC=1 SCAR=0.0
8 3 ▶use Wikibase::Datatype::Value::Monolingual;
Subroutine BEGIN: called CC=1 SCAR=0.0
9  
10 3 our $VERSION = 0.40;
11  
12 1 ▶sub new {
Subroutine new: called CC=1 SCAR=0.0
Pod documented
13 1 my $class = shift;
14  
15 1 my @params = (
16 'aliases' => [
17 Wikibase::Datatype::Value::Monolingual->new(
18 'language' => 'en',
19 'value' => 'is a',
20 ),
21 Wikibase::Datatype::Value::Monolingual->new(
22 'language' => 'en',
23 'value' => 'is an',
24 ),
25 ],
26 'datatype' => 'wikibase-item',
27 'descriptions' => [
28 Wikibase::Datatype::Value::Monolingual->new(
29 'language' => 'en',
30 'value' => 'that class of which this subject is a particular example and member',
31 ),
32 ],
33 'id' => 'P31',
34 'labels' => [
35 Wikibase::Datatype::Value::Monolingual->new(
36 'language' => 'en',
37 'value' => 'instance of',
38 ),
39 ],
40 'lastrevid' => 1645333097,
41 'modified' => '2022-06-24T13:05:10Z',
42 'page_id' => 3918489,
43 'statements' => [
44 Test::Shared::Fixture::Wikibase::Datatype::Statement::Wikidata::InstanceOf::WikidataProperty->new,
45 ],
46 'title' => 'Property:P31',
47 );
48  
49 1 my $self = $class->SUPER::new(@params);
50  
51 1 return $self;
52 }
53  
54 3 1;
55  
56 __END__
« Test/Shared/Fixture/Wikibase/Datatype/MediainfoStatement/Commons/Depicts/Human.pm ↑ Summary Test/Shared/Fixture/Wikibase/Datatype/Reference/Wikidata/ReferenceURL.pm »