Wikibase/Datatype/Value/Lexeme.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/Item.pm ↑ Summary Wikibase/Datatype/Value/Property.pm »
1 package Wikibase::Datatype::Value::Lexeme;
2  
3 17 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 17 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 17 ▶use Mo qw(build);
Subroutine BEGIN: called CC=1 SCAR=0.0
7 17 ▶use Wikibase::Datatype::Utils qw(check_lexeme);
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 17 our $VERSION = 0.40;
10  
11 17 extends 'Wikibase::Datatype::Value';
12  
13 1 ▶sub type {
Subroutine type: called CC=1 SCAR=0.0
Pod documented
14 1 return 'lexeme';
15 }
16  
17 8 ▶sub BUILD {
Subroutine BUILD: called CC=1 SCAR=0.0
Pod undocumented
18 8 my $self = shift;
19  
20 8 check_lexeme($self, 'value');
21  
22 7 return;
23 }
24  
25 17 1;
26  
27 __END__
« Wikibase/Datatype/Value/Item.pm ↑ Summary Wikibase/Datatype/Value/Property.pm »