These script are simple automating scripts to analyse a php project and give you a constructed view of the results.
It executes
- Php Mess Detector
- Php Unit Test
- Php Code Sniffer
- Copy-paste detector
- Php Depend
- Php Loc
- Php Doc
And give a view like :
- Go to your web directory
- Launch git clone https://github.com/jdlabails/PhpProjectAnalyzer.git
- Run sudo PhpProjectAnalyzer/core/install.sh
- Run cp core/param.dist.yml core/param.yml
- Edit core/param.yml to fit your project
- Call yoursymfonyproject/PhpProjectAnalyzer/index.php with your nav.
- Click on 'Start Scan'
- Aggregate php analysis metrics
- Execute quick scan of your project
- English or French interfaces
- Links with code coverage report
- Scoring based on quantity and quality metrics
- Enable PhpUnit or Atoum unit tests
- Give a score to your project with parametrable weight