PDEPEND(1)

πŸ“¦
version 2.16.2 Β· 3 versions
, in ubuntu noble

πŸ’– NAME πŸ’–

pdepend β€” the PHP_Depend command line interface πŸŽ€


✨ SYNOPSIS ✨

pdepend [options] [logger] <dir[,dir[,...]]>

πŸ¦‹ DESCRIPTION πŸ¦‹

okay bestie, deep breath, because this is PDepend 2.16.2 and she is that girl πŸ’…. You point her at a directory (or a bunch of directories, comma-separated, no spaces needed, we're flexible like that), and she goes and analyzes your PHP for you. Sometimes you hand her a logger too, and she'll spit out metrics, charts, XML logs, the whole ✨aesthetic✨. Here's everything she can do:

  • --dependency-xml=<file> β€” generates a xml log with all the dependencies. all of them. the whole dependency situation. πŸ•ΈοΈ
  • --jdepend-chart=<file> β€” generates a diagram of the analyzed packages. pretty picture time 🎨
  • --jdepend-xml=<file> β€” generates the package dependency log. yes she has two jdepend things, she contains multitudes.
  • --overview-pyramid=<file> β€” generates a chart with an Overview Pyramid for the analyzed project. πŸ”Ί iconic shape, iconic output.
  • --summary-xml=<file> β€” generates a xml log with all metrics. every single metric. no crumbs left behind.
  • --coderank-mode=<*[,...]> β€” used CodeRank strategies. Comma separated list of 'inheritance' (default), 'property' and 'method'. so like, pick your fighters and separate them with commas πŸ’«
  • --coverage-report=<file> β€” Clover style CodeCoverage report, as produced by PHPUnit's --coverage-clover option. yes, that exact flavor of coverage report.
  • --configuration=<file> β€” optional PDepend configuration file. only if you want it, no pressure 🫢
  • --suffix=<ext[,...]> β€” list of valid PHP file extensions. tell her what counts.
  • --ignore=<dir[,...]> β€” list of exclude directories. leave those poor things alone πŸ™ˆ
  • --exclude=<pkg[,...]> β€” list of exclude namespaces. same energy, but for packages.
  • --without-annotations β€” do not parse doc comment annotations. skipping the annotations arc entirely.
  • --quiet β€” prints errors only. minimal. lowkey. 🀫
  • --debug β€” prints debugging information. maximal. highkey. πŸ›
  • --help β€” print this help text. hi, you found it πŸ’–
  • --version β€” print the current version.
  • -d key[=value] β€” sets a php.ini value. little one-letter icon doing important work πŸ‘‘
ngl, <dir[,dir[,...]]> really does mean a comma-separated list of directories, and the trailing [,...] really does mean "and more, if you want." go off, queen 🌈

and that's the whole page, bestie! this was PDepend 2.16.2, dated December 2023, and it lives in your manual as PDEPEND(1) πŸ¦‹βœ¨ go analyze something gorgeous, ily, bye πŸ’œ

πŸ“¦ where this page comes from