File Coverage

blib/lib/DBIx/Class/DeploymentHandler/VersionStorage/WithSchema/VersionResultSet.pm
Criterion Covered Total %
statement 17 17 100.0
branch n/a
condition n/a
subroutine 6 6 100.0
pod 0 1 0.0
total 23 24 95.8


line stmt bran cond sub pod time code
1             package DBIx::Class::DeploymentHandler::VersionStorage::WithSchema::VersionResultSet;
2              
3 1     1   809 use strict;
  1         3  
  1         31  
4 1     1   6 use warnings;
  1         2  
  1         33  
5              
6 1     1   5 use parent 'DBIx::Class::ResultSet';
  1         3  
  1         8  
7              
8 1     1   75 use Try::Tiny;
  1         3  
  1         149  
9              
10             sub version_storage_is_installed {
11 3     3 0 50 my $self = shift;
12 3     1   181 try { $self->count; 1 } catch { undef }
  2         7882  
  1         13967  
13 3         30 }
14              
15             1;