Skip to Main Content (Press Enter)

Logo UNIMI
  • ×
  • Home
  • Persone
  • Attività
  • Ambiti
  • Strutture
  • Pubblicazioni
  • Terza Missione

Expertise & Skills
Logo UNIMI

|

Expertise & Skills

unimi.it
  • ×
  • Home
  • Persone
  • Attività
  • Ambiti
  • Strutture
  • Pubblicazioni
  • Terza Missione
  1. Pubblicazioni

Fold2Vec: Towards a Statement Based Representation of Code for Code Comprehension

Articolo
Data di Pubblicazione:
2023
Citazione:
Fold2Vec: Towards a Statement Based Representation of Code for Code Comprehension / F. Bertolotti, W. Cazzola. - In: ACM TRANSACTIONS ON SOFTWARE ENGINEERING AND METHODOLOGY. - ISSN 1049-331X. - 32:1(2023 Feb 13), pp. 6.1-6.31. [10.1145/3514232]
Abstract:
We introduce a novel approach to source code representation to be used in combination with neural networks. Such a representation is designed to permit the production of a continuous vector for each code statement. In particular, we present how the representation is produced in the case of Java source code. We test our representation for three tasks: code summarization, statement separation, and code search. We compare with the state-of-the-art non-autoregressive and end-to-end models for these tasks. We conclude that all tasks benefit from the proposed representation to boost their performance in terms of f1-score, accuracy, and MRR, respectively. Moreover, we show how models trained on code summarization and models trained on statement separation can be combined to address methods with tangled responsibilities. Meaning that these models can be used to detect code misconduct.
Tipologia IRIS:
01 - Articolo su periodico
Keywords:
Machine Learninig; Neural Networks; Big Code; Learning Representations; Method Name Suggestion; Intent identiication;
Elenco autori:
F. Bertolotti, W. Cazzola
Autori di Ateneo:
CAZZOLA WALTER ( autore )
Link alla scheda completa:
https://air.unimi.it/handle/2434/922076
Link al Full Text:
https://air.unimi.it/retrieve/handle/2434/922076/2385212/tosem22-published.pdf
Progetto:
Typeful Language Adaptation for Dynamic, Interacting and Evolving Systems
  • Aree Di Ricerca

Aree Di Ricerca

Settori


Settore INF/01 - Informatica
  • Informazioni
  • Assistenza
  • Accessibilità
  • Privacy
  • Utilizzo dei cookie
  • Note legali

Realizzato con VIVO | Progettato da Cineca | 25.11.5.0