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
Semantic differences and Graphical View of Files
Högskolan i Jönköping, Tekniska Högskolan, JTH, Data- och elektroteknik.
Högskolan i Jönköping, Tekniska Högskolan, JTH, Data- och elektroteknik.
2009 (engelsk)Independent thesis Advanced level (degree of Master (Two Years)), 20 poäng / 30 hpOppgave
Abstract [en]

This Master’s thesis presents an algorithm that finds the semantic differences between two versions of files, an older version and a new modified version of the file. The algorithm is responsible for finding changes in the program’s behavior and displaying them graphically. By this a lot of time can be saved because it is not necessary to go through the whole file to find the differences.

 

The program, Semantic Diff, developed in this master thesis uses the Javacc parser generator which is used to parse files and generate the abstract syntax tree for them. Using this tree it is possible to see all the methods, classes, constructors and parameters for both older version and modified version.  By comparing all the methods, classes and interfaces of both the versions it is possible to find the differences that change the program behavior.

 

The algorithm for finding semantic differences has been evaluated by testing it on various test cases. By making changes in the original file and in the modified file. Like adding methods and deleting methods and adding classes to the files. The algorithm highlights those methods with green color which are added newly in the modified file and highlights the methods with red color in the original file which got deleted in modified file. This algorithm also finds the textual difference between two files and highlights those lines which are changed in modified file and which got deleted from original file.

 

sted, utgiver, år, opplag, sider
2009. , s. 42
Emneord [en]
Semantic, Parser, Versioning and Graphical view
Identifikatorer
URN: urn:nbn:se:hj:diva-8351OAI: oai:DiVA.org:hj-8351DiVA, id: diva2:210981
Presentation
2008-06-13, School of Engineering Jönköping University P. O. Box 1026 SE-551 11 Jönköping, Sweden Tel. +46 36 10 15 91 Fax +46 36 12 00 65 , Jönköping, Sweden, 10:00 (engelsk)
Uppsök

Veileder
Examiner
Tilgjengelig fra: 2009-05-06 Laget: 2009-04-07 Sist oppdatert: 2009-05-06bibliografisk kontrollert

Open Access i DiVA

fulltekst(0 kB)572 nedlastinger
Filinformasjon
Fil FULLTEXT01.pdfFilstørrelse 0 kBChecksum SHA-512
34f666ed691403ac0338cdfe8aa51f8d2a2b6b77eca20c87d317263ebb11775668bd88b46189150eba562749699ce275fe839165c32e3389512d7d7777132e27
Type fulltextMimetype application/pdf

Søk i DiVA

Av forfatter/redaktør
Mohammed, Rafiullah KhanBandi, Raghavender
Av organisasjonen

Søk utenfor DiVA

GoogleGoogle Scholar
Totalt: 579 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: 247 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