Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

ChrisDolan (2855)

ChrisDolan
  (email not shown publicly)
http://www.chrisdolan.net/

Journal of ChrisDolan (2855)

Sunday September 17, 2006
04:21 PM

Perl::Critic informal poll

[ #31031 ]

I'm curious how many use.perl.org readers are using Perl::Critic, a static source code analyzer. So, here's a very unscientific poll. Please respond by commenting below. You may select more than one response.

1) Using Perl:Critic
  o I am unfamiliar with Perl::Critic
  o I've been meaning to try Perl::Critic
  o I've tried Perl::Critic, but it's too hard
  o I've tried Perl::Critic, but it's too strict
  o I use Perl::Critic on some of my code
  o I use Perl::Critic on all of my code

2) Perl::Critic policies
  o I use a small subset of the Perl::Critic policies
  o I use most of the Perl::Critic policies
  o I use all of the Perl::Critic policies
  o I use 3rd party policies from CPAN
  o I use home-grown policies

3) Configuration
  o I use the defaults
  o I use bin/perlcritic cmdline options
  o I use a global $HOME/.perlcriticrc
  o I use a per-module perlcriticrc
  o I configure Perl::Critic programmatically

4) Wrapper modules
  o I use Test::Perl::Critic
  o I use criticism.pm
  o I use perlcritic.com
  o None of the above

Thanks! This is just for my curiosity, but if there's enough of a response to get a consensus, I'll try to use this to drive future development.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • I use Perl::Critic on some of my code (Handel dist)

    I use most of the Perl::Critic policies (all on by default, then disable things I don't agree with)

    I use a per-module perlcriticrc. (custom rc file for the dist)

    I use Test::Perl::Critic.
  • 1) Using Perl:Critic
        o I use Perl::Critic on some of my code

    2) Perl::Critic policies
        o I use a small subset of the Perl::Critic policies

    3) Configuration
        o I use a global $HOME/.perlcriticrc

    4) Wrapper modules
        o None of the above

    I like most of it, but my pet peeves are double sigils and postfix if/unless :)
  • 1) Using Perl::Critic
      o I'm familiar with Perl::Critic but haven't felt the need to try it

    Sorry -- I think it's an amazing tool, but in the midst of other things, it hasn't made it onto my list of things to try out in the spare bits of time I have.

  • I am adding Test::Perl::Critic to my modules one at a time and fix code. As someone suggested on perl-qa I think, I started with level 5 and once all the code passes that level I move it to level 4.

    I try to recommend it and use it at clients as well but in most cases just including 'use strict' would do wonders to their code. In such cases Perl::Critic is an overkill.

    --
  • 1) Using Perl:Critic
    o I use Perl::Critic on all my new code (ever since Sep. 2005) and slowly porting older code
    2) Perl::Critic policies
    o I use all of the Perl::Critic policies (except Miscellanea::RequireRcsKeywords)
    o I use home-grown policies (obviously, a replacement for Miscellanea::RequireRcsKeywords)
    3) Configuration
    o I use bin/perlcritic cmdline options (always -1)
    o I use a global $HOME/.perlcriticrc (severity changes)
    o I use a per-module perlcriticrc (disabling Miscellanea::Requi
  •   1) Using Perl::Critic
         o) I'm familiar with Perl::Critic and don't see a reason to use it.
    • Fair enough! I should have added that option in the original poll. I guess my bias was showing through. :-)
  • 1) Using Perl:Critic
        o I use Perl::Critic on some of my code

    2) Perl::Critic policies
        o I use most of the Perl::Critic policies

    3) Configuration
        o I use a global $HOME/.perlcriticrc
        o I use a per-module perlcriticrc

    4) Wrapper modules
        o I use Test::Perl::Critic