Improving API Documentation Usability with Knowledge Pushing

被引:71
作者
Dekel, Uri [1 ]
Herbsleb, James D. [1 ]
机构
[1] Carnegie Mellon Univ, Inst Software Res, Sch Comp Sci, Pittsburgh, PA 15213 USA
来源
2009 31ST INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, PROCEEDINGS | 2009年
关键词
D O I
10.1109/ICSE.2009.5070532
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
The documentation of API functions typically conveys detailed specifications for the benefit of interested readers. In some cases, however, it also contains usage directives, such as rides or caveats, of which authors of invoking code must be made aware to prevent errors and inefficiencies. There is a risk that these directives may be "lost" within the verbose text, or that the text would not be read because there are so many invoked functions. To address these concerns for Java, an Eclipse plug-in named eMoose decorates method invocations whose targets have associated directives. Our goal is to lead readers to investigate further, which we aid by highlighting the tagged directives in the JavaDoc hover. We present a lab study that demonstrates the directive awareness problem in traditional documentation use and the potential benefits of our approach.
引用
收藏
页码:320 / 330
页数:11
相关论文
共 13 条
[1]  
Bierhoff K, 2007, OOPSLA: 22ND INTERNATIONAL CONFERENCE ON OBJECT-ORIENTED PROGRAMMING, SYSTEMS, LANGUAGES, AND APPLICATIONS, PROCEEDINGS, P301
[2]  
DEKEL U, EMOOSE PROJECT PAGE
[3]  
Dekel U, 2007, OOPSLA: 22ND INTERNATIONAL CONFERENCE ON OBJECT-ORIENTED PROGRAMMING, SYSTEMS, LANGUAGES, AND APPLICATIONS, PROCEEDINGS, P261
[4]  
Ko AJ, 2005, PROC INT CONF SOFTW, P126
[5]  
Kramer D., 1999, Seventeenth Annual International Conference on Computer Documentation. Conference Proceedings, P147, DOI 10.1145/318372.318577
[6]  
Leavens Gary T., 2006, SIGSOFT Softw. Eng. Notes, V31, P1, DOI DOI 10.1145/1127878.1127884
[7]  
Meyer B., 2000, OBJECT ORIENTED SOFT, V2
[8]  
Sarma A., 2008, 16th ACM SIGSOFT International Symposium on Foundation of Software engineering, P113, DOI DOI 10.1145/1453101.1453118
[9]   DESIGNING DOCUMENTATION TO COMPENSATE FOR DELOCALIZED PLANS [J].
SOLOWAY, E ;
PINTO, J ;
LETOVSKY, S ;
LITTMAN, D ;
LAMPERT, R .
COMMUNICATIONS OF THE ACM, 1988, 31 (11) :1259-1267
[10]  
STOREY MA, 2006, CSCW 06, P195