Scroll to navigation

PHPLOC(1) User Commands PHPLOC(1)


phploc - PHPLOC command line interface


phploc [options] <directory>


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 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>
August 2020 phploc 7.0.1