File Coverage

blib/lib/Test2/Tools/PerlTidy/Diff.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1             package Test2::Tools::PerlTidy::Diff;
2              
3 1     1   8110 use strict;
  1         3  
  1         46  
4 1     1   6 use warnings;
  1         3  
  1         107  
5              
6             # ABSTRACT: Perl tidiness class for tracking the tidiness of Perl files.
7             our $VERSION = '0.01'; # VERSION
8              
9             require Test2::Tools::PerlTidy;
10              
11             1;
12              
13             __END__
14              
15             =pod
16              
17             =encoding UTF-8
18              
19             =head1 NAME
20              
21             Test2::Tools::PerlTidy::Diff - Perl tidiness class for tracking the tidiness of Perl files.
22              
23             =head1 VERSION
24              
25             version 0.01
26              
27             =head1 PROPERTIES
28              
29             =head2 code_to_tidy
30              
31             =head2 diff
32              
33             =head2 errorfile
34              
35             =head2 file_to_tidy
36              
37             =head2 is_tidy
38              
39             =head2 logfile
40              
41             =head2 perltidyrc
42              
43             =head2 stderr
44              
45             =head2 tidied_code
46              
47             =head1 CAVEATS
48              
49             This class is a new and experimental part of L<Test2::Tools::PerlTidy>,
50             and as such the interface may change.
51              
52             =head1 AUTHOR
53              
54             Graham Ollis <plicease@cpan.org>
55              
56             =head1 COPYRIGHT AND LICENSE
57              
58             This software is copyright (c) 2018-2024 by Graham Ollis.
59              
60             This is free software; you can redistribute it and/or modify it under
61             the same terms as the Perl 5 programming language system itself.
62              
63             =cut