ログイン 新規登録
言語:

WEKO3

  • トップ
  • ランキング
To
lat lon distance
To

Field does not validate



インデックスリンク

インデックスツリー

メールアドレスを入力してください。

WEKO

One fine body…

WEKO

One fine body…

アイテム

  1. 論文誌(トランザクション)
  2. プログラミング(PRO)
  3. Vol.8
  4. No.4

単体テストを用いたチュートリアルの自動生成手法

https://ipsj.ixsq.nii.ac.jp/records/146453
https://ipsj.ixsq.nii.ac.jp/records/146453
114dbd4b-3fe2-473c-b0f7-6c756e4566cd
名前 / ファイル ライセンス アクション
IPSJ-TPRO0804004.pdf IPSJ-TPRO0804004.pdf (2.4 MB)
Copyright (c) 2015 by the Information Processing Society of Japan
オープンアクセス
Item type Trans(1)
公開日 2015-12-04
タイトル
タイトル 単体テストを用いたチュートリアルの自動生成手法
タイトル
言語 en
タイトル Automatic Generation of Tutorial from Unit Tests
言語
言語 jpn
キーワード
主題Scheme Other
主題 [通常論文] 開発支援,ドキュメント,チュートリアル,単体テスト
資源タイプ
資源タイプ識別子 http://purl.org/coar/resource_type/c_6501
資源タイプ journal article
著者所属
東京大学大学院
著者所属
東京大学大学院
著者所属
東京大学大学院
著者所属(英)
en
The University of Tokyo
著者所属(英)
en
The University of Tokyo
著者所属(英)
en
The University of Tokyo
著者名 三上, 裕明

× 三上, 裕明

三上, 裕明

Search repository
坂本, 大介

× 坂本, 大介

坂本, 大介

Search repository
五十嵐, 健夫

× 五十嵐, 健夫

五十嵐, 健夫

Search repository
著者名(英) Hiroaki, Mikami

× Hiroaki, Mikami

en Hiroaki, Mikami

Search repository
Daisuke, Sakamoto

× Daisuke, Sakamoto

en Daisuke, Sakamoto

Search repository
Takeo, Igarashi

× Takeo, Igarashi

en Takeo, Igarashi

Search repository
論文抄録
内容記述タイプ Other
内容記述 APIの理解と使い方の学習は,プログラマにとって重要であるが,時間のかかる作業である.APIを理解するための方法の1つとして,チュートリアルがある.チュートリアルは,複数のサンプルコードおよびその説明と,それらのリストからなるドキュメントであり,ライブラリの基本的な機能の使い方を提示する.現在,チュートリアルはライブラリの開発者が記述しているが,チュートリアルを書くことは手間がかかる作業である.そのため,チュートリアルが更新されず,最新のAPIの使い方がチュートリアルで説明されていない場合がある.この問題に対処するため,本論文では,単体テストからチュートリアルを自動的に生成する手法を提案する.本手法では最初に,単体テストから実行可能なサンプルを生成する.次に,サンプルの説明を生成するために,プログラム可視化の技法を用いる.また,サンプルコードのリストを作るために,単体テスト間の依存関係を用いる.具体的には,実行時情報を用いて単体テストの依存関係を抽出し,そしてその依存関係をもとにサンプルコードを順序付けする.本手法の有効性を確認するためにユーザスタディを実施した.この結果,本手法を用いて生成されたチュートリアルを用いることで,自動生成された既存のAPIドキュメントの場合よりもAPIを効率的に理解できるという結果が得られた.
論文抄録(英)
内容記述タイプ Other
内容記述 Understanding and learning the usage of the APIs are important for programmers, but those are time-consuming tasks. A tutorial is one way to understand the usage of the APIs. It is a document composed of some sample codes, their explanations and a list of sample codes, and describes the basic usage of the library. Tutorials are usually written by library-developers; however, writing a tutorial is a tedious work. Therefore, there are cases that how to use the latest APIs is not described in a tutorial because developers do not update the tutorial. To deal with this issue, we present a method that automatically generates a tutorial from unit tests. This method first generates executable sample codes from unit tests. It then uses program visualization technique to explain the sample codes. Furthermore, it uses the dependencies between tests to make a list of sample codes: it extracts the dependencies between tests by using run-time information, and generates the order of the sample codes by using those dependencies. The results of a user study showed that tutorials generated by this method are more effective in helping programmers learn APIs than the existing auto-generated document.
書誌レコードID
収録物識別子タイプ NCID
収録物識別子 AA11464814
書誌情報 情報処理学会論文誌プログラミング(PRO)

巻 8, 号 4, p. 1-14, 発行日 2015-12-04
ISSN
収録物識別子タイプ ISSN
収録物識別子 1882-7802
出版者
言語 ja
出版者 情報処理学会
戻る
0
views
See details
Views

Versions

Ver.1 2025-01-20 17:57:38.516139
Show All versions

Share

Mendeley Twitter Facebook Print Addthis

Cite as

エクスポート

OAI-PMH
  • OAI-PMH JPCOAR
  • OAI-PMH DublinCore
  • OAI-PMH DDI
Other Formats
  • JSON
  • BIBTEX

Confirm


Powered by WEKO3


Powered by WEKO3