readable:PHP的静态分析工具,着重于代码的可读性

上传者: 42139871 | 上传时间: 2024-07-17 12:04:48 | 文件大小: 118KB | 文件类型: ZIP
PHP代码分析器,类似于eslint,但重点是可读性。 这个想法是建立一个可以保证项目的长期代码可维护性的分析器。 主要项目价值是可扩展性,易用性,分析速度和简便性。 快速链接: 安装及使用 您可以使用npm安装可读的: $ npm install @officient/readable --save-dev 您可以获得使用方面的帮助: $ npx readable --help 然后,您应该设置一个配置文件: $ npx readable --init 之后,您可以在任何文件或目录上运行可读文件,如下所示: $ npx readable 您也可以将其添加到NPM脚本中: " scripts " : { " test " : " readable " }, $ npm run test 您也可以使用我们的docker-image: $ docker ru

文件下载

资源详情

[{"title":"( 65 个子文件 118KB ) readable:PHP的静态分析工具,着重于代码的可读性","children":[{"title":"readable-master","children":[{"title":"Dockerfile <span style='color:#111;'> 363B </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 34B </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 2.70KB </span>","children":null,"spread":false},{"title":"bin","children":[{"title":"readable.js <span style='color:#111;'> 2.20KB </span>","children":null,"spread":false}],"spread":true},{"title":".github","children":[{"title":"workflows","children":[{"title":"push.yml <span style='color:#111;'> 695B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"tests","children":[{"title":"help.js <span style='color:#111;'> 141B </span>","children":null,"spread":false},{"title":"fixtures","children":[{"title":"files","children":[{"title":"no.txt <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"inner","children":[{"title":"2.php <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"3.php <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":true},{"title":"ignore","children":[{"title":"4.php <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":true},{"title":"1.php <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"tokenize.js <span style='color:#111;'> 2.48KB </span>","children":null,"spread":false},{"title":"utils.js <span style='color:#111;'> 623B </span>","children":null,"spread":false},{"title":"errors.js <span style='color:#111;'> 1.35KB </span>","children":null,"spread":false},{"title":"rules","children":[{"title":"function-max-size.js <span style='color:#111;'> 386B </span>","children":null,"spread":false},{"title":"file-max-size.js <span style='color:#111;'> 1002B </span>","children":null,"spread":false},{"title":"forbidden-function-prefix.js <span style='color:#111;'> 424B </span>","children":null,"spread":false},{"title":"max-nest.js <span style='color:#111;'> 516B </span>","children":null,"spread":false},{"title":"namespace-max-files.js <span style='color:#111;'> 714B </span>","children":null,"spread":false},{"title":"loop-max-nest.js <span style='color:#111;'> 700B </span>","children":null,"spread":false},{"title":"if-assigment.js <span style='color:#111;'> 459B </span>","children":null,"spread":false},{"title":"variable-length.js <span style='color:#111;'> 474B </span>","children":null,"spread":false},{"title":"missing-braces.js <span style='color:#111;'> 552B </span>","children":null,"spread":false},{"title":"class-comment.js <span style='color:#111;'> 445B </span>","children":null,"spread":false},{"title":"loop-max-size.js <span style='color:#111;'> 395B </span>","children":null,"spread":false},{"title":"empty-catch.js <span style='color:#111;'> 463B </span>","children":null,"spread":false},{"title":"argument-override.js <span style='color:#111;'> 910B </span>","children":null,"spread":false},{"title":"complex-if.js <span style='color:#111;'> 605B </span>","children":null,"spread":false},{"title":"forbidden-functions.js <span style='color:#111;'> 625B </span>","children":null,"spread":false},{"title":"ternary-max-length.js <span style='color:#111;'> 415B </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"docs","children":[{"title":"add-rule.md <span style='color:#111;'> 1.88KB </span>","children":null,"spread":false},{"title":"logo.png <span style='color:#111;'> 16.94KB </span>","children":null,"spread":false},{"title":"api.md <span style='color:#111;'> 8.98KB </span>","children":null,"spread":false},{"title":"rules.md <span style='color:#111;'> 2.25KB </span>","children":null,"spread":false}],"spread":true},{"title":"LICENSE <span style='color:#111;'> 34.33KB </span>","children":null,"spread":false},{"title":"package.json <span style='color:#111;'> 1.14KB </span>","children":null,"spread":false},{"title":"src","children":[{"title":"help.js <span style='color:#111;'> 1.58KB </span>","children":null,"spread":false},{"title":"config-loader.js <span style='color:#111;'> 794B </span>","children":null,"spread":false},{"title":"lint.js <span style='color:#111;'> 2.61KB </span>","children":null,"spread":false},{"title":"tokenize.js <span style='color:#111;'> 5.96KB </span>","children":null,"spread":false},{"title":"stream.js <span style='color:#111;'> 1.49KB </span>","children":null,"spread":false},{"title":"default.readable.json <span style='color:#111;'> 786B </span>","children":null,"spread":false},{"title":"utils.js <span style='color:#111;'> 1.21KB </span>","children":null,"spread":false},{"title":"errors.js <span style='color:#111;'> 1.54KB </span>","children":null,"spread":false},{"title":"rules","children":[{"title":"function-max-size.js <span style='color:#111;'> 424B </span>","children":null,"spread":false},{"title":"file-max-size.js <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"forbidden-function-prefix.js <span style='color:#111;'> 342B </span>","children":null,"spread":false},{"title":"max-nest.js <span style='color:#111;'> 485B </span>","children":null,"spread":false},{"title":"namespace-max-files.js <span style='color:#111;'> 559B </span>","children":null,"spread":false},{"title":"loop-max-nest.js <span style='color:#111;'> 705B </span>","children":null,"spread":false},{"title":"if-assigment.js <span style='color:#111;'> 363B </span>","children":null,"spread":false},{"title":"variable-length.js <span style='color:#111;'> 517B </span>","children":null,"spread":false},{"title":"missing-braces.js <span style='color:#111;'> 537B </span>","children":null,"spread":false},{"title":"class-comment.js <span style='color:#111;'> 446B </span>","children":null,"spread":false},{"title":"loop-max-size.js <span style='color:#111;'> 435B </span>","children":null,"spread":false},{"title":"empty-catch.js <span style='color:#111;'> 276B </span>","children":null,"spread":false},{"title":"argument-override.js <span style='color:#111;'> 1.36KB </span>","children":null,"spread":false},{"title":"complex-if.js <span style='color:#111;'> 671B </span>","children":null,"spread":false},{"title":"forbidden-functions.js <span style='color:#111;'> 185B </span>","children":null,"spread":false},{"title":"ternary-max-length.js <span style='color:#111;'> 717B </span>","children":null,"spread":false}],"spread":false},{"title":"rule-test.js <span style='color:#111;'> 874B </span>","children":null,"spread":false}],"spread":true},{"title":"CODE_OF_CONDUCT.md <span style='color:#111;'> 3.27KB </span>","children":null,"spread":false},{"title":".editorconfig <span style='color:#111;'> 113B </span>","children":null,"spread":false},{"title":".eslintrc.js <span style='color:#111;'> 271B </span>","children":null,"spread":false},{"title":"package-lock.json <span style='color:#111;'> 193.89KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明