Skip to main content

Showing 1–9 of 9 results for author: Terragni, V

.
  1. arXiv:2406.07737  [pdf, other

    cs.SE cs.AI cs.LG cs.PL

    The Future of Software Engineering in an AI-Driven World

    Authors: Valerio Terragni, Partha Roop, Kelly Blincoe

    Abstract: A paradigm shift is underway in Software Engineering, with AI systems such as LLMs gaining increasing importance for improving software development productivity. This trend is anticipated to persist. In the next five years, we will likely see an increasing symbiotic partnership between human developers and AI. The Software Engineering research community cannot afford to overlook this trend; we mus… ▽ More

    Submitted 11 June, 2024; originally announced June 2024.

    Comments: This paper was accepted at the "International Workshop on Software Engineering in 2030," co-located with FSE 2024. It was also invited to the special issue of ACM TOSEM

  2. arXiv:2406.05251  [pdf, other

    cs.LG cs.SE

    Automated Trustworthiness Testing for Machine Learning Classifiers

    Authors: Steven Cho, Seaton Cousins-Baxter, Stefano Ruberto, Valerio Terragni

    Abstract: Machine Learning (ML) has become an integral part of our society, commonly used in critical domains such as finance, healthcare, and transportation. Therefore, it is crucial to evaluate not only whether ML models make correct predictions but also whether they do so for the correct reasons, ensuring our trust that will perform well on unseen data. This concept is known as trustworthiness in ML. Rec… ▽ More

    Submitted 7 June, 2024; originally announced June 2024.

  3. GenMorph: Automatically Generating Metamorphic Relations via Genetic Programming

    Authors: Jon Ayerdi, Valerio Terragni, Gunel Jahangirova, Aitor Arrieta, Paolo Tonella

    Abstract: Metamorphic testing is a popular approach that aims to alleviate the oracle problem in software testing. At the core of this approach are Metamorphic Relations (MRs), specifying properties that hold among multiple test inputs and corresponding outputs. Deriving MRs is mostly a manual activity, since their automated generation is a challenging and largely unexplored problem. This paper presents G… ▽ More

    Submitted 5 June, 2024; v1 submitted 23 December, 2023; originally announced December 2023.

  4. StubCoder: Automated Generation and Repair of Stub Code for Mock Objects

    Authors: Hengcheng Zhu, Lili Wei, Valerio Terragni, Yepang Liu, Shing-Chi Cheung, Jiarong Wu, Qin Sheng, Bing Zhang, Lihong Song

    Abstract: Mocking is an essential unit testing technique for isolating the class under test (CUT) from its dependencies. Developers often leverage mocking frameworks to develop stub code that specifies the behaviors of mock objects. However, develo** and maintaining stub code is labor-intensive and error-prone. In this paper, we present StubCoder to automatically generate and repair stub code for regressi… ▽ More

    Submitted 27 July, 2023; originally announced July 2023.

    Comments: This paper was accepted by the ACM Transactions on Software Engineering and Methodology (TOSEM) in July 2023

  5. arXiv:2304.07548  [pdf, other

    cs.SE

    MR-Scout: Automated Synthesis of Metamorphic Relations from Existing Test Cases

    Authors: Congying Xu, Valerio Terragni, Hengcheng Zhu, Jiarong Wu, Shing-Chi Cheung

    Abstract: Metamorphic Testing (MT) alleviates the oracle problem by defining oracles based on metamorphic relations (MRs), that govern multiple related inputs and their outputs. However, designing MRs is challenging, as it requires domain-specific knowledge. This hinders the widespread adoption of MT. We observe that developer-written test cases can embed domain knowledge that encodes MRs. Such encoded MRs… ▽ More

    Submitted 24 June, 2024; v1 submitted 15 April, 2023; originally announced April 2023.

    Comments: accepted by TOSEM'24, and available at https://dl.acm.org/doi/abs/10.1145/3656340

    ACM Class: D.2.5

  6. arXiv:2109.01138  [pdf, other

    cs.SE

    APIzation: Generating Reusable APIs from StackOverflow Code Snippets

    Authors: Valerio Terragni, Pasquale Salza

    Abstract: Developer forums like StackOverflow have become essential resources to modern software development practices. However, many code snippets lack a well-defined method declaration, and thus they are often incomplete for immediate reuse. Developers must adapt the retrieved code snippets by parameterizing the variables involved and identifying the return value. This activity, which we call APIzation of… ▽ More

    Submitted 2 September, 2021; originally announced September 2021.

    Comments: Accepted for publication in the 36th IEEE/ACM International Conference on Automated Software Engineering (ASE 2021)

  7. arXiv:2104.05233  [pdf, other

    cs.SE

    An Evolutionary Approach to Adapt Tests Across Mobile Apps

    Authors: Leonardo Mariani, Mauro Pezzè, Valerio Terragni, Daniele Zuddas

    Abstract: Automatic generators of GUI tests often fail to generate semantically relevant test cases, and thus miss important test scenarios. To address this issue, test adaptation techniques can be used to automatically generate semantically meaningful GUI tests from test cases of applications with similar functionalities. In this paper, we present ADAPTDROID, a technique that approaches the test adaptation… ▽ More

    Submitted 12 April, 2021; originally announced April 2021.

  8. arXiv:2103.02901  [pdf, other

    cs.SE

    GAssert: A Fully Automated Tool to Improve Assertion Oracles

    Authors: Valerio Terragni, Gunel Jahangirova, Paolo Tonella, Mauro Pezzè

    Abstract: This demo presents the implementation and usage details of GASSERT, the first tool to automatically improve assertion oracles. Assertion oracles are executable boolean expressions placed inside the program that should pass (return true) for all correct executions and fail (return false) for all incorrect executions. Because designing perfect assertion oracles is difficult, assertions are prone to… ▽ More

    Submitted 4 March, 2021; originally announced March 2021.

    Comments: 4 pages, published at the 43nd IEEE/ACM International Conference on Software Engineering, Demonstration Track ICSE-DEMO 2021

  9. arXiv:2001.11535  [pdf, other

    cs.NE

    SGP-DT: Semantic Genetic Programming Based on Dynamic Targets

    Authors: Stefano Ruberto, Valerio Terragni, Jason H. Moore

    Abstract: Semantic GP is a promising approach that introduces semantic awareness during genetic evolution. This paper presents a new Semantic GP approach based on Dynamic Target (SGP-DT) that divides the search problem into multiple GP runs. The evolution in each run is guided by a new (dynamic) target based on the residual errors. To obtain the final solution, SGP-DT combines the solutions of each run usin… ▽ More

    Submitted 30 January, 2020; originally announced January 2020.

    Comments: 16 pages, European Conference on Genetic Programming (EuroGP 20)