講演名 | 2020-03-12 構文上の特徴の組合せによるソースコード部分の特徴付け 中山 健(津田塾大), |
---|---|
PDFダウンロードページ | PDFダウンロードページへ |
抄録(和) | 内容を把握していないソースコードから作業目的に関連する部分を探し,それを必要な範囲で理解する事は,ソフトウェア技術者の主要作業のひとつである.しかし,従来のソフトウェア統合開発環境は,ソースコードの部分(コードパターンインスタンス)と,技術者がそこから認識する意味(コードパターン)との対応付けを支援する十分な機能を提供していない.本報告では,抽象構文木のノード組の特徴を属性値列で表し,それに対する制約で表した検索パターンがコードパターンの表現として適しているかどうかを見る.2つのコードパターンを近似的に表す検索パターンを作り,Java言語のオープンソースソフトウェア内を検索した結果は,この形式がコードパターンの近似的表現として使える事を示唆している. |
抄録(英) | Locating and understanding parts of source code of interest is one of the primary tasks for a software engineer especially in the maintenance phase. Conventional integrated development environment (IDE), however, does not provide sufficient capability for engineers to associate a part of source code and its semantics commonly recognized by engineers. We call such a part "code pattern instance," and the corresponding engineer-recognized semantics "code pattern." In this paper, experience in code pattern search through an open source code is presented. Each code pattern is approximately represented as a search pattern which is a combination of syntactic attributes and constraints on them. Then, the search pattern is used to look for instances through an open source Java files. The experience shows that a search pattern of the proposed form can be a good approximation of a code pattern, but additional supporting mechanisms are necessary for practical use. |
キーワード(和) | 抽象構文木 / ソースコード検索 / ASTノード組 |
キーワード(英) | abstract syntax tree / source code search / AST node tuple |
資料番号 | LOIS2019-74 |
発行日 | 2020-03-04 (LOIS) |
研究会情報 | |
研究会 | LOIS |
---|---|
開催期間 | 2020/3/11(から2日開催) |
開催地(和) | 大濱信泉記念館(石垣島) |
開催地(英) | Nobumoto Ohama Memorial Hall |
テーマ(和) | ライフログ活用技術、オフィスインフォメーションシステム、ライフインテリジェンス、および一般 |
テーマ(英) | |
委員長氏名(和) | 山田 智広(NEL) |
委員長氏名(英) | Tomohiro Yamada(NEL) |
副委員長氏名(和) | 小林 透(長崎大) |
副委員長氏名(英) | Toru Kobayashi(Nagasaki Univ.) |
幹事氏名(和) | 岡本 基(情報・システム研究機構) / 永徳 真一郎(NTT) |
幹事氏名(英) | Motoi Okamoto(Research Organization of Information and Systems) / Shinichiro Eitoku(NTT) |
幹事補佐氏名(和) | 荒井 研一(長崎大学) |
幹事補佐氏名(英) | Kenichi Arai(Nagasaki Univ.) |
講演論文情報詳細 | |
申込み研究会 | Technical Committee on Life Intelligence and Office Information Systems |
---|---|
本文の言語 | JPN |
タイトル(和) | 構文上の特徴の組合せによるソースコード部分の特徴付け |
サブタイトル(和) | |
タイトル(英) | Characterizing Part of Source Code by Combining Syntactic Attributes |
サブタイトル(和) | |
キーワード(1)(和/英) | 抽象構文木 / abstract syntax tree |
キーワード(2)(和/英) | ソースコード検索 / source code search |
キーワード(3)(和/英) | ASTノード組 / AST node tuple |
第 1 著者 氏名(和/英) | 中山 健 / Ken Nakayama |
第 1 著者 所属(和/英) | 津田塾大学(略称:津田塾大) Tsuda University(略称:Tsuda Univ.) |
発表年月日 | 2020-03-12 |
資料番号 | LOIS2019-74 |
巻番号(vol) | vol.119 |
号番号(no) | LOIS-477 |
ページ範囲 | pp.103-108(LOIS), |
ページ数 | 6 |
発行日 | 2020-03-04 (LOIS) |