scholarly journals PERSONA: A personalized model for code recommendation

PLoS ONE ◽  
2021 ◽  
Vol 16 (11) ◽  
pp. e0259834
Author(s):  
Tam The Nguyen ◽  
Tung Thanh Nguyen

Code recommendation is an important feature of modern software development tools to improve the productivity of programmers. The current advanced techniques in code recommendation mostly focus on the crowd-based approach. The basic idea is to collect a large pool of available source code, extract the common code patterns, and utilize the patterns for recommendations. However, programmers are different in multiple aspects including coding preferences, styles, levels of experience, and knowledge about libraries and frameworks. These differences lead to various usages of code elements. When the code of multiple programmers is combined and mined, such differences are disappeared, which could limit the accuracy of the code recommendation tool for a specific programmer. In the paper, we develop a code recommendation technique that focuses on the personal coding patterns of programmers. We propose Persona, a personalized code recommendation model. It learns personalized code patterns for each programmer based on their coding history, while also combines with project-specific and common code patterns. Persona supports recommending code elements including variable names, class names, methods, and parameters. The empirical evaluation suggests that our recommendation tool based on Persona is highly effective. It recommends the next identifier with top-1 accuracy of 60-65% and outperforms the baseline approaches.

Agent technology has developed into a sturdy instrument for e-commerce approach in recent years. The use of agent technology in e-commerce systems may address traditional e-commerce weaknesses, respond to the intelligence and individual needs of users, and significantly improve the efficiency of online transactions. There are some weaknesses in the system designed in this paper. The system will be less efficient in order to complete decentralization of the system. Every decentralized node needs to redundantly preserve a huge volume of information that not only takes up a lot of storage space however, it also makes cross-requesting and detail verification ineffective. This writing presents the evaluation of integrity of the e-commerce systems using block-chain and large amounts of data analysis. The fast growth of the Internet, in particular in the well-developed field of e-commerce, has advanced to digital marketing. In order to understand the common code generating conventional file to identify the associated event configuration, we will analyze Improved Practical Byzantine IPBF source code algorithms. The simulation shows the efficiency of the model.


Sign in / Sign up

Export Citation Format

Share Document