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
Times are displayed in 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