閱讀全文 | |
篇名 |
Enhancing Software Robustness by Detecting and Removing Exception Handling Smells: An Empirical Study
|
---|---|
並列篇名 | Enhancing Software Robustness by Detecting and Removing Exception Handling Smells: An Empirical Study |
作者 | Chin-Yun Hsieh、You-Lun Chen、Zhen-Jie Liao |
英文摘要 | We propose a systematic way to uncover and fix bugs through detecting smells associated with exception handling. First, code of software under improvement is scanned for exception handling smells by a static analysis tool. The smells are reviewed for confirming if they are bugs by writing failing tests. Finally, code that contains the smells is refactored until the failing test passes and the smells are removed. We have also conducted an empirical study to demonstrate the efficacy of the proposed approach. In the empirical study, an open source static analysis tool is applied to detect exception handling smells in an open source web application. The result shows that out of the 357 smells reported by the tool, 124 are confirmed to be bugs that could affect the robustness of the web application. |
起訖頁 | 1603-1611 |
關鍵詞 | Code smells、Robustness、Exception handling、Refactoring、Software testing |
刊名 | 網際網路技術學刊 |
期數 | 201809 (19:5期) |
出版單位 | 台灣學術網路管理委員會 |
DOI |
|
QR Code | |
該期刊 上一篇
| A Comment-Driven Approach to API Usage Patterns Discovery and Search |
該期刊 下一篇
| A Crawling Approach of Hierarchical GUI Model Generation for Android Applications |