2017 © Pedro PelĂĄez
 

project code-complexity

Simple tool to measure code cyclomatic complexity as described on https://phpmd.org/rules/codesize.html

image

bronek/code-complexity

Simple tool to measure code cyclomatic complexity as described on https://phpmd.org/rules/codesize.html

  • Tuesday, September 5, 2017
  • by bronek89
  • Repository
  • 1 Watchers
  • 0 Stars
  • 6 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

code-complexity

Class for check code complexity score of php code., (*1)

Install

composer require bronek/code-complexity

Usage

<?php

$calculator = new \Bronek\CodeComplexity\CodeComplexityCalculator();
$complexityScore = $calculator->calculate(file_get_contents('file.php'));

echo "Code Complexity of file file.php is $complexityScore" 

The Versions

05/09 2017

dev-master

9999999-dev

Simple tool to measure code cyclomatic complexity as described on https://phpmd.org/rules/codesize.html

  Sources   Download

MIT

The Requires

 

The Development Requires

by BronisƂaw BiaƂek

05/09 2017

v0.1.0

0.1.0.0

Simple tool to measure code cyclomatic complexity as described on https://phpmd.org/rules/codesize.html

  Sources   Download

MIT

The Requires

 

The Development Requires

by BronisƂaw BiaƂek