Skip to content

Releases: phpmetrics/PhpMetrics

v1.1.0

16 Dec 18:02
Compare
Choose a tag to compare

Changelog

New features

Other

BC

  • Table of all metrics is disable by default in CLI report. You should enable it with --report-cli.

Bugfix

Contributors

# Future

I would like develop those features in the future:

  • improvement of score calculation
  • translation of how are calculated boundaries? in english
  • LCOM without getters and setters (LCOMngs ?)
  • documentation, documentation and documentation :)

v.1.0.0

01 Sep 14:42
Compare
Choose a tag to compare

Changelog

This version fixes major bugs and is stable. Please update your composer.json.

This is the first stable release. From now, we'll try to respect Semantic Versioning 2.0.0.

New features

Other

BC

NA

Bugfix

Contributors

v.0.0.8

12 Aug 13:07
Compare
Choose a tag to compare

Changelog

This version fixes major bugs. Please update your composer.json.

new features

Other

BC

Bugfix

Contributors

v.0.0.7

30 Jul 12:51
Compare
Choose a tag to compare

New features

new features

Other

BC

  • "php-metrics" becomes "phpmetrics". Be careful, you should update your composer.json

Bugfix

  • Fixes typos

Contributors

v.0.0.6

12 Jun 13:38
Compare
Choose a tag to compare

New features

new metrics

  • Metrics are aggregated by package
  • Instability
  • Abstractness
  • Card and Agresti System complexity

Other

  • HTML report improved
  • CSV report
  • Violations report
  • Better integration with Composer
  • OOP Extractor improved

BC

Bugfix

  • Fixes #23 - link to Jenkins tutorial broken
  • Fixes conflict in autoloader namespace
  • Fixes conflict in autoloader namespace

Contributors

v.0.0.5

22 Apr 04:33
Compare
Choose a tag to compare

New features

new metrics

  • McCabe cyclomatic number
  • Myer's interval
  • LCOM (Lack of cohesion of methods)
  • Length (LOC) is calculated without PHPloc

Other

  • Adding a "limited RAM" mode

BC

  • --oop is removed, and replaced by --without-oop
  • OOP analyze is started by default

Bugfix

  • fixes #7 (PHP < 5.3.9 incompatibility)
  • fixes #8 (Missing Shebang in phar file)
  • fixes #15 (Bug with anonymous functions)

Contributors

v.0.0.4

19 Feb 12:29
Compare
Choose a tag to compare

New features:

Metrics:

  • Instability of code
  • Coupling (number of dependencies)
  • Number of classes

Reports:

  • XML Report improved

BC

NA

Bugfix:

NA

Contributors

v.0.0.3

03 Feb 19:49
Compare
Choose a tag to compare

New features:

Metrics:

  • Comment weight (MIcw) added
  • Maintenability Index takes care of MIcw
  • Intelligent content

Reports:

  • Infos are consolidated by directory
  • CLI report
  • XML report
  • Custom chart for HTML report
  • Detailled report (for all files)
  • HTML reports enhanced (colors...)
  • reports are generated (and not returned by command)

BC

  • removed --format=html (prefer --summary-html=... and --details-html=...)

Bugfix:

NA

Contributors

v.0.0.2

30 Jan 05:39
Compare
Choose a tag to compare

New features:

  • available as phar archive
  • support for specific extensions (argument --extension)
  • better HTML report (with --format=html)
  • PHP 5.3 support
  • global statistics
  • minor change in formulas

BC:

  • removed --json (prefer --format=json)

Bugfix:

## Contributors

Version 0.0.1

18 Dec 14:45
Compare
Choose a tag to compare

Metrics:

  • Halstead metrics
  • Maintenability index
  • LOC
  • Cyclomatic complexity

Formaters:

  • bubbles (json)
  • cli