Tweet | |
T. Tsuru, T. Nakagawa, S. Matsumoto, Y. Higo, and S. Kusumoto, "Type-2 Code Clone Detection for Dockerfiles," In Proc. 15th International Workshop on Software Clones, pp. 1-7, October 2021. | |
ID | 720 |
分類 | 国際会議 |
タグ | clone code detection dockerfiles type-2 |
表題 (title) |
Type-2 Code Clone Detection for Dockerfiles |
表題 (英文) |
|
著者名 (author) |
Tomoaki Tsuru,Tasuku Nakagawa,Shinsuke Matsumoto,Yoshiki Higo,Shinji Kusumoto |
英文著者名 (author) |
,Tasuku Nakagawa,Shinsuke Matsumoto,Yoshiki Higo,Shinji Kusumoto |
編者名 (editor) |
|
編者名 (英文) |
|
キー (key) |
,Tasuku Nakagawa,Shinsuke Matsumoto,Yoshiki Higo,Shinji Kusumoto |
書籍・会議録表題 (booktitle) |
Proc. 15th International Workshop on Software Clones |
書籍・会議録表題(英文) |
|
巻数 (volume) |
|
号数 (number) |
|
ページ範囲 (pages) |
1-7 |
組織名 (organization) |
|
出版元 (publisher) |
|
出版元 (英文) |
|
出版社住所 (address) |
|
刊行月 (month) |
10 |
出版年 (year) |
2021 |
採択率 (acceptance) |
|
URL |
|
付加情報 (note) |
|
注釈 (annote) |
|
内容梗概 (abstract) |
This paper proposes a Type-2 code clone detection technique for Dockerfiles. Docker is a platform for realizing containerized virtual environments that has been attracting significant attention as a technology support for server infrastructures. In Docker, the procedure to realize a virtual environment is described in the form of a source code called a Dockerfile. Therefore, code clones such as repetitions and duplications with similar structures are often included. In this study, we propose a Type-2 code clone detection technique for deriving patterns within Dockerfiles. More specifically, our technique detects code clones by normalizing tokens properly, separating Docker syntax and shell syntax, and then adopting suffix array algorithm for each syntax. We conducted application experiments on approximately 5,000 Dockerfiles available on GitHub and found that our technique could detect Type-2 code clones with a high precision. Our technique derived some patterns in Dockerfiles, such as those used for building a new distribution on a container. |
論文電子ファイル | draft.pdf (application/pdf) [一般閲覧可] |
BiBTeXエントリ |
@inproceedings{id720, title = {Type-2 Code Clone Detection for Dockerfiles}, author = {Tomoaki Tsuru and Tasuku Nakagawa and Shinsuke Matsumoto and Yoshiki Higo and Shinji Kusumoto}, booktitle = {Proc. 15th International Workshop on Software Clones}, pages = {1-7}, month = {10}, year = {2021}, } |