Wikibase/Datatype/Value/Item.pm

filter: Statementstmt 100% 19 / 19 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 6 / 6 Podpod 50.0% 1 / 2 totaltotal 96.3% 26 / 27 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Wikibase/Datatype/Value.pm ↑ Summary Wikibase/Datatype/Value/Lexeme.pm »
1 package Wikibase::Datatype::Value::Item;
2  
3 158 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 158 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 158 ▶use Mo qw(build);
Subroutine BEGIN: called CC=1 SCAR=0.0
7 158 ▶use Wikibase::Datatype::Utils qw(check_entity);
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 158 our $VERSION = 0.40;
10  
11 158 extends 'Wikibase::Datatype::Value';
12  
13 1 ▶sub type {
Subroutine type: called CC=1 SCAR=0.0
Pod documented
14 1 return 'item';
15 }
16  
17 144 ▶sub BUILD {
Subroutine BUILD: called CC=1 SCAR=0.0
Pod undocumented
18 144 my $self = shift;
19  
20 144 check_entity($self, 'value');
21  
22 143 return;
23 }
24  
25 158 1;
26  
27 __END__
« Wikibase/Datatype/Value.pm ↑ Summary Wikibase/Datatype/Value/Lexeme.pm »