FindBug,Java程式碼的監督者 (轉)
FindBug,Java程式碼的監督者 (轉)[@more@]Finugs是個相當有趣的,可以分析出中常見的“壞程式碼”——這些程式碼可能是不彰(例如建立不必要的),也可能有性或穩定性方面的隱患(例如不恰當的同步、未關閉的控制程式碼)。我用Finds檢查了一下JUnit,發現了好幾處小問題;而對 1.4.2 Runtime的檢查更是發現問題一大堆。你自己的程式,是不是也該做做檢查呢? 目前這個小玩意還只能檢查.jar裡的.class檔案,不能不說是一點缺憾,使用起來也多少有點麻煩。你有沒有興趣給它做做加工完善呢? —————————————— FindBugs is a program which looks for bugs in Java code. It can detect various coding "mistakes" including thread synchronization problems and misuse of methods. It includes both and command line interfaces.
The new version adds new bug detectors:
- Places where a null pointer might be dereferenced
- I/O streams that are opened, do not escape the method, and are not closed on all paths out of the method
- Methods that can return null instead of a zero-length array
- Using the == or != operators to compare String s
Other changes in this version:
- Command line interface can save bugs as
- GUI can save bugs to and load bugs from XML
- An "Annotations" window in the GUI allows the user to add textual annotations to bug reports; these annotations are preserved when bugs are saved as XML
- In this release, the Japanese bug summary translations by Germano Leichsenring are really included (they were inadvertently omitted in the previous release)
- Completely rewrote the control flow graph builder, hopefully for the last time
- Simplified implementation of control flow graphs, which should reduce memory use and possibly improve performance
- Improvements to command line interface (list bug priorities, filter by priority, specify aux classpath, specify project to analyze)
- Various bug fixes and enhancements
Check out the
The new version adds new bug detectors:
- Places where a null pointer might be dereferenced
- I/O streams that are opened, do not escape the method, and are not closed on all paths out of the method
- Methods that can return null instead of a zero-length array
- Using the == or != operators to compare String s
Other changes in this version:
- Command line interface can save bugs as
- GUI can save bugs to and load bugs from XML
- An "Annotations" window in the GUI allows the user to add textual annotations to bug reports; these annotations are preserved when bugs are saved as XML
- In this release, the Japanese bug summary translations by Germano Leichsenring are really included (they were inadvertently omitted in the previous release)
- Completely rewrote the control flow graph builder, hopefully for the last time
- Simplified implementation of control flow graphs, which should reduce memory use and possibly improve performance
- Improvements to command line interface (list bug priorities, filter by priority, specify aux classpath, specify project to analyze)
- Various bug fixes and enhancements
Check out the
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/10748419/viewspace-960701/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 5-監督者和應用程式
- ERP專案的監督(轉)
- 機器學習——監督學習&無監督學習機器學習
- 一圖看懂監督學習、無監督學習和半監督學習
- 基於句子嵌入的無監督文字摘要(附程式碼實現)
- 有監督學習和無監督學習
- 提高監督抽查工作的實效性(轉載)
- 基於自編碼器的表徵學習:如何攻克半監督和無監督學習?
- 詳解基於圖卷積的半監督學習(附程式碼)卷積
- 監督學習
- 什麼是計劃程式代理監督程式模式?模式
- Hinton新作!越大的自監督模型,半監督學習需要的標籤越少模型
- 什麼是有監督學習和無監督學習
- 當前最好的詞句嵌入技術概覽:從無監督學習轉向監督、多工學習
- 自監督、半監督和有監督全涵蓋,四篇論文遍歷對比學習的研究進展
- 機器學習:監督學習機器學習
- 自監督學習
- 監督學習,無監督學習常用演算法集合總結,引用scikit-learn庫(監督篇)演算法
- 【ML吳恩達】3 有監督學習和無監督學習吳恩達
- 自監督學習概述
- java 程式碼格式(轉)Java
- Java程式碼中,如何監控Mysql的binlog?JavaMySql
- 監督式機器學習演算法的應用:擇時【附原始碼】機器學習演算法原始碼
- 監督學習or無監督學習?這個問題必須搞清楚
- Java 程式編碼的規範(轉)Java
- 監督學習基礎概念
- 003.00 監督式學習
- 監督學習之迴歸
- 有監督學習——梯度下降梯度
- python 無監督生成模型Python模型
- 小樣本利器2.文字對抗+半監督 FGSM & VAT & FGM程式碼實現
- 海明碼舉例分析(監督關係與資訊碼 冗餘位)
- 因果推理和監督學習的統一概念框架:兩者並不是對立的框架
- LUSE: 無監督資料預訓練短文字編碼模型模型
- “服務可達的資料鏈DNA” ,打通從程式碼到使用者的“任督二脈”
- 監督學習之支援向量機
- 非監督學習最強攻略
- 無監督學習之降維