Skip to content

Releases: phpmetrics/PhpMetrics

v2.8.0

23 Mar 21:10
v2.8.0
6e1b0d6
Compare
Choose a tag to compare

Major release with

New features

  • allows to search patterns of code. Instead of providing our own rules, now we can add dynamic rules for violations.
  • allows also to use yaml for configuration.
  • adds a --metrics option
  • excludes getters and setters for ccn and lcom calculation
  • adds a composer option
  • adds a new --report-summary-json option

Fixes

  • Issue with columns in HTML report

v2.7.3

27 Jun 13:24
v2.7.3
52e52f2
Compare
Choose a tag to compare

Include by default composer.json files located in the root dir

v2.7.2

27 Jun 13:08
v2.7.2
237048f
Compare
Choose a tag to compare
v2.7.2

v2.7.1

27 Jun 12:59
v2.7.1
bbeaf8b
Compare
Choose a tag to compare

Fix #431
Fix #429

v2.7.0

26 Jun 20:26
v2.7.0
dc6d852
Compare
Choose a tag to compare
  • improved UI
  • way to group analysis by layer

v2.6.2

06 Apr 19:12
v2.6.2
67ac2ce
Compare
Choose a tag to compare
  • Improved UI

v2.6.1

02 Apr 19:57
v2.6.1
88450af
Compare
Choose a tag to compare

v2.6.0

28 Mar 13:37
v2.6.0
ec9a174
Compare
Choose a tag to compare

New features

  • Way to download report
  • Way to download chart
  • Resolve PHP7 getters / setters (#405)
  • Add metrics description file
  • Add a carousel in the main HTML report page to display both graph at the same time

Fixes

Explicitly define the class \Hal\Component\Ast\NodeTraverser to make PhpMetrics work using composer --classmap-authoritative. (#402)
Ensure the packagist license iœs an array so they can be displayed. (#404)
Fix warning "Division by zero" when no package is defined. (#401)

Misc

  • move templates out of src
  • Remove folders from phpcs

v2.5.0

17 Dec 12:14
Compare
Choose a tag to compare
releasing v2.5.0

v2.4.1

10 Jul 17:31
Compare
Choose a tag to compare

Fixed

  • Fix parsing errors with PHP < 7 (#360, #361)
  • Remain CCN for backward compatibility (#359, #362)

Deprecated

  • CCN by classes is deprecated and will be removed in the next major release (#359, #362)