请输入您要查询的百科知识:

 

词条 Perl::Critic
释义

  1. External links

{{Infobox software
| name = Perl::Critic
| logo =
| logo alt =
| logo caption =
| screenshot =
| screenshot alt =
| caption =
| collapsible =
| author =
| developer =
| released =
| discontinued =
| ver layout =
| latest release version =
| latest release date =
| latest preview version =
| latest preview date =
| status =
| programming language =
| operating system =
| platform =
| size =
| language =
| language count =
| language footnote =
| genre = static code analysis system for the Perl programming language
| license =
| alexa =
| website = http://perlcritic.com
| repo = https://github.com/Perl-Critic/Perl-Critic/
| standard =
| AsOf =
}}

Perl::Critic is a static code analysis system for the Perl programming language. Perl::Critic is available as a source-code distribution on CPAN. It comes with a commandline tool, perlcritic, which can check Perl source code files and report on the code quality therein. Perl::Critic has an extensible architecture that allows the programmer to choose from many "policies" which enforce different Perl programming styles and tastes. The default policy is largely based on the recommendations in the book Perl Best Practices by Damian Conway.

Perl::Critic is based on the [https://metacpan.org/module/PPI PPI] parsing library. For safety, PPI does not execute any code while parsing, unlike the Perl compiler, so it is a close approximation of the real parser rather than an exact representation.

Some new alternatives include Perl::Lint and B::Lint.

External links

  • Homepage
  • Perl::Critic on CPAN
  • [https://github.com/Perl-Critic/Perl-Critic/ Source code repository]
  • Perl::Lint A fork for performance
  • [https://metacpan.org/pod/Perl::Lint Perl::Lint in MetaCPAN]
  • [https://metacpan.org/pod/B::Lint B::Lint is equivalent to an extended version of the -w option of perl]

3 : Perl|Program analysis|Static program analysis

随便看

 

开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。

 

Copyright © 2023 OENC.NET All Rights Reserved
京ICP备2021023879号 更新时间:2024/11/11 14:19:55