{"created":"2025-01-19T01:05:53.769134+00:00","updated":"2025-01-19T20:31:53.396254+00:00","metadata":{"_oai":{"id":"oai:ipsj.ixsq.nii.ac.jp:00203472","sets":["1164:1384:10151:10152"]},"path":["10152"],"owner":"44499","recid":"203472","title":["ソースコード構文木とコールグラフの統合的な埋め込みに基づくメソッド名の推定"],"pubdate":{"attribute_name":"公開日","attribute_value":"2020-02-24"},"_buckets":{"deposit":"46cc6d5c-1d9d-48b2-b860-883759bdedee"},"_deposit":{"id":"203472","pid":{"type":"depid","value":"203472","revision_id":0},"owners":[44499],"status":"published","created_by":44499},"item_title":"ソースコード構文木とコールグラフの統合的な埋め込みに基づくメソッド名の推定","author_link":["501703","501702","501701"],"item_titles":{"attribute_name":"タイトル","attribute_value_mlt":[{"subitem_title":"ソースコード構文木とコールグラフの統合的な埋め込みに基づくメソッド名の推定"}]},"item_keyword":{"attribute_name":"キーワード","attribute_value_mlt":[{"subitem_subject":"コールグラフ応用とリポジトリ調査","subitem_subject_scheme":"Other"}]},"item_type_id":"4","publish_date":"2020-02-24","item_4_text_3":{"attribute_name":"著者所属","attribute_value_mlt":[{"subitem_text_value":"筑波大学"},{"subitem_text_value":"筑波大学"},{"subitem_text_value":"筑波大学"}]},"item_4_text_4":{"attribute_name":"著者所属(英)","attribute_value_mlt":[{"subitem_text_value":"University of Tsukuba","subitem_text_language":"en"},{"subitem_text_value":"University of Tsukuba","subitem_text_language":"en"},{"subitem_text_value":"University of Tsukuba","subitem_text_language":"en"}]},"item_language":{"attribute_name":"言語","attribute_value_mlt":[{"subitem_language":"jpn"}]},"item_publisher":{"attribute_name":"出版者","attribute_value_mlt":[{"subitem_publisher":"情報処理学会","subitem_publisher_language":"ja"}]},"publish_status":"0","weko_shared_id":-1,"item_file_price":{"attribute_name":"Billing file","attribute_type":"file","attribute_value_mlt":[{"url":{"url":"https://ipsj.ixsq.nii.ac.jp/record/203472/files/IPSJ-SE20204010.pdf","label":"IPSJ-SE20204010.pdf"},"date":[{"dateType":"Available","dateValue":"2022-02-24"}],"format":"application/pdf","billing":["billing_file"],"filename":"IPSJ-SE20204010.pdf","filesize":[{"value":"1.2 MB"}],"mimetype":"application/pdf","priceinfo":[{"tax":["include_tax"],"price":"660","billingrole":"5"},{"tax":["include_tax"],"price":"330","billingrole":"6"},{"tax":["include_tax"],"price":"0","billingrole":"12"},{"tax":["include_tax"],"price":"0","billingrole":"44"}],"accessrole":"open_date","version_id":"8a6e1e23-57fa-4095-a34d-dfcfbe0e602a","displaytype":"detail","licensetype":"license_note","license_note":"Copyright (c) 2020 by the Information Processing Society of Japan"}]},"item_4_creator_5":{"attribute_name":"著者名","attribute_type":"creator","attribute_value_mlt":[{"creatorNames":[{"creatorName":"米内, 裕史"}],"nameIdentifiers":[{}]},{"creatorNames":[{"creatorName":"早瀬, 康裕"}],"nameIdentifiers":[{}]},{"creatorNames":[{"creatorName":"北川, 博之"}],"nameIdentifiers":[{}]}]},"item_4_source_id_9":{"attribute_name":"書誌レコードID","attribute_value_mlt":[{"subitem_source_identifier":"AN10112981","subitem_source_identifier_type":"NCID"}]},"item_4_textarea_12":{"attribute_name":"Notice","attribute_value_mlt":[{"subitem_textarea_value":"SIG Technical Reports are nonrefereed and hence may later appear in any journals, conferences, symposia, etc."}]},"item_resource_type":{"attribute_name":"資源タイプ","attribute_value_mlt":[{"resourceuri":"http://purl.org/coar/resource_type/c_18gh","resourcetype":"technical report"}]},"item_4_source_id_11":{"attribute_name":"ISSN","attribute_value_mlt":[{"subitem_source_identifier":"2188-8825","subitem_source_identifier_type":"ISSN"}]},"item_4_description_7":{"attribute_name":"論文抄録","attribute_value_mlt":[{"subitem_description":"ソフトウェア開発において,識別子名の質はプログラム理解に大きな影響を及ぼすため重要であるが,適切な命名を行うことは開発の知識や経験を必要とする困難な作業である.そこで,識別子を命名するタスクを支援するため,プログラムの内容から識別子名を推薦する手法が提案されている.識別子のなかでもメソッドの命名支援を目的とした先行研究では,メソッド定義のソースコードをパースして得られる構文木が持つ構造的な情報に基づきメソッド名を推薦する手法や,メソッド間の呼び出し関係を表したグラフが持つメソッド間の意味関係に基づき名前を推薦する手法などが提案されている.構文木に基づく手法はメソッド定義のソースコードの構造的な情報に基づき高い推薦精度を達成しているが,メソッドがボディ内部でどのようなメソッドを呼び出しているかといった,メソッド間の関係を考慮していない.しかし,メソッド間の呼び出し関係を表したグラフに基づく推薦手法ではメソッド間の呼び出し関係によって一定の推薦精度を達成しており,構文木だけでなくメソッド間の呼び出し関係を考慮して推薦を行うことで推薦精度が向上すると考えられる.そこで本稿では,メソッド定義から得られる構文木とメソッド間の呼び出し関係を組み合わせたメソッド名推薦手法を提案する.すなわち,メソッド定義のソースコードをパースして得られる構文木の情報に加えて,そのメソッドと呼び出し関係のあるメソッドとの関係も考慮してメソッドの分散表現を生成し,それを用いてメソッド名の推薦を行う.提案手法の有効性を評価するため,適切に命名されている既存のメソッドに対して名前推薦を行い,実際のメソッド名を提示できるか検証する実験を行った.その結果,構文木と呼び出し関係を組み合わせることでメソッド名推薦精度が向上することを示した.","subitem_description_type":"Other"}]},"item_4_biblio_info_10":{"attribute_name":"書誌情報","attribute_value_mlt":[{"bibliographicPageEnd":"8","bibliographic_titles":[{"bibliographic_title":"研究報告ソフトウェア工学(SE)"}],"bibliographicPageStart":"1","bibliographicIssueDates":{"bibliographicIssueDate":"2020-02-24","bibliographicIssueDateType":"Issued"},"bibliographicIssueNumber":"10","bibliographicVolumeNumber":"2020-SE-204"}]},"relation_version_is_last":true,"weko_creator_id":"44499"},"id":203472,"links":{}}