Loading...

Exception Fault Localization in Smart Mobile Applications

Mirzaei, Hamed | 2015

613 Viewed
  1. Type of Document: M.Sc. Thesis
  2. Language: Farsi
  3. Document No: 47552 (19)
  4. University: Sharif University of Technology
  5. Department: Computer Engineering
  6. Advisor(s): Heydarnoori, Abbas
  7. Abstract:
  8. In software programs, most of the time, there is a chance of error, even though they are tested carefully. Finding error-related pieces of code is one of the most complicated tasks and it can make incorrect results if done manually. Semi-automated and fully-automated methods have been introduced to overcome this issue. The rapid growth of developing smart mobile applications (SMAs) in recent years, competition among the development teams and many other factors have increased the chance of errors and hence, the quality of these applications have reduced. There are two approaches to test SMAs in order to reach a high degree of quality: (1) using existing traditional methods and adapting them to SMA environments and (2) introducing new special methods for SMAs. In this thesis, we introduce a semi-automated hybrid method to localize exception errors in Android applications. The proposed approach includes the following three phases: Extraction, Execution and Evaluation. In the Extraction phase, all the information about application under the test (AUT) such as activity and object properties will be extracted. In the Execution phase, we generate a set of test cases and execute them on the AUT. In the last phase, we use test case traces, variable value patterns and backward static slicing techniques to rank lines of application source code with respect to their relevance to that fault. In order to support localization of multiple errors in a single run of the approach, we introduce a classification measure on test case traces. Evaluations on nine open source Android applications show that our technique is as strong as the tarantula approach in the worst case
  9. Keywords:
  10. Error Detection ; Automatic Detection ; Fault Location ; Android Operating System ; Smart Applications ; Exception Faults

 Digital Object List

 Bookmark

No TOC