File Coverage

blib/lib/Test/Shared/Fixture/Wikibase/Datatype/Statement/Wikidata/InstanceOf/Human.pm
Criterion Covered Total %
statement 19 19 100.0
branch n/a
condition n/a
subroutine 6 6 100.0
pod 1 1 100.0
total 26 26 100.0


line stmt bran cond sub pod time code
1             package Test::Shared::Fixture::Wikibase::Datatype::Statement::Wikidata::InstanceOf::Human;
2              
3 7     7   450985 use base qw(Wikibase::Datatype::Statement);
  7         60  
  7         2184  
4 7     7   51 use strict;
  7         18  
  7         148  
5 7     7   33 use warnings;
  7         17  
  7         168  
6              
7 7     7   3587 use Test::Shared::Fixture::Wikibase::Datatype::Reference::Wikidata::VIAF;
  7         25  
  7         257  
8 7     7   3468 use Test::Shared::Fixture::Wikibase::Datatype::Snak::Wikidata::InstanceOf::Human;
  7         26  
  7         730  
9              
10             our $VERSION = 0.29;
11              
12             sub new {
13 3     3 1 1376 my $class = shift;
14              
15 3         48 my @params = (
16             'snak' => Test::Shared::Fixture::Wikibase::Datatype::Snak::Wikidata::InstanceOf::Human->new,
17             'references' => [
18             Test::Shared::Fixture::Wikibase::Datatype::Reference::Wikidata::VIAF->new,
19             ],
20             );
21              
22 3         54 my $self = $class->SUPER::new(@params);
23              
24 3         38 return $self;
25             }
26              
27             1;
28              
29             __END__