Debian Codegraph @

data/perl

raw
1 [perl-syntax-check]
2 apt = perl
3 files = *.pl *.pm
4 types = text/x-perl
5 command = perl -wc {file} | grep -v ' syntax OK$'
6 comment = Dangerous because it executes code in use statements and BEGIN, UNITCHECK and CHECK blocks
7 flags = dangerous fixme fixme-silent
8
9 [perl-b-lint]
10 apt = perl, libb-lint-perl
11 files = *.pl *.pm
12 types = text/x-perl
13 prereq = perl -t -MO=Lint /dev/null
14 command = perl -MO=Lint {file} | grep -v ' syntax OK$'
15 comment = Dangerous because it executes code in use statements and BEGIN, UNITCHECK and CHECK blocks
16 flags = dangerous fixme fixme-silent
17
18 [perlcritic]
19 flags = perl-bug-588017 fixme fixme-silent
20 apt = libperl-critic-perl
21 # TODO: update it before releases:
22 # see _is_perl in Perl::Critic::Utils
23 files = *.pl *.pm *.t
24 types = text/x-perl
25 comment =
26 May create/overwrite a perltidy.ERR file in the current dir (#834213)
27 To see full descriptions of each issue, add %d to the --verbose option value
28 command = perlcritic --noprofile -1 --verbose '%f:%l:%c: %m. %e. Near `%r` (Severity: %s)\n' . 2>&1 | grep -vF 'No perl files were found.'
29
30 [perllib]
31 command = grep -nHrw PERLLIB .
32
33 [podlint]
34 apt = libpod-pom-perl
35 files = *.pl *.pm
36 types = text/x-perl
37 command = podlint {file}
38
39 [podchecker]
40 apt = perl
41 files = *.pl *.pm *.pod
42 types = text/x-perl
43 command = podchecker {files}
44 flags = fixme fixme-silent
45
46 [cpants-lint]
47 flags = todo perl-bug-588017
48 apt = cpants-lint
49 comment = It is not able to use the current dir instead of tarball (#823299)
50 command = cpants_lint
51
52 # TODO: pkg-perl-tools dpt-packagecheck check-build
53 # TODO: perltidy
54 # TODO: libperl-metrics-simple-perl
55 # TODO: libtest-kwalitee-perl kwalitee-metrics
56 # TODO: libtest-tabs-perl
57 # TODO: shell metacharacter injection: backticks system open open2 open3
58
59 # vim:ft=dosini