File Coverage

blib/lib/App/Sqitch/Plan/Blank.pm
Criterion Covered Total %
statement 12 12 100.0
branch n/a
condition n/a
subroutine 5 5 100.0
pod 1 1 100.0
total 18 18 100.0


line stmt bran cond sub pod time code
1              
2             use 5.010;
3 50     50   974 use utf8;
  50         168  
4 50     50   270 use namespace::autoclean;
  50         117  
  50         286  
5 50     50   1077 use Moo;
  50         140  
  50         342  
6 50     50   3129 extends 'App::Sqitch::Plan::Line';
  50         111  
  50         308  
7              
8             our $VERSION = 'v1.3.0'; # VERSION
9              
10             has '+name' => ( default => '', required => 0 );
11              
12              
13 88     88 1 1295 1;
14              
15              
16             =head1 Name
17              
18             App::Sqitch::Plan::Blank - Sqitch deployment plan blank line
19              
20             =head1 Synopsis
21              
22             my $plan = App::Sqitch::Plan->new( sqitch => $sqitch );
23             for my $line ($plan->lines) {
24             say $line->as_string;
25             }
26              
27             =head1 Description
28              
29             An App::Sqitch::Plan::Blank represents a blank line or comment-only line in
30             the plan file. See L<App::Sqitch::Plan::Line> for its interface. The only
31             difference is that the C<name> is always an empty string.
32              
33             =head1 Author
34              
35             David E. Wheeler <david@justatheory.com>
36              
37             =head1 License
38              
39             Copyright (c) 2012-2022 iovation Inc., David E. Wheeler
40              
41             Permission is hereby granted, free of charge, to any person obtaining a copy
42             of this software and associated documentation files (the "Software"), to deal
43             in the Software without restriction, including without limitation the rights
44             to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
45             copies of the Software, and to permit persons to whom the Software is
46             furnished to do so, subject to the following conditions:
47              
48             The above copyright notice and this permission notice shall be included in all
49             copies or substantial portions of the Software.
50              
51             THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
52             IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
53             FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
54             AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
55             LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
56             OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
57             SOFTWARE.
58              
59             =cut