clorichel/scqat
最新稳定版本:v0.5
Composer 安装命令:
composer require clorichel/scqat
包简介
Standardized Code Quality Assurance Tool
关键字:
README 文档
README
Officially abandoned : head to SonarQube with the PHP Plugin to ensure efficient code quality assurance.
SCQAT
This is SCQAT, the Standardized Code Quality Assurance Tool, an open source set of utilities that ensures the quality of the code for you, your development team and your boss.
SCQAT is a lightweight way to wrap industry standard code quality analyzers in a simple and efficient tool.
Installation
You need to run PHP 5.4 or greater.
Install Composer
SCQAT relies on Composer magic to manage dependencies. If you haven't already installed it, just grab composer.phar running the one-liner install command you will find here.
We will assume that you will run composer.phar locally placed in a newly created /path/to/folder directory.
Install or update SCQAT
php composer.phar require clorichel/scqat:0.5
Thanks to each Composer contributor, yes, that was it. First composer require will install everything, another require in the same folder with a new version number will simply update.
Globally
Using Linux / Unix / OSX ? Nothing simplest, run the composer require then :
ln -s /path/to/folder/vendor/bin/scqat /usr/local/bin/scqat
Command failed ? Just run again with sudo.
In OSX ? Create /usr/local/bin/ folder which may not exist.
There is absolutely no need to run that command again when updating SCQAT.
Usage
Installed globally ? Just open your console and do :
scqat -d /path/to/sourcecode
Your code has just been analyzed ! The quality report shown is self-explanatory.
Not installed globally ? You have to add the path, run /path/to/folder/vendor/bin/scqat
Have a look to the CLI Manual for detailed usage. Enpower your projects with a simple .scqat YAML file to configure nearly everything as described in the Configuration Manual.
What is it about
SCQAT aims to be an universal tool to ensure code QA. Initial development was focused on PHP code language, through a simple tool running command line (CLI).
How can it help me
| You are | SCQAT will help you |
|---|---|
| A single developer | Be sure and proud of your code quality, even before committing it |
| In a team of developers | And your colleagues to all work on the same standard basis |
| The team manager | Ensuring the quality of your team working, without even reading source code |
| Big boss | Being confident in your developers team(s), their actual skills, the bleeding edge state of your company code base |
| End customer | Knowing the quality level of the job that was done |
I would like to add quality checks
Is your favorite language and/or QA tool missing ? You are pleased to open an issue.
Composer familiar, please send a pull request : just implement a \SCQAT\LanguageAbstract with a simple fileNameMatcher method to determine which filenames your language will handle, and a \SCQAT\AnalyzerAbstract that does the job and return a \SCQAT\Result.
See \SCQAT\Language\PHP and \SCQAT\Language\PHP\Analyzer\Lint for concrete examples, and just duplicate them for a quick start.
Future work estimate
For instance SCQAT does exactly what it says : it's an efficient tool to standardize code quality assurance. You can run it on many platforms. It installs in no time. Reports are clear and clean. One can use it on a git pre-commit hook or add it on a continuous integration stack. Little PHP development skills are required to implement new languages and analyzers.
Short term work is listed in the CHANGELOG with each version.
Mid to long term will be working on reports to be able to export them in some usual formats (TXT, and HTML), rating and ranking with badges, and any other need that could appear. You are all pleased to open issues or pull requests with your ideas and/or needs.
Uninstall
Nothing has been dispatched everywhere, simply remove your /usr/local/bin/scqat symlink (if installed globally) and the /path/to/folder install directory. Before doing this, you are pleased to open an issue if something went bad for you ;)
clorichel/scqat 适用场景与选型建议
clorichel/scqat 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 437 次下载、GitHub Stars 达 0, 最近一次更新时间为 2015 年 02 月 23 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「php」 「cli」 「code」 「Simple」 「HOOK」 「report」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 clorichel/scqat 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 clorichel/scqat 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 clorichel/scqat 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Memio's PrettyPrinter, used to generate PHP code from given Model
Promotional Codes Generator for Laravel 5.1
Zend Captcha bundle
Slim starter / Slim skeleton package to boost your development with Slim framework
Base Skeleton for Laravel Application
Generates a trait to help ease the access of custom repo methods
统计信息
- 总下载量: 437
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 31
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Apache-2.0
- 更新时间: 2015-02-23