File Coverage

lib/UR/DataSource/RDBMS/Operator/False.pm
Criterion Covered Total %
statement 9 9 100.0
branch n/a
condition n/a
subroutine 3 3 100.0
pod 0 1 0.0
total 12 13 92.3


line stmt bran cond sub pod time code
1 1     1   663 use strict;
  1         1  
  1         32  
2 1     1   4 use warnings;
  1         1  
  1         106  
3              
4             package UR::DataSource::RDBMS::Operator::False;
5              
6             sub generate_sql_for {
7 2     2 0 6 my($class, $expr_sql, $val, $escape) = @_;
8              
9 2         5 my $sql = qq(( $expr_sql IS NULL or $expr_sql = 0 ));
10              
11 2         7 return ($sql);
12             }
13              
14             1;