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

Finding the same or similar code snippets in the source code for a query code snippet is one of the fundamental activities in software maintenance. Code clone detectors detect the same or similar code snippets, but they report all of the code clone pairs in the target, which are generally excessive to the users. In this paper, we propose ccgrep, a token-based pattern matching tool with the notion of code clone pairs. The user simply inputs a code snippet as a query and specifies the target source code, and gets the matched code snippets as the result. The query and the result snippets form clone pairs. The use of special tokens (named meta-tokens) in the query allows the user to have precise control over the matching. It works for the source code in C, C++, Java, and Python on Windows or Unix with practical scalability and performance. The evaluation results show that ccgrep is effective in finding intended code snippets in large Open Source Software.

Finding Code-Clone Snippets in Large Source-Code Collection by ccgrep (PaperID5-inoue-CCgrep_OSS_2021_CameraReady.pdf)295KiB

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 Lundell University of Skövde, Jonas Gamalielsson University of Skovde, Simon Butler The University of Skövde, Christoffer Brax Combitech AB, Tomas Persson Digitalist Sweden AB, Anders Mattsson Husqvarna AB, Tomas Gustavsson PrimeKey Solutions AB, Jonas Feist RedBridge AB, Jonas Öberg Scania 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 Lavazza Università degli Studi dell'Insubria, Sandro Morasca Università degli Studi dell'Insubria, Davide Tosi Università 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 Inoue Osaka University, Yuya Miyamoto Osaka University, Daniel M. German University of Victoria, Takashi Ishio Nara Institute of Science and Technology
File Attached