Árpád Beszédes
Current Organizations / Institutes
The organizations/institutes from the scholar's latest article
Research Subjects
Árpád Beszédes has a total of 52 co-authors. Here are the top co-authors by number of shared publications:
- Tibor Gyimóthy
Department of Software Engineering, University of Szeged, Hungary
14 shared publications - Ferenc Horváth
Department of Software Engineering, University of Szeged, Szeged, Hungary
7 shared publications - Gergő Balogh
University of Szeged
6 shared publications - László Vidács
Department of Software Engineering, University of Szeged, Szeged, Hungary
6 shared publications - Tamás Gergely
Department of Software Engineering, University of Szeged, Szeged, Hungary
6 shared publications - Qusay Idrees Sarhan
Department of Computer Science, College of Science, University of Duhok, Duhok, Kurdistan Region – F.R. Iraq
5 shared publications
Latest Publications
- Open Access
- 2 February 2026
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Access
- Vol. 14, 17724-17742
On Context Switching in Spectrum-Based Fault Localization
Spectrum-Based Fault Localization (SBFL) helps developers identify faulty code by ranking suspicious elements based on test outcomes and code coverage. In this paper, we examine the impact of context switching— when developers must shift their attention between different parts of the code, such as methods and classes—while traversing the ranked list of suspicious elements. Our study is motivated by the observation that investigating statements located close to each other often requires less effort than switching between distant code locations. To better capture this cost, we introduce a context-aware measure that estimates the effort of fault localization based on the number and frequency of method and class switches. Unlike traditional metrics that consider only the number of examined statements, our measure accounts for the additional burden introduced by context switches. We propose novel algorithms that reorder the ranked list to minimize context switching. Our approach includes context-aware tie-breaking and a carefully designed ordering of classes, methods, and statements for inspection. Experiments on the Defects4J benchmark demonstrate that our technique reduces method and class switches by up to 54%, and also lowers the number of statements investigated—by 15% using the traditional metric and up to 38% using the context-aware metric. Our technique is implemented in a publicly available experimentation framework, enabling configuration of algorithm parameters and exploration of alternative variants for adaptation to different subject systems and scenarios.
- 2 February 2026
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Access
- Vol. 14, 17724-17742
Open AccessOn Context Switching in Spectrum-Based Fault Localization
Spectrum-Based Fault Localization (SBFL) helps developers identify faulty code by ranking suspicious elements based on test outcomes and code coverage. In this paper, we examine the impact of context switching— when developers must shift their attention between different parts of the code, such as methods and classes—while traversing the ranked list of suspicious elements. Our study is motivated by the observation that investigating statements located close to each other often requires less effort than switching between distant code locations. To better capture this cost, we introduce a context-aware measure that estimates the effort of fault localization based on the number and frequency of method and class switches. Unlike traditional metrics that consider only the number of examined statements, our measure accounts for the additional burden introduced by context switches. We propose novel algorithms that reorder the ranked list to minimize context switching. Our approach includes context-aware tie-breaking and a carefully designed ordering of classes, methods, and statements for inspection. Experiments on the Defects4J benchmark demonstrate that our technique reduces method and class switches by up to 54%, and also lowers the number of statements investigated—by 15% using the traditional metric and up to 38% using the context-aware metric. Our technique is implemented in a publicly available experimentation framework, enabling configuration of algorithm parameters and exploration of alternative variants for adaptation to different subject systems and scenarios.
- Open Access
- 20 November 2024
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Access
- Vol. 12, 173647-173659
Evaluating Python Static Code Analysis Tools Using FAIR Principles
Static code analysis plays a crucial role in software quality assurance. To maximize the effectiveness of these tools, it’s vital to evaluate them in a way that promotes collaboration, long-term viability, and ease of use. This paper explores the application of FAIR principles (Findability, Accessibility, Interoperability, and Reusability) to the assessment of static code analysis tools. We examine a curated selection of Python tools, considering their features, technical capabilities, and alignment with FAIR guidelines. Our analysis highlights that extending the FAIR principles to include clear documentation, performance metrics, and comprehensive testing is essential for a thorough and usable evaluation process. Furthermore, as Internet of Things (IoT) technologies become more prevalent, there is a pressing need to adapt these tools for varied and interconnected environments. This adaptation is essential for addressing the unique challenges, quality, and security issues that are characteristic of IoT systems. By applying this FAIR-based framework, we aim to empower informed decision-making within the software engineering community and promote the development of more sustainable, reliable, and reproducible static code analysis solutions.
- 20 November 2024
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Access
- Vol. 12, 173647-173659
Open AccessEvaluating Python Static Code Analysis Tools Using FAIR Principles
Static code analysis plays a crucial role in software quality assurance. To maximize the effectiveness of these tools, it’s vital to evaluate them in a way that promotes collaboration, long-term viability, and ease of use. This paper explores the application of FAIR principles (Findability, Accessibility, Interoperability, and Reusability) to the assessment of static code analysis tools. We examine a curated selection of Python tools, considering their features, technical capabilities, and alignment with FAIR guidelines. Our analysis highlights that extending the FAIR principles to include clear documentation, performance metrics, and comprehensive testing is essential for a thorough and usable evaluation process. Furthermore, as Internet of Things (IoT) technologies become more prevalent, there is a pressing need to adapt these tools for varied and interconnected environments. This adaptation is essential for addressing the unique challenges, quality, and security issues that are characteristic of IoT systems. By applying this FAIR-based framework, we aim to empower informed decision-making within the software engineering community and promote the development of more sustainable, reliable, and reproducible static code analysis solutions.
- Open Access
- 18 June 2024
- Published by Association for Computing Machinery (ACM)
- p. 110-119
Context Switch Sensitive Fault Localization
Spectrum-Based Fault Localization (SBFL) is a popular technique to assist developers in pinpointing faulty elements within their code based on test outcomes and code coverage. In this paper, we examine the impact of context switching, i.e., when developers must frequently shift their attention between different code parts (such as methods and classes) while going down the SBFL ranked list to find the faulty statement. The basis of our study is the observation that it requires less effort to investigate statements that are next to each other rather than those in different methods and classes. In particular, we analyse the number of visited methods and classes, as well as the frequency of switches between them during the fault localization process. We found that, in programs from the Defects4J benchmark, developers need to explore 40 methods and 12 classes on average, before finding the faulty statement, leading to 53 method- and 40 class switches, respectively. We introduce a novel context-aware metric that better approximates the total cost of finding a bug than traditional metrics that solely count the number of statements. Our metric considers both the statement number and the added cost of context switches. We also propose a new strategy for reducing the cost by optimizing the traversal of the elements in the ranked list based on the new context-aware metric. The algorithm not only lowers the number of statements that need to be investigated by 12% but also significantly reduces the number of class and method switches by 52%.
- 18 June 2024
- Published by Association for Computing Machinery (ACM)
- p. 110-119
Open AccessContext Switch Sensitive Fault Localization
Spectrum-Based Fault Localization (SBFL) is a popular technique to assist developers in pinpointing faulty elements within their code based on test outcomes and code coverage. In this paper, we examine the impact of context switching, i.e., when developers must frequently shift their attention between different code parts (such as methods and classes) while going down the SBFL ranked list to find the faulty statement. The basis of our study is the observation that it requires less effort to investigate statements that are next to each other rather than those in different methods and classes. In particular, we analyse the number of visited methods and classes, as well as the frequency of switches between them during the fault localization process. We found that, in programs from the Defects4J benchmark, developers need to explore 40 methods and 12 classes on average, before finding the faulty statement, leading to 53 method- and 40 class switches, respectively. We introduce a novel context-aware metric that better approximates the total cost of finding a bug than traditional metrics that solely count the number of statements. Our metric considers both the statement number and the added cost of context switches. We also propose a new strategy for reducing the cost by optimizing the traversal of the elements in the ranked list based on the new context-aware metric. The algorithm not only lowers the number of statements that need to be investigated by 12% but also significantly reduces the number of class and method switches by 52%.
- Open Access
Transforming C++11 Code to C++03 to Support Legacy Compilation Environments
Newer technologies - programming languages, environments, libraries - change very rapidly. However, various internal and external constraints often prevent projects from quickly adopting to these changes. Customers may require specific platform compatibility from a software vendor, for example. In this work, we deal with such an issue in the context of the C++ programming language. Our industrial partner is required to use SDKs that support only older C++ language editions. They, however, would like to allow their developers to use the newest language constructs in their code. To address this problem, we created a source code transformation framework to automatically backport source code written according to the C++11 standard to its functionally equivalent C++03 variant. With our framework developers are free to exploit the latest language features, while production code is still built by using a restricted set of available language constructs. This paper reports on the technical details of the transformation engine, and our experiences in applying it on two large industrial code bases and four open-source systems. Our solution is freely available and open-source.
Open AccessTransforming C++11 Code to C++03 to Support Legacy Compilation Environments
Newer technologies - programming languages, environments, libraries - change very rapidly. However, various internal and external constraints often prevent projects from quickly adopting to these changes. Customers may require specific platform compatibility from a software vendor, for example. In this work, we deal with such an issue in the context of the C++ programming language. Our industrial partner is required to use SDKs that support only older C++ language editions. They, however, would like to allow their developers to use the newest language constructs in their code. To address this problem, we created a source code transformation framework to automatically backport source code written according to the C++11 standard to its functionally equivalent C++03 variant. With our framework developers are free to exploit the latest language features, while production code is still built by using a restricted set of available language constructs. This paper reports on the technical details of the transformation engine, and our experiences in applying it on two large industrial code bases and four open-source systems. Our solution is freely available and open-source.
- Open Access
- 14 April 2024
- Published by Association for Computing Machinery (ACM)
- p. 20-21
Flaky Tests in the AI Domain
In this position paper, we investigate how frequently is randomness the cause of flakiness in the traditional and in the AI-enabled software domains. Based on previous works, it seems that while in the general domain flakiness rarely stems from randomness, in the AI domain it is a frequent phenomenon. Thus, we urge a discussion about a classification scheme of flaky tests based on whether they are caused by the inherent randomness of the AI-enabled SUT or some other reason. This way, better identification, classification and proper handling of flakiness in such systems will be possible.
- 14 April 2024
- Published by Association for Computing Machinery (ACM)
- p. 20-21
Open AccessFlaky Tests in the AI Domain
In this position paper, we investigate how frequently is randomness the cause of flakiness in the traditional and in the AI-enabled software domains. Based on previous works, it seems that while in the general domain flakiness rarely stems from randomness, in the AI domain it is a frequent phenomenon. Thus, we urge a discussion about a classification scheme of flaky tests based on whether they are caused by the inherent randomness of the AI-enabled SUT or some other reason. This way, better identification, classification and proper handling of flakiness in such systems will be possible.
- 5 September 2022
- Published by Springer Nature
- p. 93-107
Effective Spectrum Based Fault Localization Using Contextual Based Importance Weight
- 5 September 2022
- Published by Springer Nature
- p. 93-107
Effective Spectrum Based Fault Localization Using Contextual Based Importance Weight
- Open Access
- 6 August 2022
- Published by Springer Nature in Empirical Software Engineering
- Vol. 27 (6) , 1-69
Using contextual knowledge in interactive fault localization
Tool support for automated fault localization in program debugging is limited because state-of-the-art algorithms often fail to provide efficient help to the user. They usually offer a ranked list of suspicious code elements, but the fault is not guaranteed to be found among the highest ranks. In Spectrum-Based Fault Localization (SBFL) – which uses code coverage information of test cases and their execution outcomes to calculate the ranks –, the developer has to investigate several locations before finding the faulty code element. Yet, all the knowledge she a priori has or acquires during this process is not reused by the SBFL tool. There are existing approaches in which the developer interacts with the SBFL algorithm by giving feedback on the elements of the prioritized list. We propose a new approach called iFL which extends interactive approaches by exploiting contextual knowledge of the user about the next item in the ranked list (e. g., a statement), with which larger code entities (e. g., a whole function) can be repositioned in their suspiciousness. We implemented a closely related algorithm proposed by Gong et al., called Talk. First, we evaluated iFL using simulated users, and compared the results to SBFL and Talk. Next, we introduced two types of imperfections in the simulation: user’s knowledge and confidence levels. On SIR and Defects4J, results showed notable improvements in fault localization efficiency, even with strong user imperfections. We then empirically evaluated the effectiveness of the approach with real users in two sets of experiments: a quantitative evaluation of the successfulness of using iFL, and a qualitative evaluation of practical uses of the approach with experienced developers in think-aloud sessions.
- 6 August 2022
- Published by Springer Nature in Empirical Software Engineering
- Vol. 27 (6) , 1-69
Open AccessUsing contextual knowledge in interactive fault localization
Tool support for automated fault localization in program debugging is limited because state-of-the-art algorithms often fail to provide efficient help to the user. They usually offer a ranked list of suspicious code elements, but the fault is not guaranteed to be found among the highest ranks. In Spectrum-Based Fault Localization (SBFL) – which uses code coverage information of test cases and their execution outcomes to calculate the ranks –, the developer has to investigate several locations before finding the faulty code element. Yet, all the knowledge she a priori has or acquires during this process is not reused by the SBFL tool. There are existing approaches in which the developer interacts with the SBFL algorithm by giving feedback on the elements of the prioritized list. We propose a new approach called iFL which extends interactive approaches by exploiting contextual knowledge of the user about the next item in the ranked list (e. g., a statement), with which larger code entities (e. g., a whole function) can be repositioned in their suspiciousness. We implemented a closely related algorithm proposed by Gong et al., called Talk. First, we evaluated iFL using simulated users, and compared the results to SBFL and Talk. Next, we introduced two types of imperfections in the simulation: user’s knowledge and confidence levels. On SIR and Defects4J, results showed notable improvements in fault localization efficiency, even with strong user imperfections. We then empirically evaluated the effectiveness of the approach with real users in two sets of experiments: a quantitative evaluation of the successfulness of using iFL, and a qualitative evaluation of practical uses of the approach with experienced developers in think-aloud sessions.
- Open Access
- 18 January 2022
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Access
- Vol. 10, 10618-10639
A Survey of Challenges in Spectrum-Based Software Fault Localization
In software debugging, fault localization is the most difficult, expensive, tedious, and time-consuming task, particularly for large-scale software systems. This is due to the fact that it requires significant human participation and it is difficult to automate its sub-tasks. Therefore, there is a high demand for automatic fault localization techniques that can help software engineers effectively find the locations of faults with minimal human intervention. This has led to the proposal of implementing different types of such techniques. However, Spectrum Based Fault Localization (SBFL) is considered amongst the most prominent techniques in this respect due to its efficiency and effectiveness. In SBFL, the probability of each program element (e.g., statement, block, or function) being faulty is calculated based on the results of executing test cases and their corresponding code coverage information. However, SBFL techniques are not yet widely adopted in the industry. The rationale behind this is that they pose a number of issues and their performance is affected by several influential factors. For example, the characteristics of bugs, target programs, test suites, and supporting tools make their effectiveness differ dramatically from one case to another. There are massive studies on SBFL that cover its usage, formulas, performance, etc. So far, no dedicated survey points out comprehensively the issues of SBFL. In this paper, various SBFL challenges and issues have been identified, categorized, and discussed alongside many directions. Also, the paper raises awareness of the works being achieved to address the identified issues and suggests some potential solutions too.
- 18 January 2022
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Access
- Vol. 10, 10618-10639
Open AccessA Survey of Challenges in Spectrum-Based Software Fault Localization
In software debugging, fault localization is the most difficult, expensive, tedious, and time-consuming task, particularly for large-scale software systems. This is due to the fact that it requires significant human participation and it is difficult to automate its sub-tasks. Therefore, there is a high demand for automatic fault localization techniques that can help software engineers effectively find the locations of faults with minimal human intervention. This has led to the proposal of implementing different types of such techniques. However, Spectrum Based Fault Localization (SBFL) is considered amongst the most prominent techniques in this respect due to its efficiency and effectiveness. In SBFL, the probability of each program element (e.g., statement, block, or function) being faulty is calculated based on the results of executing test cases and their corresponding code coverage information. However, SBFL techniques are not yet widely adopted in the industry. The rationale behind this is that they pose a number of issues and their performance is affected by several influential factors. For example, the characteristics of bugs, target programs, test suites, and supporting tools make their effectiveness differ dramatically from one case to another. There are massive studies on SBFL that cover its usage, formulas, performance, etc. So far, no dedicated survey points out comprehensively the issues of SBFL. In this paper, various SBFL challenges and issues have been identified, categorized, and discussed alongside many directions. Also, the paper raises awareness of the works being achieved to address the identified issues and suggests some potential solutions too.
- Open Access
- 24 September 2021
- Published by Morressier GmbH
Spectrum-Based Fault Localization Aided by Program Slicing
Determining the actual location of the fault during debugging can be aided by various automated techniques. Spectrum-Based Fault Localization (SBFL) is a popular automated fault localization method that is based on test execution statistics (also known as Statistical Fault Localization). The fundamental approach in SBFL is to observe pass/fail and coverage statistics of each test
- 24 September 2021
- Published by Morressier GmbH
Open AccessSpectrum-Based Fault Localization Aided by Program Slicing
Determining the actual location of the fault during debugging can be aided by various automated techniques. Spectrum-Based Fault Localization (SBFL) is a popular automated fault localization method that is based on test execution statistics (also known as Statistical Fault Localization). The fundamental approach in SBFL is to observe pass/fail and coverage statistics of each test
- Open Access
- 14 September 2021
- Published by Morressier GmbH
Method Calls Frequency-Based Tie-Breaking Strategy For Software Fault Localization
In Spectrum-Based Fault Localization (SBFL), a suspiciousness score is assigned to each code element based on test coverage and test outcomes. The scores are then used to rank the code elements relative to each other in order to aid the programmer during the debugging process when seeking the source of a fault. However, probably none of the known SBFL formulae are guaranteed
- 14 September 2021
- Published by Morressier GmbH
Open AccessMethod Calls Frequency-Based Tie-Breaking Strategy For Software Fault Localization
In Spectrum-Based Fault Localization (SBFL), a suspiciousness score is assigned to each code element based on test coverage and test outcomes. The scores are then used to rank the code elements relative to each other in order to aid the programmer during the debugging process when seeking the source of a fault. However, probably none of the known SBFL formulae are guaranteed