Reference

phploc(1)

PHPLOC command line interface

NAME

phploc - PHPLOC command line interface

SYNOPSIS

phploc [options] <directory>

DESCRIPTION

Options for selecting files:

--suffix <suffix> Include files with names ending in <suffix> in the analysis

(default: .php; can be given multiple times)

--exclude <path>

Exclude files with <path> in their path from the analysis (can be given multiple times)

Options for analysing files:

--count-tests

Count PHPUnit test case classes and test methods

Options for report generation:

--log-csv <file>

Write results in CSV format to <file>

--log-json <file> Write results in JSON format to <file>

--log-xml <file>

Write results in XML format to <file>

History

--ansi until Debian 10 (Buster); --git-repository until Debian 9 (Stretch); --help until Debian 10 (Buster); --names until Debian 10 (Buster); --names-exclude until Debian 10 (Buster); --no-ansi until Debian 10 (Buster); --no-interaction until Debian 10 (Buster); --progress until Debian 9 (Stretch); --quiet until Debian 10 (Buster); --version until Debian 10 (Buster); -V until Debian 10 (Buster); -h until Debian 10 (Buster); -n until Debian 10 (Buster); -q until Debian 10 (Buster).