scholarly journals Automating Test Case Identification in Java Open Source Projects on GitHub

2021 ◽  
Vol 40 (3) ◽  
pp. 575-605
Author(s):  
Matej Madeja ◽  
Jaroslav Porubän ◽  
Michaela Bačíková ◽  
Matúš Sulír ◽  
Ján Juhár ◽  
...  
2011 ◽  
Vol 60 (2) ◽  
pp. 819-824 ◽  
Author(s):  
Oliviero Barana ◽  
Cédric Boulbe ◽  
Sylvain Brémond ◽  
Simone Mannori ◽  
Philippe Moreau ◽  
...  

Author(s):  
Rajvir Singh ◽  
Anita Singhrova ◽  
Rajesh Bhatia

Detection of fault proneness classes helps software testers to generate effective class level test cases. In this article, a novel technique is presented for an optimized test case generation for ant-1.7 open source software. Class level object oriented (OO) metrics are considered as effective means to find fault proneness classes. The open source software ant-1.7 is considered for the evaluation of proposed techniques as a case study. The proposed mathematical model is the first of its kind generated using Weka open source software to select effective OO metrics. Effective and ineffective OO metrics are identified using feature selection techniques for generating test cases to cover fault proneness classes. In this methodology, only effective metrics are considered for assigning weights to test paths. The results indicate that the proposed methodology is effective and efficient as the average fault exposition potential of generated test cases is 90.16% and test cases execution time saving is 45.11%.


2020 ◽  
Author(s):  
Péter Kalicz ◽  
Péter Csáki ◽  
Katalin Anita Zagyvai-Kiss ◽  
Zoltán Gribovszki

<p>Manual throughfall gauges can not apply to explore the temporal properties of precipitation redistribution.  To follow the interception temporarily it is necessary to use automatic gauges. Commercial rainfall data-loggers are suitable but in a spatially heterogeneous environment, like agroforestry systems, need a large number to represent the spatial differences. To reduce the cost, we started to develop a microcontroller-based data logger.</p><p>As a test case, we develop new auxiliary equipment for an already working custom trough in our riparian alder plot. It is a large surface trough with a big container where water level change is sensed. This gauge works with a commercial data logger which will be used for validation purposes. The planned addition is a tipping bucket, which provides a digital signal directly. The simple task is to log the timestamp of the tips. After many iterations, an ARM<br>Cortex-M0+ based architecture was selected, which integrates all the necessary components of a simple data logger.  The development is fully open-source shared through git (https://github.com/kaliczp/hvlog). The presentation shares the experiences accumulated during the continuous development.</p><p>This research has been supported by the EFOP-3.6.2-16-2017-00018 in University of Sopron project and the corresponding author's work has been also supported by the János Bolyai Scholarship of the Hungarian Academy of Sciences and ÚNKP-19-4-I-4-SOE-4 New National Excellence<br>Program of the Ministry for Innovation and Technology.</p>


2019 ◽  
Vol 3 (2) ◽  
pp. 59 ◽  
Author(s):  
Peter Renze ◽  
Kevin Akermann

A verification and validation study was performed using the open source computational fluid dynamics software package OpenFOAM version 6-dev for conjugate heat transfer problems. The test cases had a growing complexity starting from a simple steady state problem over unsteady heat transfer to more realistic engineering applications. First, a fin effectiveness study was performed. Then, the external convection at pipes and internal pipe heat transfer were investigated. The validity of the techniques was shown for each test case by comparing the simulation results with experimental and analytic data available in the literature. Finally, a simplified shell-and-tube heat exchanger was simulated to demonstrate how these methods can be applied to plant scale engineering problems.


2018 ◽  
Vol 2018 ◽  
pp. 1-42 ◽  
Author(s):  
David Insa ◽  
Sergio Pérez ◽  
Josep Silva ◽  
Salvador Tamarit

In any alive and nontrivial program, the source code naturally evolves along the lifecycle for many reasons such as the implementation of new functionality, the optimization of a bottleneck, or the refactoring of an obscure function. Frequently, these code changes affect various different functions and modules, so it can be difficult to know whether the correct behaviour of the previous version has been preserved in the new version. In this paper, we face this problem in the context of the Erlang language, where most developers rely on a previously defined test suite to check the behaviour preservation. We propose an alternative approach to automatically obtain a test suite that specifically focusses on comparing the old and new versions of the code. Our test case generation is directed by a sophisticated combination of several already existing tools such as TypEr, CutEr, and PropEr; and it introduces novel ideas such as allowing the programmer to choose one or more expressions of interest that must preserve the behaviour, or the recording of the sequences of values to which those expressions are evaluated. All the presented work has been implemented in an open-source tool that is publicly available on GitHub.


Author(s):  
Martin Heinrich ◽  
Rüdiger Schwarze

A segregated pressure-based solver for compressible flows for turbomachinery applications has been developed to investigate the flowfield the compressor side of a turbocharger. The solver is based on the open source CFD library OpenFOAM. Local time stepping is employed, the total energy equation is implemented and the multiple reference frame approach is utilized. The solver has been validated using two test cases for centrifugal compressors. The first case is the simlation of one blade passage of the DLR centrifugal compressor for highspeed subsonic flows. The complete compressor side of a turbocharger is used as second test case, including ported shroud and volute. The performance maps are calculated for several rotational speeds. In each case, numerical results and test bench measurements show a good similarity and the slopes are met well. The performance is overpredicted by up to 5 %, though.


Energies ◽  
2021 ◽  
Vol 14 (15) ◽  
pp. 4412
Author(s):  
Manuel J. Blanco ◽  
Victor Grigoriev ◽  
Kypros Milidonis ◽  
George Tsouloupas ◽  
Miguel Larrañeta ◽  
...  

Integrals that are of interest in the analysis, design, and optimization of concentrating solar thermal systems (CST), such as the annual optical efficiency of the light collection and concentration (LCC) subsystem, can be accurately computed or estimated in two distinct ways: on the time domain and on the spatial domain. This article explores these two ways, using a case study that is highly representative of the commercial CST systems being deployed worldwide. In the time domain, the computation of these integrals are explored using 1-min, 10-min, and 1-h solar DNI input data and using The Cyprus Institute (CyI)’s High-Performance Computing (HPC) system and an open-source ray tracer, Tonatiuh++, being actively developed at CyI. In the spatial domain, the computation of these integrals is explored using SunPATH, another open-source software tool being actively developed at CyI, in tandem with Tonatiuh++. The comparison between the time and spatial domain approach clearly indicate that the spatial domain approach using SunPATH is dramatically more computationally efficient than the time domain approach. According to the results obtained, at least for the case study analyzed in this article, to compute the annual energy delivered by the LCC subsystem with a relative error less than 0.1%, it is enough to provide SunPATH with 1-h DNI data as input, request from SunPATH the sun position and weights of just 30 points in the celestial sphere, and run Tonatiuh++ to simulate these 30 points using 15 million rays per run. As the test case is highly representative, it is expected that this approach will yield similar results for most CST systems of interest.


2021 ◽  
Vol 9 (6) ◽  
pp. 665
Author(s):  
Andrea Franceschi ◽  
Benedetto Piaggio ◽  
Roberto Tonelli ◽  
Diego Villa ◽  
Michele Viviani

The purpose of this study is to assess the quality of the manoeuvre prediction of a twin-shaft naval vessel by means of a time-domain simulator based on Computational Fluid Dynamics (CFD) hydrodynamic coefficients. The simulator uses a modular approach in which the hull, rudders, appendices and propellers are based on different mathematical models. The hydrodynamic coefficients of the hull in the bare and appended configurations are computed using virtual captive tests performed with an open-source CFD code: OpenFoam. This paper demonstrates that the application of the CFD hydrodynamic coefficients led to a good estimate of the macroscopic characteristics of the main IMO manoeuvres with respect to the experimental measures. The adopted test case is the DTMB 5415M frigate both with and without appendages. This test case has been investigated in several research studies and international benchmark workshops, such as SIMMAN 2008, SIMMAN 2014 and many CFD workgroups.


Energies ◽  
2019 ◽  
Vol 12 (12) ◽  
pp. 2366 ◽  
Author(s):  
Francesco Gardumi ◽  
Manuel Welsch ◽  
Mark Howells ◽  
Emanuela Colombo

The growing complexity and the many challenges related to fast-changing and highly de-carbonised electricity systems require reliable and robust open source energy modelling frameworks. Their reliability may be tested on a series of well-posed benchmarks that can be used and shared by the modelling community. This paper describes and integrates stand-alone, independent modules to compute the costs and benefits of flexible generation options in the open source energy investment modelling framework OSeMOSYS. The modules are applied to a case study that may work as a benchmark. The whole documentation of the modules and the test case study are retrievable, reproducible, reusable, interoperable, and auditable. They create a case to help establish a FAIR-compliant, user-friendly, and low-threshold model and data standards in modelling practices. As is well known, one of the options for balancing high shares of variable renewables is flexible power generation by dispatchable units. The associated costs need to be considered for short-term operational analyses and for long-term investment plans. The added modules contribute to extending the modelling capacity by introducing (a) costs of ramping, (b) non-linear decrease of efficiency at partial load operation, and (c) refurbishment of existing units in the cost minimisation objective function of OSeMOSYS. From application to the test case study, two main insights are drawn: costs of ramping and decreased partial load efficiency may influence the competitiveness of generation technologies in the provision of reserve capacity; and refurbishment of existing units may represent attractive investment options for increasing flexibility. Both effects are also seen in the long-term and may impact infrastructure investment decisions to meet decarbonisation targets. These effects would not be captured without the introduction of the modules.


Sign in / Sign up

Export Citation Format

Share Document