• Search Research Projects
  • Search Researchers
  • How to Use
  1. Back to previous page

Retrieving code clones that are harmful for software quality

Research Project

Project/Area Number 17H01725
Research Category

Grant-in-Aid for Scientific Research (B)

Allocation TypeSingle-year Grants
Section一般
Research Field Software
Research InstitutionOsaka University

Principal Investigator

Higo Yoshiki  大阪大学, 情報科学研究科, 准教授 (70452414)

Project Period (FY) 2017-04-01 – 2020-03-31
Project Status Completed (Fiscal Year 2019)
Budget Amount *help
¥7,150,000 (Direct Cost: ¥5,500,000、Indirect Cost: ¥1,650,000)
Fiscal Year 2019: ¥2,340,000 (Direct Cost: ¥1,800,000、Indirect Cost: ¥540,000)
Fiscal Year 2018: ¥1,560,000 (Direct Cost: ¥1,200,000、Indirect Cost: ¥360,000)
Fiscal Year 2017: ¥3,250,000 (Direct Cost: ¥2,500,000、Indirect Cost: ¥750,000)
Keywordsコードクローン / ソースコード解析 / ソフトウェアリポジトリマイニング / クローンペア / クローンセット / リファクタリング / 機械学習 / リポジトリマイニング / 自動生成ファイル / 自然さ
Outline of Final Research Achievements

In order to facilitate the acquisition of clones that adversely affect software quality, three research questions were addressed in this study. The first is the identification of automatically generated files. It avoids the situation where the clones detected in the autogenerated file hide the presence of clones that need to be analyzed. The second is the identification of harmless clones. Being able to remove harmless clones beforehand would reduce the number of clones that need to be determined by the developer. The third is the identification of the clone set of clones containing the gap. It will be possible to present clones containing gaps that need to be analyzed to developers in a clone set form, a form in which the information is easily accessible.

Academic Significance and Societal Importance of the Research Achievements

本研究の成果は,ソフトウェア開発やソフトウェア工学の研究で役立つ.例えば,調査すべきコードクローンの数が減るため,開発者が1つずつ目視で調査を行えるようになる.分析例としては,本来はコードクローンを持たないはずのファイル間(モジュール間)にコードクローンがあることがわかれば,ソフトウェアの実装がその設計と乖離している問題の発見につながる.また,コードクローンの量やコードクローンの含有率をソフトウェアメトリクスとして用いることにより,問題のあるファイルやモジュールを発見することができる.分析例としては,コードクローンを多く含むファイルを特定し本当にその状態が正しいのかを調査できる.

Report

(4 results)
  • 2019 Annual Research Report   Final Research Report ( PDF )
  • 2018 Annual Research Report
  • 2017 Annual Research Report
  • Research Products

    (27 results)

All 2020 2019 2018

All Journal Article (5 results) (of which Peer Reviewed: 3 results,  Open Access: 1 results) Presentation (22 results) (of which Int'l Joint Research: 10 results)

  • [Journal Article] On tracking Java methods with Git mechanisms2020

    • Author(s)
      Higo Yoshiki、Hayashi Shinpei、Kusumoto Shinji
    • Journal Title

      Journal of Systems and Software

      Volume: 165 Pages: 110571-110571

    • DOI

      10.1016/j.jss.2020.110571

    • Related Report
      2019 Annual Research Report
    • Peer Reviewed / Open Access
  • [Journal Article] Proposition and Evaluation of Method-level Semantic Versioning2019

    • Author(s)
      林 純一、肥後 芳樹、楠本 真二
    • Journal Title

      電子情報通信学会論文誌D 情報・システム

      Volume: J102-D Issue: 11 Pages: 730-739

    • DOI

      10.14923/transinfj.2018JDP7074

    • ISSN
      1880-4535, 1881-0225
    • Year and Date
      2019-11-01
    • Related Report
      2019 Annual Research Report
  • [Journal Article] 言語モデルによるソースコードの「自然さ」を利用した自動生成ファイルの特定2019

    • Author(s)
      土居真之, 肥後芳樹, 有馬諒, 下仲健斗, 楠本真二
    • Journal Title

      情報処理学会論文誌

      Volume: 60

    • NAID

      170000150140

    • Related Report
      2017 Annual Research Report
    • Peer Reviewed
  • [Journal Article] 多粒度コードクローンの検出と評価2018

    • Author(s)
      幸佑亮, 肥後芳樹, 楠本真二
    • Journal Title

      情報処理学会論文誌

      Volume: 59

    • NAID

      170000175814

    • Related Report
      2017 Annual Research Report
    • Peer Reviewed
  • [Journal Article] 不適切に分割されたコミットに関する研究2018

    • Author(s)
      有馬諒, 肥後芳樹, 楠本真二
    • Journal Title

      コンピュータソフトウェア

      Volume: 35

    • NAID

      130007514246

    • Related Report
      2017 Annual Research Report
  • [Presentation] Improving the Accuracy of Spectrum-based Fault Localization for Automated Program Repair2020

    • Author(s)
      Tetsushi Kuma
    • Organizer
      the 28th International Conference on Program Comprehension
    • Related Report
      2019 Annual Research Report
    • Int'l Joint Research
  • [Presentation] Staged Tree Matching for Detecting Code Move across Files2020

    • Author(s)
      Akira Fujimoto
    • Organizer
      the 28th International Conference on Program Comprehension
    • Related Report
      2019 Annual Research Report
    • Int'l Joint Research
  • [Presentation] 欠陥限局に適したテストスイートに関する考察2020

    • Author(s)
      九間 哲士
    • Organizer
      電子情報通信学会ソフトウェアサイエンス研究会
    • Related Report
      2019 Annual Research Report
  • [Presentation] 抽象構文木を利用したファイル間のコード移動検出2020

    • Author(s)
      藤本 章良
    • Organizer
      電子情報通信学会ソフトウェアサイエンス研究会
    • Related Report
      2019 Annual Research Report
  • [Presentation] A Code Clone Curation --Towards Scalable and Incremental Clone Detection--2019

    • Author(s)
      Masayuki Doi
    • Organizer
      the 7th International Workshop on Quantitative Approaches to Software Quality
    • Related Report
      2019 Annual Research Report
    • Int'l Joint Research
  • [Presentation] How Compact Will My System Be? A fully-automated way to calculate LoC reduced by clone refactoring2019

    • Author(s)
      Tasuku Nakagawa
    • Organizer
      the 26th Asia-Pacific Software Engineering Conference (APSEC2019)
    • Related Report
      2019 Annual Research Report
    • Int'l Joint Research
  • [Presentation] GenProg Meets Cluster Computing2019

    • Author(s)
      Junnosuke Matsumoto
    • Organizer
      the 10th International Workshop on Empirical Software Engineering in Practice
    • Related Report
      2019 Annual Research Report
    • Int'l Joint Research
  • [Presentation] 複数プロジェクトから高速にコードクローンを検出するキュレーションの提2019

    • Author(s)
      土居 真之
    • Organizer
      電子情報通信学会ソフトウェアサイエンス研究会
    • Related Report
      2019 Annual Research Report
  • [Presentation] 自動バグ限局に適したテスト自動生成に向けて2019

    • Author(s)
      九間 哲士
    • Organizer
      ソフトウェアエンジニアリングシンポジウム2019
    • Related Report
      2019 Annual Research Report
  • [Presentation] 大規模なプロジェクト群を対象とした高速にコードクローンを検出するキュレーションの提案2019

    • Author(s)
      土居 真之
    • Organizer
      ソフトウェアエンジニアリングシンポジウム2019
    • Related Report
      2019 Annual Research Report
  • [Presentation] 分散処理を用いた自動プログラム修正の高速化2019

    • Author(s)
      松本淳之介
    • Organizer
      電子情報通信学会ソフトウェアサイエンス研究会
    • Related Report
      2019 Annual Research Report
  • [Presentation] Beyond GumTree: A Hybrid Approach to Generate Edit Scripts2019

    • Author(s)
      Junnosuke Matsumoto
    • Organizer
      the 16th International Conference on Mining Software Repositories (MSR2019)
    • Related Report
      2018 Annual Research Report
    • Int'l Joint Research
  • [Presentation] Impacts of Daylight Saving Time on Software Development2019

    • Author(s)
      Junichi Hayashi
    • Organizer
      the 16th International Conference on Mining Software Repositories (MSR2019)
    • Related Report
      2018 Annual Research Report
    • Int'l Joint Research
  • [Presentation] コードクローン間の類似度に基づく無害なコードクローンの自動判定手法2019

    • Author(s)
      土居真之
    • Organizer
      電子情報通信学会ソフトウェアサイエンス研究会
    • Related Report
      2018 Annual Research Report
  • [Presentation] コードクローンに対する集約結果に基づいた削減可能なソースコード行数の測定手法2019

    • Author(s)
      中川将
    • Organizer
      電子情報通信学会ソフトウェアサイエンス研究会
    • Related Report
      2018 Annual Research Report
  • [Presentation] 行単位の差分情報を考慮した抽象構文木のノード単位の差分出力2019

    • Author(s)
      松本淳之介
    • Organizer
      電子情報通信学会ソフトウェアサイエンス研究会
    • Related Report
      2018 Annual Research Report
  • [Presentation] A Study on Inappropriately Partitioned Commits --How Much and What Kinds of IP Commits in Java Projects? --2018

    • Author(s)
      Ryo Arima
    • Organizer
      the 15th International Conference on Mining Software Repositories (MSR2018)
    • Related Report
      2017 Annual Research Report
    • Int'l Joint Research
  • [Presentation] Toward Refactoring Evaluation with Code Naturalness2018

    • Author(s)
      Ryo Arima
    • Organizer
      the 26th International Conference on Program Comprehension (ICPC2018)
    • Related Report
      2017 Annual Research Report
    • Int'l Joint Research
  • [Presentation] On the Naturalness of Auto-generated Code --Can We Identify Auto-Generated Code Automatically? --2018

    • Author(s)
      Masayuki Doi
    • Organizer
      the 26th International Conference on Program Comprehension (ICPC2018)
    • Related Report
      2017 Annual Research Report
    • Int'l Joint Research
  • [Presentation] ソースコードの“自然さ”を用いたリファクタリング評価手法の検討2018

    • Author(s)
      有馬 諒
    • Organizer
      電子情報通信学会ソフトウェアサイエンス研究会
    • Related Report
      2017 Annual Research Report
  • [Presentation] ソースコードの「自然さ」を利用した自動生成ファイルの特定2018

    • Author(s)
      土居 真之
    • Organizer
      電子情報通信学会ソフトウェアサイエンス研究会
    • Related Report
      2017 Annual Research Report
  • [Presentation] リファクタリングによる自然さの変化に関する調査 --自然さによるリファクタリング支援を目指して--2018

    • Author(s)
      有馬 諒
    • Organizer
      ソフトウェアエンジニアリングシンポジウム2018
    • Related Report
      2017 Annual Research Report

URL: 

Published: 2017-04-28   Modified: 2021-02-19  

Information User Guide FAQ News Terms of Use Attribution of KAKENHI

Powered by NII kakenhi