Schema.pm

filter: Statementstmt 96.4% 27 / 28 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 88.8% 8 / 9 Podpod n/a totaltotal 94.5% 35 / 37 CC 1 SCAR 0.1
CC
1
Cov
96%
__ANON__
1.1
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Schema/Zoo.pm ↑ Summary Schema/Dentist.pm »
1 3 ▶use utf8;
Subroutine BEGIN: called CC=1 SCAR=0.0
2  
3 package SemanticWeb::Schema;
4  
5 # ABSTRACT: Moo classes for http://schema.org/ classes
6  
7 3 ▶use v5.14;
Subroutine BEGIN: called CC=1 SCAR=0.0
8 3 ▶use Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
9  
10 3 ▶use List::Util qw/ first /;
Subroutine BEGIN: called CC=1 SCAR=0.0
11 3 ▶use MooX::JSON_LD 'base';
Subroutine BEGIN: called CC=1 SCAR=0.0
12 3 ▶use Ref::Util qw/ is_blessed_ref is_plain_arrayref /;
Subroutine BEGIN: called CC=1 SCAR=0.0
13 3 ▶use Types::Standard qw/ Str /;
Subroutine BEGIN: called CC=1 SCAR=0.0
14  
15 3 ▶use namespace::autoclean;
Subroutine BEGIN: called CC=1 SCAR=0.0
16  
17 3 our $VERSION = 'v23.0.0';
18  
19 # RECOMMEND PREREQ: aliased
20 # RECOMMEND PREREQ: Class::XSAccessor 1.18
21 # RECOMMEND PREREQ: Ref::Util::XS
22 # RECOMMEND PREREQ: Type::Tiny::XS
23  
24  
25 3 has id => (
26 is => 'rw',
27 isa => Str,
28 predicate => 1,
29 json_ld => '@id',
30 );
31  
32  
33 0 ▶around _build_context => sub { return 'http://schema.org/' };
Subroutine __ANON__: not called CC=1 SCAR=1.2
34  
35  
36 3 1;
37  
38 __END__
« Schema/Zoo.pm ↑ Summary Schema/Dentist.pm »