在早期軟體專案執行過程中,因專案時程或其他因素,開發人員著重於系統功能之開發而對例外流程並無有效處理,導致日後發生一些非需求面之錯誤時,則需對發生之例外再重新處理之。在現有研究中,已有利用例外強健度等級搭配例外處理模型與策略來提升既有系統強健度的方法。然而在實際應用該方法來處理例外程式碼時,需依賴開發人員以code review的方式找出導致客戶回報問題的程式點。對於非原始程式開發人員而言,現有開發工具對於例外及強健度等級處理的支援尚顯不足,所以要以code review方式找出問題點的程式碼並套用例外等級,並非易事。 本論文中,我們以引用例外強健度等級模型,實作一個Eclipse外掛的開發輔助工具,用以協助開發人員找出問題點之例外程式碼並分析與套用例外強健度等級模型,進而有效率地提昇既有軟體之強健度。
In software development, it is common that a project has a tight schedule. Thus, to meat the schedule, programmers choose to only focus on the normal behaviors of the software and left the exceptional behaviors untouched. Once the software encounters errors caused by exceptions after software release, it is difficult for the programmers to handle these exceptions effectively. In existing research, robustness level models have been applied to enhance the robustness of software systems with exception handling. When the method is applied, it relies on a code review activity conducted by programmers to figure out the root causes which lead to the reported errors. For programmers who are not familiar with the code base, conducting code review to find out the improper exception handing code may be a challenging task.. In this thesis, based on the robustness level model, we develop an Eclipse plug-in to help programmers conduct code review to reveal penitential exception handling problems. The tool can also assist programmers to analyze and improve the robustness of a software system.