Publicação

Injeção de Defeitos em Aplicações Android

Detalhes bibliográficos
Resumo:The number of Android applications is rising at a rate of more than a thousand applications a day in the Android App Store. The problem is that the quality is sometimes neglected in this kind of application, which results in defective software being frequently used. In order to improve the quality of the software it is necessary to create test cases that are adequate to cover all the implementation requirements. However this task is not as trivial as it seems, and for this reason mutation testing techniques are important as they can be useful to assess the quality of the test cases. This research aims to extend the research work performed in the SE lab in which a tool was developed to test Android applications (iMPAcT Tool).This tool executes test strategies that aim to check whether the guidelines for Android programming are being employed or not. The goal of this work is to analyse the faults that originate the failures detected by the iMPAcT tool and define a set of mutators that can be applied over Android applications and finally assess if the test suites used are effective in finding those failures. The mutation operators will later be applied to the source code of different Android applications. By comparing the results of the iMPAcT tool against the original and the mutated code it will become visible if the tests executed by the iMPAcT tool are enough to detect the failures it should. If the test cases cannot detect the injected faults then it is not effective in finding the failures it was build to find.
Assunto:Engenharia electrotécnica, electrónica e informática Electrical engineering, Electronic engineering, Information engineering
País:Portugal
Tipo de documento:dissertação de mestrado
Tipo de acesso:Aberto
Instituição associada:Repositório Aberto da Universidade do Porto
Idioma:inglês
Origem:Repositório Aberto da Universidade do Porto
Descrição
Resumo:The number of Android applications is rising at a rate of more than a thousand applications a day in the Android App Store. The problem is that the quality is sometimes neglected in this kind of application, which results in defective software being frequently used. In order to improve the quality of the software it is necessary to create test cases that are adequate to cover all the implementation requirements. However this task is not as trivial as it seems, and for this reason mutation testing techniques are important as they can be useful to assess the quality of the test cases. This research aims to extend the research work performed in the SE lab in which a tool was developed to test Android applications (iMPAcT Tool).This tool executes test strategies that aim to check whether the guidelines for Android programming are being employed or not. The goal of this work is to analyse the faults that originate the failures detected by the iMPAcT tool and define a set of mutators that can be applied over Android applications and finally assess if the test suites used are effective in finding those failures. The mutation operators will later be applied to the source code of different Android applications. By comparing the results of the iMPAcT tool against the original and the mutated code it will become visible if the tests executed by the iMPAcT tool are enough to detect the failures it should. If the test cases cannot detect the injected faults then it is not effective in finding the failures it was build to find.