Muhammad Rashid Naeem , Muhammad Asghar Khan , Mansoor Khan , Omar Alruwaili , Ibrahim Alrashdi , Saad Alanazi
{"title":"Enhancing software quality assurance in ubiquitous learning environments through mutation testing and diverse test oracles","authors":"Muhammad Rashid Naeem , Muhammad Asghar Khan , Mansoor Khan , Omar Alruwaili , Ibrahim Alrashdi , Saad Alanazi","doi":"10.1016/j.chb.2024.108493","DOIUrl":null,"url":null,"abstract":"<div><div>Ubiquitous learning enables software analysts to acquire knowledge and design test oracles from online resources including developer documentations, forums and collaborative platforms. Test oracles are primarily designed by humans and may contain quality defects. Mutation testing can facilitate the adaptability of ubiquitous learning to enhance software quality assurance. Unfortunately, mutation testing generates a large number of faulty versions known as mutants to analyze the quality of test oracles which is computationally expensive. In this paper, we proposed minimal path selection strategy to select fewer and non-trivial mutants to analyze diverse test oracles realizing ubiquitous learning environments. The proposed selection strategy explores the relationship between faulty conditions and output statements to identify feasible paths. To establish a ubiquitous learning setup, diverse test oracles are selected by incorporating user input, automated scripts and developer insights. This approach aims to enhance learner engagement and effectively design test oracles. The empirical evaluation and state-of-the-art comparison of various Java-built software programs demonstrated the potential of ubiquitous learning in software quality assurance by reducing 75% of the generated mutants. Furthermore, only 64%–85% of adequate test oracles were required to meet the desired quality assurance criteria. The study highlights the significance of personalized and adaptive approaches to assure software quality in ubiquitous learning environments.</div></div>","PeriodicalId":48471,"journal":{"name":"Computers in Human Behavior","volume":"163 ","pages":"Article 108493"},"PeriodicalIF":9.0000,"publicationDate":"2024-11-06","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Computers in Human Behavior","FirstCategoryId":"102","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0747563224003613","RegionNum":1,"RegionCategory":"心理学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"PSYCHOLOGY, EXPERIMENTAL","Score":null,"Total":0}
引用次数: 0
Abstract
Ubiquitous learning enables software analysts to acquire knowledge and design test oracles from online resources including developer documentations, forums and collaborative platforms. Test oracles are primarily designed by humans and may contain quality defects. Mutation testing can facilitate the adaptability of ubiquitous learning to enhance software quality assurance. Unfortunately, mutation testing generates a large number of faulty versions known as mutants to analyze the quality of test oracles which is computationally expensive. In this paper, we proposed minimal path selection strategy to select fewer and non-trivial mutants to analyze diverse test oracles realizing ubiquitous learning environments. The proposed selection strategy explores the relationship between faulty conditions and output statements to identify feasible paths. To establish a ubiquitous learning setup, diverse test oracles are selected by incorporating user input, automated scripts and developer insights. This approach aims to enhance learner engagement and effectively design test oracles. The empirical evaluation and state-of-the-art comparison of various Java-built software programs demonstrated the potential of ubiquitous learning in software quality assurance by reducing 75% of the generated mutants. Furthermore, only 64%–85% of adequate test oracles were required to meet the desired quality assurance criteria. The study highlights the significance of personalized and adaptive approaches to assure software quality in ubiquitous learning environments.
期刊介绍:
Computers in Human Behavior is a scholarly journal that explores the psychological aspects of computer use. It covers original theoretical works, research reports, literature reviews, and software and book reviews. The journal examines both the use of computers in psychology, psychiatry, and related fields, and the psychological impact of computer use on individuals, groups, and society. Articles discuss topics such as professional practice, training, research, human development, learning, cognition, personality, and social interactions. It focuses on human interactions with computers, considering the computer as a medium through which human behaviors are shaped and expressed. Professionals interested in the psychological aspects of computer use will find this journal valuable, even with limited knowledge of computers.