XrmDatabase/Types.pm

filter: Statementstmt 100% 21 / 21 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 6 / 6 Podpod n/a totaltotal 100% 27 / 27 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« XrmDatabase/Failure.pm ↑ Summary
1 package Config::XrmDatabase::Types;
2  
3 # ABSTRACT: Types for Config::XrmDatabase;
4  
5 10 ▶use v5.26;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 10 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 10 our $VERSION = '0.09';
9  
10 10 ▶use Type::Utils -all;
Subroutine BEGIN: called CC=1 SCAR=0.0
11 10 ▶use Types::Standard qw( Enum CodeRef );
Subroutine BEGIN: called CC=1 SCAR=0.0
12 10 ▶use Type::Library -base, -declare => qw( QueryReturnValue OnQueryFailure );
Subroutine BEGIN: called CC=1 SCAR=0.0
13  
14 10 ▶use namespace::clean;
Subroutine BEGIN: called CC=1 SCAR=0.0
15  
16 10 declare QueryReturnValue, as Enum [ \1, 'value', 'reference', 'all' ];
17  
18 10 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 10 1;
31  
32 __END__
« XrmDatabase/Failure.pm ↑ Summary