NUST Institutional Repository

Python Code Re-use Recommendation Based on Software Requirements Using Natural Language Processing

Show simple item record

dc.contributor.author Farooqi, Hareem
dc.date.accessioned 2024-10-01T04:18:51Z
dc.date.available 2024-10-01T04:18:51Z
dc.date.issued 2024-09-27
dc.identifier.other 400724
dc.identifier.uri http://10.250.8.41:8080/xmlui/handle/123456789/46971
dc.description Supervisor: Dr. Wasi Haider Butt en_US
dc.description.abstract Code reuse serves as a critical activity in the software development world as it encourages efficiency and reduces redundancy while resulting in improved quality software products. Nowadays, with a regular change in technology — especially in e-commerce websites — a developer's ability to effectively utilize old code will allow them time-to-market quicker and possibly avoid many errors to re-use already validated code. One of the solutions to automate this process is by using recommender systems that help developers easily find specific code snippets or components they need to complete their task as they relate to re-using pieces of code. This study introduces a novel Python code reuse recommendation system designed to assist developers in the e-commerce domain. By employing Natural Language Processing (NLP) techniques, our system uses the BERT model to assess and measure the similarity between software requirements. Once the requirements are analyzed, the corresponding code is pre processed and further evaluated using the CodeBERT model to determine the degree of code similarity. Our findings demonstrate a strong correlation between similar requirements and the development of similar software, reinforcing the potential for efficient code reuse across projects. This system offers significant advantages for requirements engineers and developers by facilitating the re-utilization of existing code within the same domain, thereby streamlining the development process. en_US
dc.language.iso en en_US
dc.subject Software Engineering, Requirement Engineering, Recommender System, Requirement Reuse, Software Reuse en_US
dc.title Python Code Re-use Recommendation Based on Software Requirements Using Natural Language Processing en_US
dc.type Thesis en_US


Files in this item

This item appears in the following Collection(s)

  • MS [441]

Show simple item record

Search DSpace


Advanced Search

Browse

My Account