Large language models and software testing
dc.contributor.advisor | Inggs, Cornelia P. | en_ZA |
dc.contributor.advisor | Visser, Willem | en_ZA |
dc.contributor.author | Dewey, Marco | en_ZA |
dc.contributor.other | Stellenbosch University. Faculty of Science. Dept. of Computer Science. | en_ZA |
dc.date.accessioned | 2024-03-04T17:21:04Z | |
dc.date.accessioned | 2024-04-26T07:44:57Z | |
dc.date.available | 2024-03-04T17:21:04Z | |
dc.date.available | 2024-04-26T07:44:57Z | |
dc.date.issued | 2024-03 | |
dc.description | Thesis (MSc)--Stellenbosch University, 2024. | en_ZA |
dc.description.abstract | ENGLISH ABSTRACT: This thesis examines the viability of leveraging transformer-based large language models, exemplified by Codex, f or the a utomated g eneration of test suites in production software. By leveraging the abilities large language models exhibit for understanding and generating natural and coding languages, these models can analyze code and comments to generate contextually relevant test cases. Using these models in the domain of automatic software testing presents a potential solution to the oracle problem. The research involves a comparative analysis between Codex and a promi- nent automatic testing tool, EvoSuite, using the Commons-Lang library from the Defects4J benchmark. This comparison draws insights regarding Codex’s efficacy in ge nerating co verage te sts an d id entifying fa ulty be havior within production code. The findings o f t his thesis a rgue t hat C odex w hile demon- strating promise, exhibits limitations as an automatic testing tool in achieving high test coverage and uncovering software bugs. Moreover, the study high- lights potential challenges associated with utilizing open-source repositories for training and testing code generation by large language models, including the risk of incorporating inconsistent coding conventions and suboptimal software testing practices into these models. | en_ZA |
dc.description.abstract | AFRIKAANSE OPSOMMING: Hierdie tesis ondersoek hoe prakties dit is om transformeerder-gebaseerde groot taalmodelle, soos byvoorbeeld Codex, vir die outomatiese generering van toetsgevalle vir produksiesagteware te gebruik. Deur gebruik te maak van die vermoëns van groot taalmodelle om natuurlike tale en programmeringstale te verstaan en te genereer, kan hierdie modelle kode en kommentaar analiseer om kontekstueel-relevante toetsgevalle te genereer. Die gebruik van hierdie modelle op die gebied van outomatiese sagtewaretoetsing bied ’n potensiële oplossing vir die orakelprobleem. Die navorsing behels ’n vergelykende analise tussen Codex en ’n promi- nente outomatiese toetsingshulpmiddel, EvoSuite, deur gebruik te maak van die Commons-Lang biblioteek wat deel is van die Defects4J maatstaf. Hierdie vergelyking bied insigte oor die doeltreffendheid van Codex om dekkingstoetse te genereer en foutiewe gedrag binne produksiekode te identifiseer. D ie be- vindinge van hierdie tesis beweer dat Codex, alhoewel dit belowend lyk, be- perkings toon as ’n outomatiese toetsingshulpmiddel om hoë toetsdekking te bereik en sagtewarefoute bloot te lê. Verder beklemtoon die studie potensiële uitdagings wat gepaard gaan met die gebruik van oopbronbewaarplekke vir die opleiding en toetsing van groot taalmodelle om kode te genereer, insluitend die risiko om onkonsekwente koderingskonvensies en suboptimale sagtewaretoets- praktyke in hierdie modelle in te sluit. | af_ZA |
dc.description.version | Masters | en_ZA |
dc.format.extent | viii, 90 pages | en_ZA |
dc.identifier.uri | https://scholar.sun.ac.za/handle/10019.1/130167 | |
dc.language.iso | en_ZA | en_ZA |
dc.language.iso | en_ZA | en_ZA |
dc.publisher | Stellenbosch : Stellenbosch University | en_ZA |
dc.rights.holder | Stellenbosch University | en_ZA |
dc.subject.lcsh | Large language model -- Testing | en_ZA |
dc.subject.lcsh | Computational linguistics -- Evaluation | en_ZA |
dc.subject.lcsh | Language and languages -- Data processing | en_ZA |
dc.subject.lcsh | Natural language processing (Computer science) -- Testing | en_ZA |
dc.subject.lcsh | Computer software -- Testing | en_ZA |
dc.subject.name | UCTD | en_ZA |
dc.title | Large language models and software testing | en_ZA |
dc.type | Thesis | en_ZA |
Files
Original bundle
1 - 1 of 1
Loading...
- Name:
- dewey_large_2024.pdf
- Size:
- 1.74 MB
- Format:
- Adobe Portable Document Format
- Description: