Self-Supervised Learning Models for Source Code Representation and Software Assessment

Authors

  • Nareshkumar Jagadhabi Compnova Inc, United States
  • Vishnu Vardhan Reddy Kavuluri Deloitte Consulting LLP, United States
  • Jaswanth Kumar Mandapatti Advent Health, United States
  • Maheswara Rao Gorumutchu HYR Global Source Inc, United States
  • Srinivasarao Bandla Deloitte Consulting LLP, United States

Keywords:

self-supervised learning, source code representation, software quality prediction, code embeddings, defect prediction.

Abstract

Software quality assessment is essential for maintaining reliable and scalable software systems as codebases become larger and more complex. Traditional prediction methods depend on manually engineered metrics and labeled defect datasets, limiting scalability and semantic understanding. This study investigates self-supervised learning for source code representation to support automated software quality assessment with reduced dependence on manual annotation. The proposed framework learns contextual code embeddings from large software repositories and integrates them with predictive models to evaluate defect density, code complexity, and maintainability indicators. Experimental results show that learned representations capture meaningful structural and semantic relationships within source code and improve prediction performance compared with traditional metric-based approaches. The findings suggest that self-supervised representation learning can strengthen automated software engineering analysis, support early detection of quality risks, and provide practical benefits for developers and maintenance teams working with large-scale software systems.

Downloads

Published

2025-12-09

Issue

Section

Articles