File Coverage

blib/lib/Dist/Zilla/Plugin/UnusedVarsTests.pm
Criterion Covered Total %
statement 12 12 100.0
branch n/a
condition n/a
subroutine 4 4 100.0
pod n/a
total 16 16 100.0


line stmt bran cond sub pod time code
1 1     1   3422469 use strict;
  1         2  
  1         39  
2 1     1   6 use warnings;
  1         7  
  1         60  
3              
4             package Dist::Zilla::Plugin::UnusedVarsTests;
5             # ABSTRACT: (DEPRECATED) Release tests for unused variables
6              
7             our $VERSION = '2.001001';
8              
9 1     1   13 use Moose;
  1         2  
  1         9  
10 1     1   6879 use namespace::autoclean;
  1         2  
  1         8  
11             extends 'Dist::Zilla::Plugin::Test::UnusedVars';
12              
13             before register_component => sub {
14             warnings::warnif('deprecated',
15             "!!! [UnusedVarsTests] is deprecated and will be removed in a future release; please use [Test::UnusedVars].\n",
16             );
17             };
18              
19             __PACKAGE__->meta->make_immutable;
20             1;
21              
22             __END__
23              
24             =pod
25              
26             =encoding UTF-8
27              
28             =head1 NAME
29              
30             Dist::Zilla::Plugin::UnusedVarsTests - (DEPRECATED) Release tests for unused variables
31              
32             =head1 VERSION
33              
34             version 2.001001
35              
36             =head1 SYNOPSIS
37              
38             Please use L<Dist::Zilla::Plugin::Test::UnusedVars> instead.
39              
40             In your F<dist.ini>:
41              
42             [Test::UnusedVars]
43              
44             =head1 DESCRIPTION
45              
46             THIS MODULE IS DEPRECATED. Please use
47             L<Dist::Zilla::Plugin::Test::UnusedVars> instead. It may be removed at a
48             later time (but not before February 2017).
49              
50             =head1 SUPPORT
51              
52             Bugs may be submitted through L<the RT bug tracker|https://rt.cpan.org/Public/Dist/Display.html?Name=Dist-Zilla-Plugin-Test-UnusedVars>
53             (or L<bug-Dist-Zilla-Plugin-Test-UnusedVars@rt.cpan.org|mailto:bug-Dist-Zilla-Plugin-Test-UnusedVars@rt.cpan.org>).
54              
55             There is also a mailing list available for users of this distribution, at
56             L<http://dzil.org/#mailing-list>.
57              
58             There is also an irc channel available for users of this distribution, at
59             L<C<#distzilla> on C<irc.perl.org>|irc://irc.perl.org/#distzilla>.
60              
61             =head1 AUTHORS
62              
63             =over 4
64              
65             =item *
66              
67             Marcel Grünauer <marcel@cpan.org>
68              
69             =item *
70              
71             Mike Doherty <doherty@cpan.org>
72              
73             =back
74              
75             =head1 COPYRIGHT AND LICENCE
76              
77             This software is copyright (c) 2010 by Mike Doherty.
78              
79             This is free software; you can redistribute it and/or modify it under
80             the same terms as the Perl 5 programming language system itself.
81              
82             =cut