admin管理员组

文章数量:1794759

重构工具安装 Jalopy,CheckStyle,FindBugs,JDeodorant,Stench Blossom

重构工具安装 Jalopy,CheckStyle,FindBugs,JDeodorant,Stench Blossom

Jalopy是一款代码美化工具。它可以把胡乱无章的代码重新排版,变的好看整洁。使用简单。虽然目前停止了更新,推出了商业化的版本, 但Jalopy仍然是免费的   Jalopy 
.html  CheckStyle  大部分功能都是对于代码规范的检查 .html 重构工具  findbugs PMD CheckStyle 在文本中右击 出现findbugs 进行错误检查,运行完后出现,下面虫子!
/  PMD =18467149 重构工具 JDeodorant Eclipse插件 直接安装
安装成功,出现Bad Smells
JDeodorant 提供下面五种坏味道检验: Feature Envy  problems are resolved by appropriate  Move Method  refactorings. Type Checking  problems are resolved by appropriate  Replace Conditional with Polymorphism and  Replace Type code with State/Strategy  refactorings. Long Method  problems are resolved by appropriate  Extract Method  refactorings. God Class  problems are resolved by appropriate  Extract Class  refactorings. Duplicated Code  problems are resolved by appropriate  Extract Clone  refactorings. JDeodorant如何使用 .html 
再点击项目你想找出坏味道的目录,【i】就会变颜色,在点击这个【i】,就可出现了神奇的效果了!


Stench Blossom    Download here  only windows  是集合了Stench Blossom的MyEclipse


只有JDeodorant提供了自动重构(Refactoring)功能;部分工具只能检测到代码中存在的味道,但是没有对所识别到的味道进行定位。具体情况如表1所示:

本文标签: 重构工具安装 JalopyCheckStyleFindBugsJDeodorantStench Blossom