Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 03-May-2022 | - | ||||
author/ | H | 03-May-2022 | - | 153 | 112 | |
eg/ | H | 03-May-2022 | - | 37 | 24 | |
lib/ | H | 03-May-2022 | - | 15,856 | 13,392 | |
t/ | H | 03-May-2022 | - | 34,333 | 29,516 | |
Build.PL | H A D | 27-Sep-2016 | 301 | 13 | 4 | |
Changes | H A D | 27-Sep-2016 | 861 | 47 | 25 | |
LICENSE | H A D | 27-Sep-2016 | 18 KiB | 379 | 292 | |
MANIFEST | H A D | 27-Sep-2016 | 16.4 KiB | 307 | 307 | |
META.json | H A D | 27-Sep-2016 | 25.3 KiB | 536 | 535 | |
META.yml | H A D | 27-Sep-2016 | 20.1 KiB | 352 | 351 | |
README.md | H A D | 27-Sep-2016 | 1.7 KiB | 53 | 30 | |
cpanfile | H A D | 27-Sep-2016 | 851 | 37 | 32 | |
minil.toml | H A D | 27-Sep-2016 | 360 | 13 | 10 |
README.md
1[![Build Status](https://travis-ci.org/moznion/Perl-Lint.svg?branch=master)](https://travis-ci.org/moznion/Perl-Lint) [![Coverage Status](https://img.shields.io/coveralls/moznion/Perl-Lint/master.svg?style=flat)](https://coveralls.io/r/moznion/Perl-Lint?branch=master) 2# NAME 3 4Perl::Lint - Yet Another Perl Source Code Linter 5 6# SYNOPSIS 7 8 use Perl::Lint; 9 10 my $linter = Perl::Lint->new; 11 my $target_files = [qw(foo/bar.pl buz.pm)]; 12 my $violations = $linter->lint($target_files); 13 14# DESCRIPTION 15 16Perl::Lint is the yet another source code linter for perl. 17 18# AIMS 19 20Development of this module aims to create a fast and flexible static analyzer for Perl5 that has compatibility with Perl::Critic 21 22Please see also [http://news.perlfoundation.org/2014/03/grant-proposal-perllint---yet.html](http://news.perlfoundation.org/2014/03/grant-proposal-perllint---yet.html). 23 24# METHODS 25 26- `$linter->lint($target_files:SCALAR or ARRAYREF, $args:HASHREF)` 27 28 `lint` checks the violations of target files. It can export. 29 On default, this function checks the all of policies that are in `Perl::Lint::Policy::*`. 30 31# PERFORMANCE 32 33Benchmark script: [https://github.com/moznion/Perl-Lint/blob/master/author/benchmark\_lint\_vs\_critic.pl](https://github.com/moznion/Perl-Lint/blob/master/author/benchmark_lint_vs_critic.pl). 34 35 Rate Perl::Critic Perl::Lint 36 Perl::Critic 20.6/s -- -78% 37 Perl::Lint 92.0/s 348% -- 38 39# SEE ALSO 40 41[Perl::Critic](https://metacpan.org/pod/Perl::Critic) 42 43# LICENSE 44 45Copyright (C) moznion. 46 47This library is free software; you can redistribute it and/or modify 48it under the same terms as Perl itself. 49 50# AUTHOR 51 52moznion <moznion@gmail.com> 53