File Coverage

blib/lib/JSON/Schema/Types.pm
Criterion Covered Total %
statement 38 46 82.6
branch n/a
condition n/a
subroutine 13 15 86.6
pod 2 2 100.0
total 53 63 84.1


line stmt bran cond sub pod time code
1 1     1   183727 use strict;
  1         2  
  1         32  
2 1     1   5 use warnings;
  1         1  
  1         70  
3             package JSON::Schema::Types; # git description: f55a51a
4             # vim: set ts=8 sts=2 sw=2 tw=100 et :
5             # ABSTRACT: Create Type::Tiny types defined by JSON Schemas
6             # KEYWORDS: JSON Schema types
7              
8             our $VERSION = '0.001';
9              
10 1     1   17 use 5.020;
  1         2  
11 1     1   5 use strictures 2;
  1         9  
  1         32  
12 1     1   405 use stable 0.031 'postderef';
  1         15  
  1         7  
13 1     1   272 use experimental 'signatures';
  1         2  
  1         2  
14 1     1   44 no autovivification warn => qw(fetch store exists delete);
  1         2  
  1         7  
15 1     1   71 use if "$]" >= 5.022, experimental => 're_strict';
  1         2  
  1         20  
16 1     1   61 no if "$]" >= 5.031009, feature => 'indirect';
  1         3  
  1         57  
17 1     1   4 no if "$]" >= 5.033001, feature => 'multidimensional';
  1         1  
  1         44  
18 1     1   3 no if "$]" >= 5.033006, feature => 'bareword_filehandles';
  1         1  
  1         41  
19 1     1   4 no if "$]" >= 5.041009, feature => 'smartmatch';
  1         1  
  1         34  
20 1     1   3 no feature 'switch';
  1         1  
  1         106  
21              
22 0     0 1   sub new ($class) {
  0            
  0            
23 0           die 'not yet implemented';
24             }
25              
26 0     0 1   sub json_schema_type ($class) {
  0            
  0            
27 0           die 'not yet implemented';
28             }
29              
30             1;
31              
32             __END__