Repository logo
 
Publication

Code inspection approaches for program visualization

dc.contributor.authorCruz, Daniela
dc.contributor.authorBerón, Mario
dc.contributor.authorHenriques, Pedro Rangel
dc.contributor.authorPereira, Maria João
dc.date.accessioned2009-10-15T10:02:13Z
dc.date.available2009-10-15T10:02:13Z
dc.date.issued2009
dc.description.abstractThe aim of this paper is to show the approaches involved in the implementation of two tools of PCVIA project that can be used for Program Comprehension. Both tools use known compiler techniques to inspect code in order to visualize and understand programs’ execution but one of them modifies the source code and the other not. In the non-invasive approach, we convert the source program into an internal decorated (or attributed) abstract syntax tree and then we visualize the structure traversing it, and applying visualization rules at each node according to a pre-defined rule-base. No changes are made in the source code, and the execution is simulated. In the invasive approach, we traverse the source program and instrument it with inspection functions. Those functions, also known as inspectors, provide information about the function-call flow and data usage at runtime (during the actual program execution). This information is collected and gathered in an information repository that is then displayed in a suitable form for navigation. These two different approaches are used respectively by Alma (generic program animation system) and CEAR (C Rooting Algorithm Visualization tool). For each tool several examples of visualization are shown in order to discuss the information that is included in the visualizations, visualization types and the use of Program Animation for Program Comprehension.pt
dc.description.sponsorshipFCTpt
dc.identifier.citationCruz, Daniela; Berón, Mário; Henriques, Pedro; Pereira, Maria João (2009). Code inspection approaches for program visualization. Acta Electrotechnica et Informatica. ISSN 1335-8243. 9:2 p.32-42pt
dc.identifier.issn1335-8243
dc.identifier.urihttp://hdl.handle.net/10198/1202
dc.language.isoengpt
dc.publisherFaculty of Electrical Engineering and Informatics, Technical University of Kosicept
dc.subjectCode inspectionpt
dc.subjectCode analysispt
dc.subjectVisualizationpt
dc.subjectProgram comprehensionpt
dc.titleCode inspection approaches for program visualizationpt
dc.typejournal article
dspace.entity.typePublication
oaire.citation.conferencePlaceSlovakiapt
oaire.citation.endPage42pt
oaire.citation.startPage32pt
oaire.citation.titleActa Electrotechnica et Informaticapt
person.familyNamePereira
person.givenNameMaria João
person.identifier.ciencia-idC912-4A49-A3B3
person.identifier.orcid0000-0001-6323-0071
person.identifier.ridG-5999-2011
person.identifier.scopus-author-id13907870300
rcaap.rightsopenAccesspt
rcaap.typearticlept
relation.isAuthorOfPublicationa20ccfa6-4e84-4c25-ab0d-8d6ba196ffc2
relation.isAuthorOfPublication.latestForDiscoverya20ccfa6-4e84-4c25-ab0d-8d6ba196ffc2

Files

Original bundle
Now showing 1 - 1 of 1
No Thumbnail Available
Name:
ActaElectronica09codeInspectionvs.pdf
Size:
616.54 KB
Format:
Adobe Portable Document Format
License bundle
Now showing 1 - 1 of 1
No Thumbnail Available
Name:
license.txt
Size:
1.8 KB
Format:
Item-specific license agreed upon to submission
Description: