`
ok_winnerboy
  • 浏览: 58318 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

在项目中使用Agile的一点总结

阅读更多

PMD(CPD) to find duplicate code

http://www.parleys.com/display/PARLEYS/Spring%20is%20Swinging

 

GUI Framework - JGoodies

Code coverage tool: http://www.eclemma.org/index.html

 

Agile Practice:

*)Use PMD, CPD and CheckStyle

*)TDD: Test-Driven Development: A Practical Guide By David Astels

*)Duplicate of logic: DRY - Don't Repeat Yourself, OAOO - Once and Only Once

 

 

Refactor principal:

1. Small Method: One method does one thing.

2. Comment is not always useful if you name variable and method clearly.

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics