Fey/SQL/Fragment/Where/Boolean.pm

filter: Statementstmt 100% 20 / 20 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 6 / 6 Podpod 0.0% 0 / 1 totaltotal 96.3% 26 / 27 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Fey/SQL/Fragment/Where/SubgroupStart.pm ↑ Summary Fey.pm »
1 package Fey::SQL::Fragment::Where::Boolean;
2  
3 27 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 27 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 27 ▶use namespace::autoclean;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 27 our $VERSION = '0.44';
8  
9 27 ▶use Fey::Types qw( WhereBoolean );
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 27 ▶use Moose 2.1200;
Subroutine BEGIN: called CC=1 SCAR=0.0
12  
13 27 has 'comparison' => (
14 is => 'ro',
15 isa => WhereBoolean,
16 required => 1,
17 );
18  
19 11 ▶sub sql {
Subroutine sql: called CC=1 SCAR=0.0
Pod undocumented
20 11 return $_[0]->comparison();
21 }
22  
23 27 __PACKAGE__->meta()->make_immutable();
24  
25 27 1;
26  
27 # ABSTRACT: Represents an AND or OR in a WHERE clause
28  
29 __END__
« Fey/SQL/Fragment/Where/SubgroupStart.pm ↑ Summary Fey.pm »