AFAndrea Fornaia

Andrea Fornaia

*This is an algorithmically generated author record based on publicly available information.

Current Organizations / Institutes

The organizations/institutes from the scholar's latest article


Andrea Fornaia has a total of 6 co-authors. Here are the top co-authors by number of shared publications:


Latest Publications

  • Open Access

    A Decentralized Solution for Epidemiological Surveillance in Campus Scenarios

    by Andrea Fornaia, Giovanni Marotta, Giuseppe Pappalardo, Emiliano Tramontana

    Throughout the various containment phases of a pandemic, such as Covid-19, digital tools and services prove to be essential measures to counteract its disrupting effects in social and working interactions. Within this scope, Nausica@DApp, the comprehensive solution proposed in this paper, is capable of facilitating a manageable co-existence of the teaching and research activities of a campus corporation with the organizational constraints posed by the pandemic, or even when the virus will exhibit an endemic behavior, throughout several intervention areas, such as personnel contact tracing, crowd gathering surveillance, and epidemiological monitoring. These operational requirements, in particular indirect contact tracing and overcrowd monitoring, call for the adoption of an absolute device localization paradigm, which, in the proposed solution, has been devised on top of the campus WiFi infrastructure and has proved to be encouragingly accurate in most cases. Absolute localization, on the other hand, imply a certain degree of server-based centralized operations, which might affect the preservation of user data privacy. The novelty of the proposed solution consists in maximizing confidentiality and integrity in sensitive personal information in spite of the centralized localization system, by means of a mostly decentralized approach, with mobile apps performing contact tracing matching operations locally to the portable devices on pseudonymized user data, whose authenticity is guaranteed by a blockchain which preserves their cryptographic hashes. Furthermore, the proposed novel solution includes enforcing privacy preservation by avoiding the use of the Bluetooth app-to-app channel for user data exchange from the overall design, conversely a typical approach of most contract tracing solutions. By means of a sensible use of the blockchain features, integrated into the solution’s microservice-based backend, a higher degree of operation transparency to rely on boosts the user’s level of trust. As a result of using the proposed solution, the availability and reliability of data about people gathering within the campus premises are enhanced; moreover, contact tracing is achieved while using the WiFi services, hence without forcing users to adopt new habits, and without compromising privacy. The overall system has been analysed in terms of performance and costs, and the experiments have shown that its adoption is viable and effective.


  • A Blockchain handling Data in a Waste Recycling Scenario and Fostering Participation

    by Leonardo Pelonero, Andrea Fornaia, Emiliano Tramontana

    When having to improve waste collection and recycling, the citizen involvement is paramount. However, the lack of transparency about everyday activities and progresses towards long term goals could result in a loss of interest for the community and more difficulties in achieving desired results. In our proposed approach, data related to waste collection would be automatically passed from sensors to a blockchain smart contract. Such data include the amount of waste collected for each category from a citizen. By using a blockchain storing data related to collected waste, maximum data integrity and transparency would be ensured. Furthermore, citizens are provided with a smartphone app to read data from the blockchain, register other data concerning their activities, and check their fee balance. The overall solution, by ensuring that each citizen can monitor their progress and the global results achieved by the community, would address and foster participation.


  • Open Access

    REDUNET: reducing test suites by integrating set cover and network-based optimization

    by Misael Mongiovì, Andrea Fornaia, Emiliano Tramontana

    The availability of effective test suites is critical for the development and maintenance of reliable software systems. To increase test effectiveness, software developers tend to employ larger and larger test suites. The recent availability of software tools for automatic test generation makes building large test suites affordable, therefore contributing to accelerating this trend. However, large test suites, though more effective, are resources and time consuming and therefore cannot be executed frequently. Reducing them without decreasing code coverage is a needed compromise between efficiency and effectiveness of the test, hence enabling a more regular check of the software under development. We propose a novel approach, namely REDUNET, to reduce a test suite while keeping the same code coverage. We integrate this approach in a complete framework for the automatic generation of efficient and effective test suites, which includes test suite generation, code coverage analysis, and test suite reduction. Our approach formulates the test suite reduction as a set cover problem and applies integer linear programming and a network-based optimisation, which takes advantage of the properties of the control flow graph. We find the optimal set of test cases that keeps the same code coverage in fractions of seconds on real software projects and test suites generated automatically by Randoop. The results on ten real software systems show that the proposed approach finds the optimal minimisation and achieves up to 90% reduction and more than 50% reduction on all systems under analysis. On the largest project our reduction algorithm performs more than three times faster than both integer linear programming alone and the state-of-the-art heuristic Harrold Gupta Soffa.


  • Open Access

    Cloud Services for On-Demand Vehicles Management

    by Andrea Fornaia, Christian Napoli, Emiliano Tramontana

    Smart cities providing connectivity to users and other advanced services can be leveraged to improve public transport services. This paper proposes a solution that lets citizens request a public vehicle to perform additional stops off the main route, hence achieving a customisation of the transport operator services to better assist users. A cloud infrastructure and a proper distributed architecture have been designed to assess whether user requests can be accepted. The proposed software solution considers viable the requests that can fit to available secondary routes and to other user demands that have been previously accepted. Then, drivers will be alerted in advance in order to adapt their route. DOI: http://dx.doi.org/10.5755/j01.itc.46.4.17331


  • DeDuCT: A Data Dependence Based Concern Tagger for Modularity Analysis

    by Andrea Fornaia, Emiliano Tramontana

    Modularity of a software system can be assessed once responsibilities of each method and class have been determined. Generally, developers attribute responsibilities to methods and classes manually. This can be problematic given that it relies on developers judgement and effort. This paper proposes an approach to automatically attribute concern tags to each instructions. The approach is based on taint analysis to determine which code lines are related to each other by data dependence. Moreover, Java APIs provide the tags used to mark code lines. The automatic concern tagging that we bring about is used to find out how responsibilities are spread in the code, and then to suggest refactoring activities in case tangling occurs.