Precise code differencing
dc.contributor.advisor | Bylander, Tom | |
dc.contributor.author | Porter, Robert L. | |
dc.contributor.committeeMember | Niu, Jianwei | |
dc.contributor.committeeMember | von Ronne, Jeffery | |
dc.date.accessioned | 2024-02-12T19:30:53Z | |
dc.date.available | 2024-02-12T19:30:53Z | |
dc.date.issued | 2012 | |
dc.description | This item is available only to currently enrolled UTSA students, faculty or staff. To download, navigate to Log In in the top right-hand corner of this screen, then select Log in with my UTSA ID. | |
dc.description.abstract | A clear understanding of software modification history is beneficial for creating code that is less error prone and projects that are timelier. Accurate software code differencing has been a long term problem for software engineers as noted by the many ongoing efforts to improve results. Software is a hierarchical data structure, requiring hierarchical analysis, for which simple text differencing is often not satisfactory. Many attempts have been made to solve the problem of differencing code at an abstract or data structure level, including the software's abstract syntax trees (ASTs). Research on differencing from program trees has been done with cdiff, an unnamed partial match tool, and ChangeDistiller. These show promise, however they do not clearly define the accuracy of their results and, in the case of ChangeDistiller, use several heuristics to increase efficiency, which can also degrade accuracy. To overcome these problems, ZhangShashaComparison was developed as an Eclipse Plug-in tool that uses the Zhang Shasha tree differencing algorithm for AST analysis. It yields optimal and accurate results with respect to tree edit distances. A new algorithm was devised to extract the edit script from the Zhang Shasha output and report the code differences in a clear and precise manner to the end user. Thus, comparing the abstract syntax trees of two versions of source code files, hierarchical code changes can be precisely identified and reported, providing a potentially practical approach for software engineers to produce better code in faster time. | |
dc.description.department | Computer Science | |
dc.format.extent | 70 pages | |
dc.format.mimetype | application/pdf | |
dc.identifier.isbn | 9781267615770 | |
dc.identifier.uri | https://hdl.handle.net/20.500.12588/4950 | |
dc.language | en | |
dc.subject | Abstract Syntax Tree | |
dc.subject | Zhang Shasha | |
dc.subject.classification | Computer science | |
dc.title | Precise code differencing | |
dc.type | Thesis | |
dc.type.dcmi | Text | |
dcterms.accessRights | pq_closed | |
thesis.degree.department | Computer Science | |
thesis.degree.grantor | University of Texas at San Antonio | |
thesis.degree.level | Masters | |
thesis.degree.name | Master of Science |
Files
Original bundle
1 - 1 of 1
No Thumbnail Available
- Name:
- Porter_utsa_1283M_10866.pdf
- Size:
- 529.18 KB
- Format:
- Adobe Portable Document Format