blib/lib/DBIx/Changeset/App/Command/version.pm

filter: Statementstmt 85.0% 17 / 20 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 85.7% 6 / 7 Podpod 100% 1 / 1 totaltotal 85.7% 24 / 28 CC 1 SCAR 1.3
CC
1
Cov
85%
run
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.1
« blib/lib/DBIx/Changeset/Loader.pm ↑ Summary bin/dbix_changeset.pl »
1 package DBIx::Changeset::App::Command::version;
2  
3 3 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 3 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 3 ▶use base qw/DBIx::Changeset::App::BaseCommand/;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 3 ▶use DBIx::Changeset;
Subroutine BEGIN: called CC=1 SCAR=0.0
9  
10 3 ▶use vars qw{$VERSION};
Subroutine BEGIN: called CC=1 SCAR=0.0
11 3 ▶BEGIN {
Subroutine BEGIN: called CC=1 SCAR=0.0
12 3 $VERSION = '1.11';
13 }
14  
15 =head1 NAME
16  
17 DBIx::Changeset::App::Command::version - display version information
18  
19 =head1 SYNOPSIS
20  
21 =head1 METHODS
22  
23 =head2 run
24  
25 =cut
26 0 ▶sub run {
Subroutine run: not called CC=1 SCAR=6.9
Pod documented
27 0 my ($self, $opt, $args) = @_;
28
29 0 printf ("Using DBIx::ChangeSet %s\n\n", $DBIx::Changeset::VERSION);
30  
31 0 return;
32 }
33  
34 =head1 COPYRIGHT & LICENSE
35  
36 Copyright 2004-2008 Grox Pty Ltd.
37  
38 This program is free software; you can redistribute it and/or modify it
39 under the same terms as Perl itself.
40  
41 The full text of the license can be found in the LICENSE file included with this module.
42  
43 =cut
44  
45 3 1; # End of DBIx::Changeset
« blib/lib/DBIx/Changeset/Loader.pm ↑ Summary bin/dbix_changeset.pl »