Measuring Design Pattern Compliance Using Programming Language Models
dc.contributor.author | SUN, JIAPENG | |
dc.contributor.author | KARRI, ANJALI POORNIMA | |
dc.contributor.department | Chalmers tekniska högskola / Institutionen för data och informationsteknik | sv |
dc.contributor.examiner | Strüber, Daniel | |
dc.contributor.supervisor | Horkoff, Jennifer | |
dc.contributor.supervisor | Staron, Miroslaw | |
dc.date.accessioned | 2022-07-07T11:49:00Z | |
dc.date.available | 2022-07-07T11:49:00Z | |
dc.date.issued | 2022 | sv |
dc.date.submitted | 2020 | |
dc.description.abstract | The complexity of automotive control software makes evaluation of the quality of their design difficult. Software architects, on whom falls the responsibility of verifying whether the implementation complies with specified design patterns, often have little choice but to revert to fully manual review. Such a clearly inefficient process is prone to error, increasing the chances of design regression. In recent days, neural language models (like BERT) pre-trained on source code corpora are beginning to be used for automating a variety of programming tasks. The primary objective of this work is to assess whether such a language model can also be used to automate the assessment of design compliance. Training a Programming Language Model using the Masked language Modeling objective and applying the principle of linguistic regularity in program embeddings, we demonstrate a method that measures compliance with one automotive software design pattern. Results from this work indicate that, by automating such design compliance checking, neural language models can provide valuable assistance to human architects in assessing and fixing violations in automotive software design. | sv |
dc.identifier.coursecode | DATX05 | sv |
dc.identifier.uri | https://hdl.handle.net/20.500.12380/305122 | |
dc.language.iso | eng | sv |
dc.setspec.uppsok | Technology | |
dc.subject | Software design patterns | sv |
dc.subject | programming language models | sv |
dc.subject | embeddings | sv |
dc.subject | linguistic regularity | sv |
dc.subject | compliance test | sv |
dc.title | Measuring Design Pattern Compliance Using Programming Language Models | sv |
dc.type.degree | Examensarbete för masterexamen | sv |
dc.type.uppsok | H |
Ladda ner
License bundle
1 - 1 av 1
Hämtar...
- Namn:
- license.txt
- Storlek:
- 1.51 KB
- Format:
- Item-specific license agreed upon to submission
- Beskrivning: