API使用的关键问题研究
作者:
作者单位:

作者简介:

李正(1985-),男,天津人,博士生,主要研究领域为软件工程,系统安全;吴敬征(1982-),男,博士,副研究员,主要研究领域为系统安全,漏洞挖掘,移动安全;李明树(1965-),男,博士,研究员,博士生导师,CCF会士,主要研究领域为操作系统深度设计,可信软件过程以及基础软硬件核心技术与应用.

通讯作者:

李明树,E-mail:mingshu@admin.iscas.ac.cn

中图分类号:

基金项目:

国家科技重大专项(2014ZX01029101-002);国家自然科学基金(61772507)


Study on Key Issues in API Usage
Author:
Affiliation:

Fund Project:

National Science and Technology Major Project (2014ZX01029101-002); National Natural Science Foundation ofChina (61772507)

  • 摘要
  • |
  • 图/表
  • |
  • 访问统计
  • |
  • 参考文献
  • |
  • 相似文献
  • |
  • 引证文献
  • |
  • 资源附件
  • |
  • 文章评论
    摘要:

    API (application programming interface,应用程序编程接口)在现代软件开发过程中被广泛使用.开发人员通过调用API快速构建项目,节省了大量的时间.但由于API数量众多、文档不够完善、维护更新不及时等原因,开发人员在学习使用API的过程中面临着严峻的挑战.一旦API使用不正确,程序可能会出现缺陷甚至严重的安全问题.通过对API相关文献的深入调研,对近些年来国内外学者在该研究领域取得的成果进行了系统总结.首先,介绍了API的基本概念并分析出影响API使用的3个关键问题:API文档质量不高、调用规约不完整以及API调用序列难以确定;接着,从API文档、调用规约和API推荐这3个主要方面对研究成果进行全面的分析;最后,对未来研究可能面临的挑战进行了展望.

    Abstract:

    API (application programming interface) is widely used in modern software development process. Developers save a lot of time when they quickly build projects through invoking APIs. However, API is often difficult to use for many reasons, such as the presence of large number of interfaces, lack of perfect document, and no timely maintenance and updates. Further, API is often used incorrectly, resulting in bugs and sometimes significant security problems.This paper summarizes the recent domestic and overseas research results based on a thorough survey of the API related literatures. Firstly, it introduces the API concept and recognizes the three key issues that affect the API usage:poor API documentation, incomplete invocation specification and undetermined API call sequence. Next, it analyzes the latest advances from these three main aspects:API document, invocation specification and API recommendation. Finally, this paper outlines the challenges of the future research.

    参考文献
    相似文献
    引证文献
引用本文

李正,吴敬征,李明树. API使用的关键问题研究.软件学报,2018,29(6):1716-1738

复制
分享
文章指标
  • 点击次数:
  • 下载次数:
  • HTML阅读次数:
  • 引用次数:
历史
  • 收稿日期:2017-09-18
  • 最后修改日期:2017-11-29
  • 录用日期:
  • 在线发布日期: 2018-02-08
  • 出版日期:
您是第位访问者
版权所有:中国科学院软件研究所 京ICP备05046678号-3
地址:北京市海淀区中关村南四街4号,邮政编码:100190
电话:010-62562563 传真:010-62562533 Email:jos@iscas.ac.cn
技术支持:北京勤云科技发展有限公司

京公网安备 11040202500063号