Applying AspectJ and Test Cases to Expose the Impact of Exception Handling Bad Smells
碩士 === 國立臺北科技大學 === 資訊工程系 === 106 === Bad smells in exception handling code may decrease the robustness of a program. Robusta is a static analysis tool which has been shown to be very useful in detecting exception handling bad smells in Java programs. The impact of a bad smell needs to be exposed so...
Main Authors: | , |
---|---|
Other Authors: | |
Format: | Others |
Language: | zh-TW |
Published: |
2018
|
Online Access: | http://ndltd.ncl.edu.tw/handle/9d8x46 |
id |
ndltd-TW-106TIT05392011 |
---|---|
record_format |
oai_dc |
spelling |
ndltd-TW-106TIT053920112019-10-03T03:40:47Z http://ndltd.ncl.edu.tw/handle/9d8x46 Applying AspectJ and Test Cases to Expose the Impact of Exception Handling Bad Smells 利用AspectJ搭配測試案例曝露例外處理壞味道的影響 Yen-Lin Liu 劉彥麟 碩士 國立臺北科技大學 資訊工程系 106 Bad smells in exception handling code may decrease the robustness of a program. Robusta is a static analysis tool which has been shown to be very useful in detecting exception handling bad smells in Java programs. The impact of a bad smell needs to be exposed so that we can know if it is a real bug. In this thesis, we propose a method for exposing the impact of a bad smell by using AspectJ, that is, to dynamically inject a code to make an exception be thrown at a desired place so that the effect of the exception to the program can be revealed. In this study, an empirical study has also been conducted by applying the proposed method to two open source software - JFreeChart and Tomighty. The result shows the proposed method can successfully expose the impact of exception handling bad smells detected by Robusta. 謝金雲 鄭有進 2018 學位論文 ; thesis 51 zh-TW |
collection |
NDLTD |
language |
zh-TW |
format |
Others
|
sources |
NDLTD |
description |
碩士 === 國立臺北科技大學 === 資訊工程系 === 106 === Bad smells in exception handling code may decrease the robustness of a program. Robusta is a static analysis tool which has been shown to be very useful in detecting exception handling bad smells in Java programs.
The impact of a bad smell needs to be exposed so that we can know if it is a real bug. In this thesis, we propose a method for exposing the impact of a bad smell by using AspectJ, that is, to dynamically inject a code to make an exception be thrown at a desired place so that the effect of the exception to the program can be revealed.
In this study, an empirical study has also been conducted by applying the proposed method to two open source software - JFreeChart and Tomighty. The result shows the proposed method can successfully expose the impact of exception handling bad smells detected by Robusta.
|
author2 |
謝金雲 |
author_facet |
謝金雲 Yen-Lin Liu 劉彥麟 |
author |
Yen-Lin Liu 劉彥麟 |
spellingShingle |
Yen-Lin Liu 劉彥麟 Applying AspectJ and Test Cases to Expose the Impact of Exception Handling Bad Smells |
author_sort |
Yen-Lin Liu |
title |
Applying AspectJ and Test Cases to Expose the Impact of Exception Handling Bad Smells |
title_short |
Applying AspectJ and Test Cases to Expose the Impact of Exception Handling Bad Smells |
title_full |
Applying AspectJ and Test Cases to Expose the Impact of Exception Handling Bad Smells |
title_fullStr |
Applying AspectJ and Test Cases to Expose the Impact of Exception Handling Bad Smells |
title_full_unstemmed |
Applying AspectJ and Test Cases to Expose the Impact of Exception Handling Bad Smells |
title_sort |
applying aspectj and test cases to expose the impact of exception handling bad smells |
publishDate |
2018 |
url |
http://ndltd.ncl.edu.tw/handle/9d8x46 |
work_keys_str_mv |
AT yenlinliu applyingaspectjandtestcasestoexposetheimpactofexceptionhandlingbadsmells AT liúyànlín applyingaspectjandtestcasestoexposetheimpactofexceptionhandlingbadsmells AT yenlinliu lìyòngaspectjdāpèicèshìànlìpùlùlìwàichùlǐhuàiwèidàodeyǐngxiǎng AT liúyànlín lìyòngaspectjdāpèicèshìànlìpùlùlìwàichùlǐhuàiwèidàodeyǐngxiǎng |
_version_ |
1719259295342657536 |