With the advent and proliferation of online developer forums as informal documentation, developers often share their opinions about the APIs they use. Thus, opinions of others often shape the developer's perception and decisions related to software development. For example, the choice of an API or how to reuse the functionality the API offers are, to a considerable degree, conditioned upon what other developers think about the API. While many developers refer to and rely on such opinion-rich information about APIs, we found little research that investigates the use and benefits of public opinions. To understand how developers seek and evaluate API opinions, we conducted two surveys involving a total of 178 software developers. We analyzed the data in two dimensions, each corresponding to specific needs related to API reviews: (1) Needs for seeking API reviews, and (2) Needs for automated tool support to assess the reviews. We observed that developers seek API reviews and often have to summarize those for diverse development needs (e.g., API suitability). Developers also make conscious efforts to judge the trustworthiness of the provided opinions and believe that automated tool support for API reviews analysis can assist in diverse development scenarios, including, for example, saving time in API selection as well as making informed decisions on a particular API features.
翻译:随着在线开发商论坛的出现和扩散,开发商往往以非正式文件的形式分享自己对所使用API的看法和决定。例如,随着在线开发商论坛的出现和扩散,开发商往往以非正式文件的形式分享他们对其使用的API的看法和决定。因此,其他开发商的意见往往影响开发商对软件开发商的看法和决定。例如,选择API或如何重新使用API所提供的功能在很大程度上取决于其他开发商对API的看法。许多开发商提到并依赖这种具有丰富见解的关于API的信息,但我们发现很少研究调查公众意见的使用和好处。为了了解开发商如何寻求和评估API意见,我们进行了两次调查,共涉及178名软件开发商。我们从两个方面分析了数据,每个方面都与API审查有关的具体需要:(1) 寻求API审查的需要,以及(2) 评估审查需要自动化工具支持。我们发现,开发商寻求API审查并经常需要根据不同发展需要(例如,API的适合性)来总结所提供的意见的可靠性。开发商们也自觉地努力判断所提供的意见的可靠性,并且相信对API的分析自动化工具支持有助于不同的发展设想,包括选择AI的特性,例如保存时间。