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 | 782 | use strict; | |||
1 | 3 | ||||||
1 | 35 | ||||||
4 | 1 | 1 | 6 | use warnings; | |||
1 | 2 | ||||||
1 | 35 | ||||||
5 | |||||||
6 | 1 | 1 | 6 | use parent 'DBIx::Class::ResultSet'; | |||
1 | 3 | ||||||
1 | 7 | ||||||
7 | |||||||
8 | 1 | 1 | 105 | use Try::Tiny; | |||
1 | 3 | ||||||
1 | 192 | ||||||
9 | |||||||
10 | sub version_storage_is_installed { | ||||||
11 | 3 | 3 | 0 | 168867 | my $self = shift; | ||
12 | 3 | 1 | 161 | try { $self->count; 1 } catch { undef } | |||
2 | 7116 | ||||||
1 | 13274 | ||||||
13 | 3 | 25 | } | ||||
14 | |||||||
15 | 1; |