...
首页> 外文期刊>Software Quality Journal >What are the characteristics of popular APIs? A large-scale study on Java, Android, and 165 libraries
【24h】

What are the characteristics of popular APIs? A large-scale study on Java, Android, and 165 libraries

机译:流行API的特征是什么?关于Java,Android和165个图书馆的大规模研究

获取原文
获取原文并翻译 | 示例
   

获取外文期刊封面封底 >>

       

摘要

Abstract Software systems are commonly implemented with the support of libraries, which provide features via APIs. Ideally, APIs should have some characteristics, for example, they should be well documented and stable so that client systems can confidently rely on them. However, not all APIs are equal in number of clients: while some APIs are very popular and used worldwide, other may face much lower usage rates. In this context, one question appears: are there particular characteristics that differentiate popular APIs from ordinary APIs? Answering this question can uncover how worldwide APIs are actually implemented and maintained, revealing practices to better support both research and development on APIs. In this paper, we assess the characteristics of popular APIs, including their size, legibility, documentation, stability, and client adoption. We analyze 1491 APIs provided by Java, Android, and 165 libraries. We detect that popular APIs are distinct from ordinary ones, for example, often, popular APIs are larger, have more comments, and are more unstable than ordinary APIs. Finally, we provide a set of lessons learned from the popular APIs on factors that developers can control, such as the exposure of public methods and the API stability.
机译:摘要软件系统通常通过库的支持,通过API提供功能。理想情况下,API应该具有一些特征,例如,它们应该充分记录和稳定,以便客户端系统可以自信地依赖于它们。但是,并非所有API都在客户数量方面相等:虽然一些API非常受欢迎并在全球范围内使用,但其他可能面临得多的使用率。在此上下文中,出现一个问题:是否有特殊的特征可以区分流行的API从普通的API?回答这个问题可以揭示世界范围内的API如何实际实施和维护,揭示了更好地支持在API上的研究和开发的实践。在本文中,我们评估了流行的API的特征,包括它们的大小,易读,文档,稳定和客户采用。我们分析了Java,Android和165个图书馆提供的1491 API。我们检测到流行的API与普通的API不同,例如,往往,流行的API更大,具有更多的评论,并且比普通的API更不稳定。最后,我们提供了一系列经验教训,了解开发人员可以控制的因素,例如公共方法的曝光和API稳定性。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号