OSS 2021
Wed 12 May 2021
Wed 12 May 2021 15:20 - 15:40 at Main virtual room - Session 1

Background. Industrial software increasingly relies on open source software. Its availability at no cost and its expected reliability make the use of open source software very appealing for industrial developers. However, even though the quality of open source software is generally believed to be high, given the variety of open source products and development projects, industrial practitioners need to evaluate the quality of a specific open source product they are considering for adoption. Automated tools greatly help assess open source software quality, by reducing the related cost. Automated tools do not provide perfectly reliable indications, but the results obtained can be used to restrict and focus manual code inspections, which are typically expensive and time-consuming, only on the code sections most likely to contain faults. Aim. We investigate the extent of the effectiveness of static analysis bug detectors by themselves and in combination with code smell detectors in guiding inspections. Method. We performed an empirical study, in which we used a bug detector (SpotBugs) and a code smell detector (JDeodorant). Results. Our results show that the selected bug detector is precise enough to justify inspecting the code it flags as possibly buggy. Applying the considered code smell detector makes predictions even more precise, but at the price of a rather low Recall. Conclusions. Though the limitations of our study do not allow us to draw universally valid conclusions, using the considered tools as inspection drivers appears to be quite useful.

Preprint (OSS2021_Paper18_CR.pdf)234KiB

Conference Day
Wed 12 May

Displayed time zone: Moscow, St. Petersburg, Volgograd change

15:00 - 16:00
15:00
20m
Research paper
Enabling OSS usage through procurement projects: How can lock-in effects be avoided?
OSS 2021 Papers
Bjorn LundellUniversity of Skövde, Jonas GamalielssonUniversity of Skovde, Simon ButlerThe University of Skövde, Christoffer BraxCombitech AB, Tomas PerssonDigitalist Sweden AB, Anders MattssonHusqvarna AB, Tomas GustavssonPrimeKey Solutions AB, Jonas FeistRedBridge AB, Jonas ÖbergScania CV AB
File Attached
15:20
20m
Research paper
Comparing Static Analysis and Code Smells as Defect Predictors: an Empirical Study
OSS 2021 Papers
Luigi LavazzaUniversità degli Studi dell'Insubria, Sandro MorascaUniversità degli Studi dell'Insubria, Davide TosiUniversità degli Studi dell'Insubria
File Attached
15:40
20m
Research paper
Finding Code-Clone Snippets in Large Source-Code Collection by ccgrep
OSS 2021 Papers
Katsuro InoueOsaka University, Yuya MiyamotoOsaka University, Daniel M. GermanUniversity of Victoria, Takashi IshioNara Institute of Science and Technology
File Attached