Rajwant Singh Rao

Dr. Rajwant Singh Rao

Guru Ghasidas Vishwavidyalaya, Bilaspur, India
orcid

Research Focus & Metrics

Academic Career Length

13Years (2014-Present)

(Calculated once Scilit publication data is synced: current year − year of first publication + 1)

Representative Publications

View All Publications
13 October 2022 in Applied Sciences
Verified
Journal Article
Open access
PDF file
SDSeema Dewangan
Seema Dewangan
RRRajwant Singh Rao
Rajwant Singh Rao
Alok MishraAlok Mishra
Alok Mishra
MGManjari gupta
Manjari gupta
Code smells are the result of not following software engineering principles during software development, especially in the design and coding phase. It leads to low maintainability. To evaluate the quality of software and its maintainability, code smell detection can be helpful. Many machine learning algorithms are being used to detect code smells. In this study, we applied five ensemble machine learning and two deep learning algorithms to detect code smells. Four code smell datasets were analyzed: the Data class, the God class, the Feature-envy, and the Long-method datasets. In previous works, machine learning and stacking ensemble learning algorithms were applied to this dataset and the results found were acceptable, but there is scope of improvement. A class balancing technique (SMOTE) was applied to handle the class imbalance problem in the datasets. The Chi-square feature extraction technique was applied to select the more relevant features in each dataset. All five algorithms obtained the highest accuracy—100% for the Long-method dataset with the different selected sets of metrics, and the poorest accuracy, 91.45%, was achieved by the Max voting method for the Feature-envy dataset for the selected twelve sets of metrics.

15 July 2024 in Applied Sciences
Verified
Journal Article
Open access
PDF file
PYPRAVIN SINGH YADAV
PRAVIN SINGH YADAV
RRRajwant Singh Rao
Rajwant Singh Rao
Alok MishraAlok Mishra
Alok Mishra
MGManjari gupta
Manjari gupta
Code smells are early warning signs of potential issues in software quality. Various techniques are used in code smell detection, including the Bayesian approach, rule-based automatic antipattern detection, antipattern identification utilizing B-splines, Support Vector Machine direct, SMURF (Support Vector Machines for design smell detection using relevant feedback), and immune-based detection strategy. Machine learning (ML) has taken a great stride in this area. This study includes relevant studies applying ML algorithms from 2005 to 2024 in a comprehensive manner for the survey to provide insight regarding code smell, ML algorithms frequently applied, and software metrics. Forty-two pertinent studies allow us to assess the efficacy of ML algorithms on selected datasets. After evaluating various studies based on open-source and project datasets, this study evaluated additional threats and obstacles to code smell detection, such as the lack of standardized code smell definitions, the difficulty of feature selection, and the challenges of handling large-scale datasets. The current studies only considered a few factors in identifying code smells, while in this study, several potential contributing factors to code smells are included. Several ML algorithms are examined, and various approaches, datasets, dataset languages, and software metrics are presented. This study provides the potential of ML algorithms to produce better results and fills a gap in the body of knowledge by providing class-wise distributions of the ML algorithms. Support Vector Machine, J48, Naive Bayes, and Random Forest models are the most common for detecting code smells. Researchers can find this study helpful in better anticipating and taking care of software development design and implementation issues. The findings from this study, which highlight the practical implications of ML algorithms in software quality improvement, will help software engineers fix problems during software design and development to ensure software quality.

29 July 2023 in SN Computer Science
Verified
Journal Article
Closed access
PDF file
SDSeema Dewangan
Seema Dewangan
RRRajwant Singh Rao
Rajwant Singh Rao
SCSripriya Roy Chowdhuri
Sripriya Roy Chowdhuri
MGManjari Gupta
Manjari Gupta

11 April 2024 in IEEE Access
Verified
Journal Article
Open access
PYPRAVIN SINGH YADAV
PRAVIN SINGH YADAV
RRRajwant Singh Rao
Rajwant Singh Rao
Alok MishraAlok Mishra
Alok Mishra
(1) Background: Code smell is the most popular and reliable method for detecting potential errors in code. In real-world circumstances, a single source code may have multiple code smells. Multi-label code smell detection is a popular research study. However, limited studies are available on it, and there is a need for a standardized classifier for reliably identifying various multi-label code smells that belong to the method-level code smell category. The primary goal of this study is to develop a rule-based method for detecting multi-label code smells. (2) Methods: Binary Relevance, Label Powerset, and Classifier Chain methods are utilized with tree based single-label algorithms, including some ensemble algorithms in this research paper. The chi-square feature selection technique is applied to select relevant features. The proposed model is trained using 10-fold cross-validation, Random Search cross-validation parameter tuning, and different performance measures are used to evaluate the model. (3) Results: The proposed model achieves 99.54% of the best jaccard accuracy for detecting method-level code smells using the Classifier Chain method with the Decision Tree. The Decision Tree model incorporating a multi-label classifier outperforms alternative approaches to multi-label classification. Single-label classifiers produced better results after considering the correlation factor. (4) Conclusion: This study will facilitate scientists and programmers by providing a systematic method for detecting various code smells in software projects and saving time and effort during code reviews by detecting multiple problems simultaneously. After detecting multi-label code smell, programmers can create more organized, easier-to-understand, and trustworthy programs.

28 October 2024 in Engineering Applications of Artificial Intelligence
Verified
Journal Article
Open access
PYPRAVIN SINGH YADAV
PRAVIN SINGH YADAV
RRRajwant Singh Rao
Rajwant Singh Rao
Alok MishraAlok Mishra
Alok Mishra
MGManjari Gupta
Manjari Gupta

1 June 2022 in International Journal of Mathematical, Engineering and Management Sciences
Verified
Journal Article
Closed access
RRRajwant Singh Rao
Rajwant Singh Rao
PSPawan Singh
Pawan Singh
Suhel Ahmad KhanSuhel Ahmad Khan
Suhel Ahmad Khan