Endre søk
RefereraExporteraLink to record
Permanent link

Direct link
Referera
Referensformat
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Annet format
Fler format
Språk
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Annet språk
Fler språk
Utmatningsformat
  • html
  • text
  • asciidoc
  • rtf
N-Grams as a Measure of Naturalness and Complexity
Linnéuniversitetet, Fakulteten för teknik (FTK), Institutionen för datavetenskap och medieteknik (DM).
2019 (engelsk)Independent thesis Advanced level (degree of Master (Two Years)), 20 poäng / 30 hpOppgave
Abstract [en]

We live in a time where software is used everywhere. It is used even for creating other software by helping developers with writing or generating new code. To do this properly, metrics to measure software quality are being used to evaluate the final code. However, they are sometimes too costly to compute, or simply don't have the expected effect. Therefore, new and better ways of software evaluation are needed. In this research, we are investigating the usage of the statistical approaches used commonly in the natural language processing (NLP) area. In order to introduce and evaluate new metrics, a Java N-gram language model is created from a large Java language code corpus. Naturalness, a method-level metric, is introduced and calculated for chosen projects. The correlation with well-known software complexity metrics are calculated and discussed. The results, however, show that the metric, in the form that we have defined it, is not suitable for software complexity evaluation since it is highly correlated with a well-known metric (token count), which is much easier to compute. Different definition of the metric is suggested, which could be a target of future study and research.

sted, utgiver, år, opplag, sider
2019. , s. 34
Emneord [en]
language model, language processing, ngram, naturalness, java, code complexity, software quality, static analysis, code metrics
HSV kategori
Identifikatorer
URN: urn:nbn:se:lnu:diva-90006OAI: oai:DiVA.org:lnu-90006DiVA, id: diva2:1369387
Utdanningsprogram
Software Technology Programme, Master Programme, 120 credits
Veileder
Examiner
Tilgjengelig fra: 2019-11-12 Laget: 2019-11-11 Sist oppdatert: 2019-11-12bibliografisk kontrollert

Open Access i DiVA

fulltext(1878 kB)22 nedlastinger
Filinformasjon
Fil FULLTEXT01.pdfFilstørrelse 1878 kBChecksum SHA-512
1455f541ba3b1a5b4b89068b1751c1474b994762d18ef62b175ef8e3d596aa80025b58fdc85b8fa676222f993566f2fa30f1963410bb282addb72f72c1f4f6ec
Type fulltextMimetype application/pdf

Søk i DiVA

Av forfatter/redaktør
Randák, Richard
Av organisasjonen

Søk utenfor DiVA

GoogleGoogle Scholar
Totalt: 22 nedlastinger
Antall nedlastinger er summen av alle nedlastinger av alle fulltekster. Det kan for eksempel være tidligere versjoner som er ikke lenger tilgjengelige

urn-nbn

Altmetric

urn-nbn
Totalt: 31 treff
RefereraExporteraLink to record
Permanent link

Direct link
Referera
Referensformat
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Annet format
Fler format
Språk
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Annet språk
Fler språk
Utmatningsformat
  • html
  • text
  • asciidoc
  • rtf