Source code examples are key resources for software developers to learn application programming interfaces (apis) and to understand corresponding usage patterns. Developers usually have to utilise, evaluate and unders...
详细信息
Source code examples are key resources for software developers to learn application programming interfaces (apis) and to understand corresponding usage patterns. Developers usually have to utilise, evaluate and understand code examples from multiple sources, which involve heavy manually processing efforts. To reduce such efforts, there has been growing interest in developing source code mining and recommendation systems. This study proposes api usage as a service (apiUaaS), a reference architecture for facilitating api usage, which allows infrastructures to be built for recommending proper api code examples based on semi-automatic data analytics. This reference architecture contains five logical layers and six global-level architectural concerns. api queries are accepted from programmers, and corresponding code example candidates are extracted from the data sources layer. The detailed structural links between api elements and source codes are captured and stored in the data model & code assets layer. During the recommendation phase, api usages mining, clustering and ranking algorithms are enabled in the knowledge discover & intelligent model layer. Services such as code assist and bug detection are assembled in the api usage services layer. Finally, the authors evaluate apiUaaS from three perspectives: rationality, feasibility, and usability.
In this paper description and analysis of simple methods of reducing (neutralization) the server load, as well as methods of optimization of Drupal based on embedded and additionally installed modules is done. An opti...
详细信息
ISBN:
(纸本)9781728167602
In this paper description and analysis of simple methods of reducing (neutralization) the server load, as well as methods of optimization of Drupal based on embedded and additionally installed modules is done. An optimization of Drupal configuration and service, server optimization is also proposed. Direct SQL queries and the Drupal Database api has been tested on real-developed XML-PHP interaction web-site. Descriptive and graphical test results are displayed on the web-pages of the developed web-site.
暂无评论