File Coverage

blib/lib/Perl/Critic/OTRS.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 Perl::Critic::OTRS;
2              
3 1     1   15096 use warnings;
  1         1  
  1         29  
4 1     1   3 use strict;
  1         2  
  1         55  
5              
6             # ABSTRACT: A collection of handy Perl::Critic policies
7              
8             our $VERSION = '0.07';
9              
10             =head1 SYNOPSIS
11              
12             Perl::Critic::OTRS is a collection of Perl::Critic policies that
13             will help to program in the OTRS way of programming
14              
15             =head1 DESCRIPTION
16              
17             The rules included with the Perl::Critic::OTRS group include:
18              
19             =head2 L<Perl::Critic::Policy::OTRS::ProhibitFetchrowHashref>
20              
21             Kernel::System::DB provides a method called C<FetchrowHashref>, but this method
22             is deprecated as this relies on C<DBI>'s fetchrow_hashref. Some users have
23             reported problems with it on some database systems.
24              
25             =head2 L<Perl::Critic::Policy::OTRS::ProhibitDumper>
26              
27             =head2 L<Perl::Critic::Policy::OTRS::ProhibitLocaltime>
28              
29             =head2 L<Perl::Critic::Policy::OTRS::ProhibitLowPrecedenceOps>
30              
31             =head2 L<Perl::Critic::Policy::OTRS::ProhibitOpen>
32              
33             =head2 L<Perl::Critic::Policy::OTRS::ProhibitPushISA>
34              
35             =head2 L<Perl::Critic::Policy::OTRS::ProhibitRequire>
36              
37             =head2 L<Perl::Critic::Policy::OTRS::ProhibitSomeCoreFunctions>
38              
39             =head2 L<Perl::Critic::Policy::OTRS::RequireCamelCase>
40              
41             =head2 L<Perl::Critic::Policy::OTRS::RequireParensWithMethods>
42            
43             =head2 L<Perl::Critic::Policy::OTRS::RequireTrueReturnValueForModules>
44              
45             =head1 WHY A COLLECTION OF OTRS POLICIES?
46              
47             The policies bundled in this distributions represent the coding guideline
48             provided by the OTRS project. It's always a good idea to program the way the
49             project itself does.
50              
51             So every programmer who is familiar with the OTRS codebase can read and follow
52             your code.
53              
54             =head1 ACKNOWLEDGMENTS
55              
56             Thanks to
57              
58             =over 4
59              
60             =item * L<Martin Edenhofer|https://github.com/martini> for creating a great tool like OTRS
61              
62             =item * L<Martin Gruner|https://github.com/mgruner> for improvements for this module
63              
64             =item * L<Michiel Beijen|https://github.com/mbeijen> for improvements for this module
65              
66             =item * L<Ramanan Balakrishnan|https://github.com/ramananbalakrishnan> for fixing test failures
67              
68             =back
69              
70             =cut
71              
72             1; # End of Perl::Critic::OTRS