File Coverage

blib/lib/Config/XrmDatabase/Types.pm
Criterion Covered Total %
statement 17 17 100.0
branch n/a
condition n/a
subroutine 6 6 100.0
pod n/a
total 23 23 100.0


line stmt bran cond sub pod time code
1             package Config::XrmDatabase::Types;
2              
3             # ABSTRACT: Types for Config::XrmDatabase;
4              
5 10     10   195092 use v5.26;
  10         39  
6 10     10   75 use warnings;
  10         22  
  10         849  
7              
8             our $VERSION = '0.08';
9              
10 10     10   6427 use Type::Utils -all;
  10         664560  
  10         161  
11 10     10   42273 use Types::Standard qw( Enum CodeRef );
  10         930358  
  10         230  
12 10     10   34694 use Type::Library -base, -declare => qw( QueryReturnValue OnQueryFailure );
  10         56  
  10         59  
13              
14 10     10   7546 use namespace::clean;
  10         21235  
  10         97  
15              
16             declare QueryReturnValue, as Enum [ \1, 'value', 'reference', 'all' ];
17              
18             declare OnQueryFailure, as Enum( [ \1, 'undef', 'throw' ] ) | CodeRef;
19              
20             #
21             # This file is part of Config-XrmDatabase
22             #
23             # This software is Copyright (c) 2021 by Smithsonian Astrophysical Observatory.
24             #
25             # This is free software, licensed under:
26             #
27             # The GNU General Public License, Version 3, June 2007
28             #
29              
30             1;
31              
32             __END__