Duplicate Code Detection Based on Geometric Center for IoT Application

초록

Internet of Things (IoT) is emerging as a force to be reckoned with on the internet and in the economy overall. Its applications developed in either Android OS or iOS for remotely operating IoT devices. Currently, since software engineers suffer from the lack of programming experience or deadline pressure, some snippets of code directly copied and pasted to other places for similar functionalities, which called duplicate code. Duplicate code is an essential code smell and leads to several adverse impacts of duplicate code in traditional software. Moreover, duplicate code may occupy more system resources in IoT applications that are unable to be afforded by IoT devices. In this paper, we propose a novel methodology to detect duplicate code based on the geometric center. The monotonicity of geometric center utilized to determine whether any pair-wise methods are duplicate, which gives the multiformity for detecting different types of duplicate code. This methodology not only effectively detects the duplicate code but also outperforms the result of prior research on coverage and time consumption.

제목
Duplicate Code Detection Based on Geometric Center for IoT Application
저자
Scott Uk-Jin Lee
발행일
2020-02-13
개최지
Ton Duc Thang University, Ho Chi Minh, Vietnam
개최국가
베트남
학회 개최일
2020-02-12 ~ 2020-02-15