Bug reports are used by software testers to identify abnormal software behaviour. In this paper, we propose a multi-objective evolutionary approach to automatically generate finite state machines (FSMs) based on bug reports written in natural language, to automatically capture incorrect software behaviour. These FSMs can then be used by testers to both exercise the reported bugs and create tests that can potentially reveal new bugs. The FSM generation is guided by a Multi-Objective Evolutionary Algorithm (MOEA) that simultaneously minimises three objectives: size of the models, number of unrealistic states (over-generalisation), and number of states not covered by the models (under-generalisation). We assess the feasibility of our approach for 10 real-world software programs by exploiting three different MOEAs (NSGA-II, NSGA-III and MOEA/D) and benchmarking them with the baseline tool KLFA. Our results show that KLFA is not practical to be used with real-world software, because it generates models that over generalise software behaviour. Among the three MOEAs, NSGA-II obtained significantly better results than the other two for all 10 programs, detecting a greater number of bugs for 90% of the programs. We also studied the differences in quality and model performance when MOEAs are guided by only two objectives rather than three during the evolution. We found that the use of under-approximation (or over-approximation) and size as objectives generates infeasible solutions. On the other hand, using as objectives over-approximation and under-approximation generates feasible solutions yet still worse than those obtained using all three objectives for 100% of the cases. The size objective acts as a diversity factor. As a consequence, an algorithm guided by all three objectives avoids local optima, controls the size of the models, and makes the results more diverse and closer to the optimal Pareto set.
Download full-text PDF |
Source |
---|---|
http://www.ncbi.nlm.nih.gov/pmc/articles/PMC10282050 | PMC |
http://dx.doi.org/10.1007/s10664-023-10333-8 | DOI Listing |
Am J Emerg Med
January 2025
Department of Emergency Medicine, University of Michigan, 1500 E. Medical Center Drive, Ann Arbor, MI 48109, United States of America. Electronic address:
Bacterial meningitis is an increasingly rare disease that carries significant morbidity and mortality. We describe the case of a 38-year-old male with a past medical history of pituitary macroadenoma with prior endonasal surgeries on prednisone therapy daily for resultant hypopituitarism and juvenile myoclonic epilepsy on lamotrigine daily who was transferred to an academic tertiary emergency department due to concern for developing pituitary apoplexy. At the outside emergency department, the patient presented complaining of sudden onset severe headache.
View Article and Find Full Text PDFFront Plant Sci
January 2025
Institute of Plant Protection, Hainan Academy of Agricultural Sciences, Haikou, China.
The tea mosquito bug, Waterhouse (Hemiptera: Miridae), is a devastating piercing-sucking pest in tropical tea plantations. The Hainan Dayezhong (HNDYZ) is a large-leaf tea cultivar widely cultivated around the Hainan tea region in South China. However, information regarding the feeding damage of on the HNDYZ tea plant remains scarce.
View Article and Find Full Text PDFAcad Pediatr
January 2025
Kent State University, Department of Psychological Science, 800 E Summit St, Kent, OH, USA 44240. Electronic address:
Objective: To improve pediatric residents' skills in the diagnosis and treatment of children with ADHD by giving real-time feedback utilizing Bug-in-the-Ear technology (BIE).
Methods: This prospective, controlled study had 2 treatment groups and 3 standardized patient (SP) sessions. Session-1 was baseline.
Biosystems
January 2025
Additive Manufacturing Research laboratory, Department of Mechanical Engineering, Indian Institute of Technology, Jammu, Jammu 181221, J&K, India. Electronic address:
Diplonychus annulatus sp. (family Belostomidae and order Hemipetra) is an aquatic water bug, adapted to ponds and wetlands. Commonly referred to as toe-biters or electric-light bugs, both the nymph and the adults prey on other invertebrates in the water.
View Article and Find Full Text PDFTherap Adv Gastroenterol
January 2025
Digestive Disease Unit, Department of Medical-Surgical Sciences and Translational Medicine, Sant'Andrea Teaching Hospital, Sapienza University of Rome, via di Grottarossa 1035, Rome 00189, Italy.
Background: Efficacy of eradication regimens in (Hp) infection is commonly reported with proton pump inhibitors (PPIs). In patients with corpus atrophic gastritis, characterized by impaired acid secretion, PPI treatment is questionable.
Objectives: The current study aimed to assess in clinical practice the tolerability and eradication rate of modified eradication regimens without PPI as first-line treatment in patients with histologically Hp-positive corpus atrophic gastritis.
Enter search terms and have AI summaries delivered each week - change queries or unsubscribe any time!