Enhancing Software Robustness by Detecting and Removing Exception Handling Smells: An Empirical Study,ERICDATA高等教育知識庫
高等教育出版
熱門: Qiaoyun Zhang  Helong Xia  Scopus AI  Semi-trusted loader  Zhi-Wei Sun  美国 通识教育计划  
高等教育出版
首頁 臺灣期刊 學校系所 學協會 民間出版 大陸/海外期刊 政府機關 學校系所 學協會 民間出版 DOI查詢服務 DOI註冊服務
閱讀全文
篇名
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 10.3966/160792642018091905031   複製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

高等教育知識庫  新書優惠  教育研究月刊  Ericdata高等教育知識庫