A Survey of Static Software Analysis Tools.ppt

  1. 1、本文档共10页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
A Survey of Static Software Analysis Tools.ppt

A Survey of Static Software Analysis Tools Mark Smith Contents Overview Static Analysis Tools FindBugs PMD IntelliJ IDEA Benchmarks Results Conclusion Overview Goals: Derive comparisons and conduct an informative survey of three static analysis tools: FindBugs, PMD, IntelliJ IDEA. To provide some guidance as to how the tools perform differently why they are different what techniques they use. Tool were selected due to ease of implementation well-known in the field of bug-finding tools. Static Analysis Tools FindBugs Based on the concept of bug patterns (code idiom that is often an error).? Bug patterns arise for a variety of reasons: Difficult language features Misunderstood API methods Misunderstood invariants when code is modified during maintenance Typos, use of the wrong boolean operator Uses ad-hoc techniques designed to balance precision, efficiency, and usability. One of its main techniques - syntactically match source code to known suspicious programming practice. Uses static analysis to inspect Java bytecode (compiled class files) Static Analysis Tools PMD Scans Java source code and looks for potential problems such as: Empty try/catch/finally/switch blocks, Unused local variables, parameters and private methods, Empty if/while statements, Overcomplicated expressions Duplicate code Performs syntactic checks on program source code, but does not have a dataflow component. Known to detect clearly erroneous code - many of the “bugs” are stylistic conventions whose violation might be suspicious under some circumstances. Inspects Java code using a rules-based approach. Static Analysis Tools IntelliJ IDEA Commercial, cross-platform Java IDE by JetBrains Focuses on developer productivity and advanced JavaScript code editing support Design is centered around programmer productivity: a number of features that speed up development time and allow programmers to concentrate on functionality while IDEA handles more mundane coding tasks. Associa

文档评论(0)

tangdequan1 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档