JSONObject/Meta/Trait.pm

filter: Statementstmt 100% 18 / 18 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod n/a totaltotal 100% 23 / 23 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« JSONObject.pm ↑ Summary
1 #!/usr/bin/perl
2  
3 package MooseX::Role::JSONObject::Meta::Trait;
4  
5 1 ▶use v5.012;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
7 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 1 ▶use version; our $VERSION = version->declare("v0.1.0");
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 1 ▶use Moose::Role;
Subroutine BEGIN: called CC=1 SCAR=0.0
12  
13 1 Moose::Util::meta_attribute_alias('JSONAttribute');
14  
15 1 has json_attr => (
16 is => 'rw',
17 isa => 'Str',
18 predicate => 'has_json_attr',
19 );
20  
21 1 1;
22 __END__
« JSONObject.pm ↑ Summary