sekanderb / phpcloc

:rocket: Cloc & duplicate code checker tool

Home Page:https://packagist.org/packages/appzcoder/phpcloc

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PHPCloc

🚀 Cloc & duplicate code checker written in PHP

Requirements

PHP >= 5.5.9

Installation

$ composer global require appzcoder/phpcloc

Usage

Cloc

$ phpcloc cloc .

cloc

Duplicate code checker

$ phpcloc duplicate . --ext=php

duplicate

Available Commands

$ phpcloc cloc directory --ext=php,js --exclude=vendor,node_modules
$ phpcloc duplicate directory --ext=php --exclude=vendor

Todo

  • Line number show on duplicate code checker command
  • Improve algorithm complexity
  • Testing

Author

Sohel Amin

License

This project is licensed under the MIT License - see the License File for details

About

:rocket: Cloc & duplicate code checker tool

https://packagist.org/packages/appzcoder/phpcloc

License:MIT License


Languages

Language:PHP 100.0%