https://www.mdu.se/

mdu.sePublications
Change search
Link to record
Permanent link

Direct link
Enoiu, Eduard Paul, PhDORCID iD iconorcid.org/0000-0003-2416-4205
Alternative names
Publications (10 of 119) Show all publications
Salari, M. E., Seceleanu, C., Enoiu, E. P., Eilers, M., Bucaioni, A. & Afzal, W. (2027). Bridging Function Block Diagrams and Verified Python Code: A Verification-Aware Approach for Programmable Logic Controllers. In: Lecture Notes in Computer Science: . Paper presented at 13th International Symposium on Leveraging Applications of Formal Methods, Verification and Validation, ISoLA 2026 (pp. 242-270). Springer Nature
Open this publication in new window or tab >>Bridging Function Block Diagrams and Verified Python Code: A Verification-Aware Approach for Programmable Logic Controllers
Show others...
2027 (English)In: Lecture Notes in Computer Science, Springer Nature , 2027, p. 242-270Conference paper, Published paper (Refereed)
Abstract [en]

Translating programmable logic controller (PLC) programs into analyzable artifacts can enable modern testing and verification techniques in industrial settings. PLC Function Block Diagram (FBD) programs differ from traditional software because they execute cyclically over physical inputs and outputs, combine signal flow with stateful and timed blocks, and depend on scan-cycle semantics, environment assumptions, and block-level abstractions. This paper presents a Python-based verification approach that combines PyLC+, a translation framework for IEC 61131-3 FBDs, with the Nagini verifier. PyLC+ extracts block networks from PLCopen XML and generates executable Python models that preserve the extracted topology, signal flow, and scan-cycle ordering, while making vendor-specific semantics explicit through reconstruction or abstraction. We apply the approach to 13 industrial program organization units (POUs), where 12 are verified against concrete or partially abstracted FBD-derived models, and one against an abstract requirements-level specification. The results provide evidence that automated extraction, manual semantic completion, and contract-based specification can support deductive verification of realistic POU-level models. The guarantees apply to the stated verification models, not to the full original PLC logic including all vendor-specific and timing semantics. We discuss the required abstractions, a Nagini issue exposed by one POU, and missing block semantics that currently limit further automation in PyLC+. 

Place, publisher, year, edition, pages
Springer Nature, 2027
Series
Lecture Notes in Computer Science, ISSN 0302-9743 ; 17143 LNCS
Keywords
Formal Verification, Industrial Automation, large language models, Nagini, PLC, Viper, Abstracting, Automation, Computer circuits, Formal specification, High level languages, Program translators, Programmed control systems, Python, Semantics, Topology, Translation (languages), Function block diagram, Language model, Large language model, Logic controller, Program organization units, Programmable logic, Signal flow, Programmable logic controllers
National Category
Computer Sciences
Identifiers
urn:nbn:se:mdh:diva-79494 (URN)10.1007/978-3-032-40118-2_13 (DOI)2-s2.0-105055387156 (Scopus ID)9783032401175 (ISBN)
Conference
13th International Symposium on Leveraging Applications of Formal Methods, Verification and Validation, ISoLA 2026
Available from: 2026-11-11 Created: 2026-11-11 Last updated: 2026-11-11Bibliographically approved
Enoiu, E. P. (2027). (Over)Reliance on Test Agents in AI-Assisted Software Testing. In: Lecture Notes in Computer Science, vol. 16869: . Paper presented at Workshops held in conjunction with the 45th International Conference on Computer Safety, Reliability, and Security, SAFECOMP 2026 (pp. 367-375). Springer Science and Business Media Deutschland GmbH
Open this publication in new window or tab >>(Over)Reliance on Test Agents in AI-Assisted Software Testing
2027 (English)In: Lecture Notes in Computer Science, vol. 16869, Springer Science and Business Media Deutschland GmbH , 2027, p. 367-375Conference paper, Published paper (Refereed)
Abstract [en]

AI-based test agents promise to accelerate software testing by shortening feedback loops in continuous development and improving scalability and maintainability. To realize these benefits, engineers must still be able to assess if agent outputs are useful, valid, and reliable, rather than treating them as credible because they come from a capable system. This paper argues that overreliance on AI in testing is both an agency problem, in which engineers may cede cognitive control over test design decisions, and an assurance problem, in which testing artifacts may be accepted as evidence without sufficient scrutiny. We develop this argument through three theoretical lenses: software testing as cognitive problem-solving, test agents as adaptively autonomous entities, and test design argumentation as a means of making generated tests reviewable. We propose a framework for collecting data on overreliance in test agent workflows and identify specific modes of overdependence. The goal is to support accelerated testing without weakening judgment or the assurance value of testing evidence. 

Place, publisher, year, edition, pages
Springer Science and Business Media Deutschland GmbH, 2027
Series
Lecture Notes in Computer Science, ISSN 0302-9743 ; 16869 LNCS
Keywords
cognitive problem solving, overreliance, test agents, Autonomous agents, Problem solving, Agency problems, Continuous development, Feedback loops, Over reliance, Problem-solving, Software testings, Test agent, Test designs, Software testing
National Category
Software Engineering
Identifiers
urn:nbn:se:mdh:diva-79164 (URN)10.1007/978-3-032-35506-5_25 (DOI)9783032355058 (ISBN)
Conference
Workshops held in conjunction with the 45th International Conference on Computer Safety, Reliability, and Security, SAFECOMP 2026
Available from: 2026-10-07 Created: 2026-10-07 Last updated: 2026-10-07Bibliographically approved
Enoiu, E. P., Malm, J. & Gay, G. (2026). Folklore in Software Engineering: A Definition and Conceptual Foundations. In: Proceedings 2026 IEEE/ACM 19th International Conference on Cooperative and Human Aspects of Software Engineering, CHASE 2026: . Paper presented at 19th International Conference on Cooperative and Human Aspects of Software Engineering, CHASE 2026 (pp. 166-176). Association for Computing Machinery (ACM)
Open this publication in new window or tab >>Folklore in Software Engineering: A Definition and Conceptual Foundations
2026 (English)In: Proceedings 2026 IEEE/ACM 19th International Conference on Cooperative and Human Aspects of Software Engineering, CHASE 2026, Association for Computing Machinery (ACM) , 2026, p. 166-176Conference paper, Published paper (Refereed)
Abstract [en]

We explore the concept of folklore within software engineering, drawing from folklore studies to define and characterize narratives, myths, rituals, humor, and informal knowledge that circulate within software development communities. Using a literature review and thematic analysis, we curated exemplar folklore items (e.g., beliefs about where defects occur, the 10x developer legend, and technical debt). We analyzed their narrative form, symbolic meaning, occupational relevance, and links to knowledge areas in software engineering. To ground these concepts in practice, we conducted semi-structured interviews with 12 industrial practitioners in Sweden to explore how such narratives are recognized or transmitted within their daily work and how they affect it. Synthesizing these results, we propose a working definition of software engineering folklore as informally transmitted, traditional, and emergent narratives and heuristics enacted within occupational folk groups that shape identity, values, and collective knowledge. We argue that making the concept of software engineering folklore explicit provides a foundation for subsequent ethnography and folklore studies and for reflective practice that can preserve context-effective heuristics while challenging unhelpful folklore. 

Place, publisher, year, edition, pages
Association for Computing Machinery (ACM), 2026
Keywords
Folklore, Software Engineering, Computer software, Conceptual foundations, Development community, Engineering drawing, Industrial practitioners, Knowledge areas, Literature reviews, Semi structured interviews, Technical debts, Thematic analysis, Software design
National Category
Software Engineering
Identifiers
urn:nbn:se:mdh:diva-78669 (URN)10.1145/3794860.3794897 (DOI)2-s2.0-105045280641 (Scopus ID)9798400724848 (ISBN)
Conference
19th International Conference on Cooperative and Human Aspects of Software Engineering, CHASE 2026
Available from: 2026-07-29 Created: 2026-07-29 Last updated: 2026-07-29Bibliographically approved
Hermawan, R., Bucaioni, A., Enoiu, E. P., Afzal, W., Saadatmand, M., Zaimovic, N. & Ibtasham, M. S. (2026). Let's read the log: root cause analysis of railway test execution logs with large language models. Innovations in Systems and Software Engineering, 22(2), Article ID 33.
Open this publication in new window or tab >>Let's read the log: root cause analysis of railway test execution logs with large language models
Show others...
2026 (English)In: Innovations in Systems and Software Engineering, ISSN 1614-5046, E-ISSN 1614-5054, Vol. 22, no 2, article id 33Article in journal (Refereed) Published
Abstract [en]

Software quality assurance is pivotal in safety-critical domains such as railway systems, where failures could have catastrophic consequences. In this context, the train control and management system, which enables communication and control across multiple subsystems (such as doors and information panels) within a modern train, and its software must undergo rigorous validation. Alstom Rail Sweden AB employs a digital twin infrastructure to simulate and validate train control and management system software. While this setup improves system-level testing, root-cause analysis of test failures remains a manual, time-consuming bottleneck. In this study, we explore the potential of large language models to automate root cause analysis by interpreting test execution logs generated during digital twin-based testing. We benchmark nine state-of-the-art large language models: Aion-1.0, DeepSeek R1, DeepSeek V3 0324, Mistral Small 3.1 24B, GPT o3-mini, Gemini 2.5 Pro Experimental, QwQ 32B, Gemini 2.0 Flash Experimental, and Amazon Nova 2 Lite using zero-shot chain-of-thought prompting to assess their ability to reason about fault patterns in real-world industrial test execution logs. The logs were sourced from Alstom's digital twin-based testing environment and captured complex operational behaviour typical of embedded, safety-critical systems. Our results showed that long-context LLMs tended to achieve higher accuracy than smaller models. Gemini 2.5 Pro Experimental achieved the best performance with 66.7% accuracy and produced coherent step-by-step explanations. However, coherent reasoning did not consistently translate into correct root-cause identification, suggesting that LLMs are currently better suited to support human-in-the-loop root cause analysis than to fully automate it, and motivating further work to improve prediction accuracy for log-based RCA.

Place, publisher, year, edition, pages
Springer Nature, 2026
Keywords
Root cause analysis, Log analysis, Test log analysis, LLM
National Category
Computer Systems
Identifiers
urn:nbn:se:mdh:diva-78916 (URN)10.1007/s11334-026-00657-1 (DOI)001862226400001 ()2-s2.0-105048829703 (Scopus ID)
Available from: 2026-09-04 Created: 2026-09-04 Last updated: 2026-11-06Bibliographically approved
Zafar, M. N., Afzal, W., Enoiu, E. P., Haider, Z., Zaimovic, N. & Arshad, I. (2026). Optimizing model-based generated tests for safety-critical embedded software. Software quality journal, 34(4), Article ID 55.
Open this publication in new window or tab >>Optimizing model-based generated tests for safety-critical embedded software
Show others...
2026 (English)In: Software quality journal, ISSN 0963-9314, E-ISSN 1573-1367, Vol. 34, no 4, article id 55Article in journal (Refereed) Published
Abstract [en]

The test suites generated through model-based testing (MBT) often include redundant test cases that neither enhance coverage nor fault detection but instead reduce test execution efficiency. Such test cases should be discarded to minimize the test suite size and its effect on execution cost while preserving fault detection capabilities. In this paper, we present a test suite optimization approach, implemented in a tool, that leverages symbolic classification, a greedy algorithm, and a similarity measure. It reduces MBT-generated test suites for embedded software by identifying and eliminating redundancy while minimizing its impact on the fault detection rate. We comparatively evaluate the optimized test suites against the original MBT-generated and also the manually created test suites, focusing on fault detection effectiveness and test execution efficiency. We also examine the robustness of proposed approach using two substantially different industrial case studies from Alstom Rail AB, Sweden. Results showed a significant reduction of over 80% in test suite size with a minimal effect on fault detection effectiveness. We further find that the test execution time of optimized test suites is equivalent to that of manually created ones, while achieving a fault detection rate ranging from 87% to 100%. Hence, results indicate the effectiveness and robustness of the proposed approach despite different redundancy sources (i.e., behavioral and structural) across the considered systems during the MBT test generation process.

Place, publisher, year, edition, pages
SPRINGER, 2026
Keywords
Model-based Testing, System-level, Black-box Testing, Safety-critical Software, Optimization
National Category
Computer Systems
Identifiers
urn:nbn:se:mdh:diva-79206 (URN)10.1007/s11219-026-09783-2 (DOI)001896250400001 ()2-s2.0-105052901370 (Scopus ID)
Note

This article is licensed under a Creative Commons Attribution 4.0 International License,which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long asyou give appropriate credit to the original author(s) and the source, provide a link to the Creative Commonslicence, and indicate if changes were made.

Available from: 2026-10-19 Created: 2026-10-19 Last updated: 2026-10-26Bibliographically approved
Nicaj, A., Flemström, D., Enoiu, E. P. & Afzal, W. (2026). Passive Testing of Vehicular Embedded Systems: An Industrial Case Study with T-EARS and Napkin Studio. In: Lect. Notes Comput. Sci.: . Paper presented at Lecture Notes in Computer Science (pp. 290-306). Springer Nature
Open this publication in new window or tab >>Passive Testing of Vehicular Embedded Systems: An Industrial Case Study with T-EARS and Napkin Studio
2026 (English)In: Lect. Notes Comput. Sci., Springer Nature , 2026, p. 290-306Conference paper, Published paper (Refereed)
Abstract [en]

Passive testing is an approach to verify system behavior by observing logs from normal operation, without actively injecting test stimuli. This paper presents an industrial case study of applying passive testing in the domain of vehicular embedded systems, utilizing two specialized tools: Timed Easy Approach to Requirements Syntax (T-EARS) for specifying temporal requirements, and Napkin Studio for evaluating these requirements against real system execution logs. We collaborated with Volvo Construction Equipment (VCE) to translate a set of natural language requirements into structured T-EARS specifications. Then we used Napkin Studio to test these requirements against recorded machine log data passively. We evaluate the feasibility of this approach, the extent to which it can detect requirement violations or injected faults, and the perceptions of industry stakeholders regarding the adoption of such passive tests in their verification process. The results show that a majority of functional requirements can be expressed as Guarded Assertions (GAs) and validated on logs, uncovering specific issues. Stakeholders found the method promising for improving test coverage and efficiency, although integration challenges (e.g., log signal inconsistencies and tool usability issues) were noted. Overall, this work provides empirical evidence that passive testing with T-EARS and Napkin Studio can complement traditional hardware-in-the-loop testing, offering a scalable and non-intrusive verification approach in developing vehicular systems.

Place, publisher, year, edition, pages
Springer Nature, 2026
Series
Lecture Notes in Computer Science, ISSN 0302-9743 ; 16107 LNCS
Keywords
embedded systems, Napkin Studio, Passive testing, requirements engineering, T-EARS, vehicular systems, Construction equipment, Embedded-system, Industrial case study, Normal operations, Requirement engineering, Specialized tools, System behaviors, Timed easy approach to requirement syntax
National Category
Electrical Engineering, Electronic Engineering, Information Engineering
Identifiers
urn:nbn:se:mdh:diva-73983 (URN)10.1007/978-3-032-05188-2_19 (DOI)001686274800019 ()2-s2.0-105016906274 (Scopus ID)9789819698936 (ISBN)9783031984136 (ISBN)
Conference
Lecture Notes in Computer Science
Available from: 2025-11-03 Created: 2025-11-03 Last updated: 2026-03-25Bibliographically approved
Kogler, L., Ehrhart, M., Dornauer, B. & Enoiu, E. P. (2026). RESTifAI: LLM-Based Workflow for Reusable REST API Testing. In: 2026 IEEE/ACM 48TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING: COMPANION PROCEEDINGS, ICSE-COMPANION 2026. Paper presented at 48th International Conference on Software Engineering: Companion Proceedings-ICSE-Companion, APR 14-16, 2026, Rio de Janeiro, BRAZIL (pp. 24-28). ASSOC COMPUTING MACHINERY
Open this publication in new window or tab >>RESTifAI: LLM-Based Workflow for Reusable REST API Testing
2026 (English)In: 2026 IEEE/ACM 48TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING: COMPANION PROCEEDINGS, ICSE-COMPANION 2026, ASSOC COMPUTING MACHINERY , 2026, p. 24-28Conference paper, Published paper (Refereed)
Abstract [en]

With this paper, we introduce RESTifAI, an LLM-driven approach for generating reusable, CI/CD-ready REST API tests, following the happy-path approach. Unlike existing tools that often focus primarily on internal server errors, RESTifAI systematically constructs valid test scenarios (happy paths) and derives negative cases to verify both intended functionality (2xx responses) and robustness against invalid inputs or business-rule violations (4xx responses). The results indicate that RESTifAI performs on par with the latest LLM tools, i.e., AutoRestTest and LogiAgent, while addressing limitations related to reusability, oracle complexity, and integration. To support this, we provide common comparative results and demonstrate the tool's applicability in industrial services.

Place, publisher, year, edition, pages
ASSOC COMPUTING MACHINERY, 2026
Keywords
REST API Testing, OpenAPI, Automated Test Generation, Large Language Model
National Category
Software Engineering
Identifiers
urn:nbn:se:mdh:diva-79292 (URN)10.1145/3774748.3787598 (DOI)001880883000010 ()2-s2.0-105051354061 (Scopus ID)979-8-4007-2296-7 (ISBN)
Conference
48th International Conference on Software Engineering: Companion Proceedings-ICSE-Companion, APR 14-16, 2026, Rio de Janeiro, BRAZIL
Available from: 2026-10-26 Created: 2026-10-26 Last updated: 2026-10-26Bibliographically approved
Enoiu, E. P. & Feldt, R. (2026). Test Design and Review Argumentation in AI-Assisted Test Generation. In: 2026 IEEE International Conference on Software Testing, Verification and Validation Workshops (ICSTW): . Paper presented at 2026 IEEE International Conference on Software Testing, Verification and Validation Workshops (ICSTW), 18-22 May, 2026, Daejeon, South Korea (pp. 159-162). Institute of Electrical and Electronics Engineers (IEEE)
Open this publication in new window or tab >>Test Design and Review Argumentation in AI-Assisted Test Generation
2026 (English)In: 2026 IEEE International Conference on Software Testing, Verification and Validation Workshops (ICSTW), Institute of Electrical and Electronics Engineers (IEEE) , 2026, p. 159-162Conference paper, Published paper (Refereed)
Abstract [en]

AI assistants can increasingly generate and evolve test cases. The challenge is no longer merely to produce them, but also to help engineers understand why a generated artefact exists and what supports it. Existing work has focused on classifying testing techniques, linking requirements to tests and structuring system assurance arguments, but it does not explicitly represent the argumentation behind individual test design decisions. We propose a conceptual taxonomy and a structured template for AI-assisted test generation that characterizes a test case by its test goal, claim, reason, and evidence. The taxonomy is intended for both constructive use during test design and retrospective use during review, to assess the quality of the attached argument rather than the plausibility or objective value of the generated test cases.

Place, publisher, year, edition, pages
Institute of Electrical and Electronics Engineers (IEEE), 2026
Series
., ISSN 2159-4848
Keywords
Testing, Cognition, Cognitive systems, Artificial intelligence, Design methodology, Printing, Taxonomy, Modeling, Conferences, Software testing, ai-assisted test generation, test design argumentation, test rationale, explainable ai, requirements traceability, evidence-based testing, software test review
National Category
Software Engineering
Identifiers
urn:nbn:se:mdh:diva-79383 (URN)10.1109/ICSTW72326.2026.00039 (DOI)2-s2.0-105045575923 (Scopus ID)979-8-3195-4691-3 (ISBN)
Conference
2026 IEEE International Conference on Software Testing, Verification and Validation Workshops (ICSTW), 18-22 May, 2026, Daejeon, South Korea
Available from: 2026-11-03 Created: 2026-11-03 Last updated: 2026-11-03Bibliographically approved
Zafar, M. N., Afzal, W., Enoiu, E. P., Haider, Z. & Singh, I. (2025). A Model-Based Test Script Generation Framework and Industrial Insight. SN Computer Science, 6(4), Article ID 294.
Open this publication in new window or tab >>A Model-Based Test Script Generation Framework and Industrial Insight
Show others...
2025 (English)In: SN Computer Science, ISSN 2662-995X, Vol. 6, no 4, article id 294Article in journal (Refereed) Published
Abstract [en]

Model-based testing (MBT) generates test cases through a model representing the software under test (SUT). The generated abstract test cases need to be transformed into concrete or executable test scripts. Despite the benefits offered by MBT, its industrial adoption is slow. This paper aims to propose a Model-Based Test scrIpt GenEration fRamework (TIGER) based on GraphWalker (GW), an open-source MBT tool, to evaluate the accuracy of generated test scripts to reflect real-world scenarios defined by the model, and to report on the findings of an industrial survey on MBT adoption. We have validated the robustness of the TIGER using an industrial case study from Alstom Rail AB, Sweden. We have injected faults into the model of the SUT based on three mutation operators to generate faulty test scripts. The aim of generating faulty test scripts is to produce failing test steps and to guarantee the absence of faults in the SUT. Moreover, we have also generated the test scripts using the correct version of the model and executed them to analyze the behavior of the generated test scripts in comparison with manually written test scripts. The experimental results show that the generated test scripts are executable, provide 100% requirements coverage, and can be used to uncover faults at the software-in-the-loop simulation level of system testing. Additionally, the analysis of the survey data reveals that MBT can address most of the identified testing challenges, but there remain certain barriers to its adoption.

Place, publisher, year, edition, pages
Springer Nature, 2025
Keywords
Case study, Industrial survey, Model-based testing, Test script generation
National Category
Computer and Information Sciences
Identifiers
urn:nbn:se:mdh:diva-70735 (URN)10.1007/s42979-025-03823-7 (DOI)2-s2.0-105000286701 (Scopus ID)
Available from: 2025-04-02 Created: 2025-04-02 Last updated: 2026-03-17Bibliographically approved
Ebrahimi Salari, M., Enoiu, E. P., Seceleanu, C., Bucaioni, A., Afzal, W. & Eilers, M. (2025). A Verification-Aware Pipeline for Programmable Logic Controllers: From Function Block Diagrams to Verified Python Code. Sweden
Open this publication in new window or tab >>A Verification-Aware Pipeline for Programmable Logic Controllers: From Function Block Diagrams to Verified Python Code
Show others...
2025 (English)Report (Other academic)
Abstract [en]

Translating programmable logic controller (PLC) programs into analyzable software artifacts is an important step toward enabling modern software testing and verification techniques in industrial settings. This paper presents a replication study in which we use PyLC+, a translation framework for IEC 61131-3 Function Block Diagrams (FBD), together with the Nagini verifier to perform functional correctness checks on industrial safety-critical logic. PyLC+ extracts block networks from PLCopen XML and generates executable Python models that preserve block semantics, signal flow, and scan-cycle behavior. We applied this workflow to a representative set of 13 industrial POUs from an electropneumatic brake control subsystem. All 13 POUs were verified: twelve using concrete or partially abstracted FBD models, and one using an abstract requirements-level specification whose 7-tuple specification initially exposed a bug in the Nagini verifier (a lack of support for tuples with more than six elements), which was fixed by the Nagini developers. The results show that a combination of automated extraction, manual semantic reconstruction, and contract-based specification is sufficient to verify realistic industrial logic at the POU level. We also discuss the abstraction decisions, the Nagini bug uncovered by one POU, and the remaining missing block semantics that constrain how far automation can be pushed in future versions of PyLC+.

Place, publisher, year, edition, pages
Sweden: , 2025. p. 15
Keywords
PLC, Formal Verification, PyLC+, Nagini, Viper, large language models, Industrial Automation
National Category
Computer Sciences
Research subject
Computer Science
Identifiers
urn:nbn:se:mdh:diva-74944 (URN)
Available from: 2025-12-08 Created: 2025-12-08 Last updated: 2025-12-09Bibliographically approved
Organisations
Identifiers
ORCID iD: ORCID iD iconorcid.org/0000-0003-2416-4205

Search in DiVA

Show all publications