Strategies for program inspection and visualization

Bibliographic Details
Main Author: Cruz, Daniela
Publication Date: 2008
Other Authors: Berón, Mario, Henriques, Pedro Rangel, Pereira, Maria João
Language: eng
Source: Repositórios Científicos de Acesso Aberto de Portugal (RCAAP)
Download full: http://hdl.handle.net/10198/922
Summary: The aim of this paper is to show the strategies 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. On one hand 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. On the other hand, we traverse the source program and instrument it with inspection functions. Those 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.
id RCAP_ba96da4a5e93b31f157c45ece9596906
oai_identifier_str oai:bibliotecadigital.ipb.pt:10198/922
network_acronym_str RCAP
network_name_str Repositórios Científicos de Acesso Aberto de Portugal (RCAAP)
repository_id_str https://opendoar.ac.uk/repository/7160
spelling Strategies for program inspection and visualizationProgram comprehensionProgram visualizerThe aim of this paper is to show the strategies 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. On one hand 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. On the other hand, we traverse the source program and instrument it with inspection functions. Those 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.FCTThe Technical University of KošiceBiblioteca Digital do IPBCruz, DanielaBerón, MarioHenriques, Pedro RangelPereira, Maria João2008-10-02T13:40:18Z20082008-07-022008-01-01T00:00:00Zconference objectinfo:eu-repo/semantics/publishedVersionapplication/pdfhttp://hdl.handle.net/10198/922engengCruz, Daniela; Berón, Mário; Henriques, Pedro; Pereira, Maria João (2008). Strategies for program inspection and visualization. In CSE'2008 International Scientific Conference on Computer Science and Engineering. Stará Lesná.CSE'08 - International Scientific Conference on Computer Science and Engineeringinfo:eu-repo/semantics/openAccessreponame:Repositórios Científicos de Acesso Aberto de Portugal (RCAAP)instname:FCCN, serviços digitais da FCT – Fundação para a Ciência e a Tecnologiainstacron:RCAAP2025-02-25T11:54:17Zoai:bibliotecadigital.ipb.pt:10198/922Portal AgregadorONGhttps://www.rcaap.pt/oai/openaireinfo@rcaap.ptopendoar:https://opendoar.ac.uk/repository/71602025-05-28T11:15:29.816155Repositórios Científicos de Acesso Aberto de Portugal (RCAAP) - FCCN, serviços digitais da FCT – Fundação para a Ciência e a Tecnologiafalse
dc.title.none.fl_str_mv Strategies for program inspection and visualization
title Strategies for program inspection and visualization
spellingShingle Strategies for program inspection and visualization
Cruz, Daniela
Program comprehension
Program visualizer
title_short Strategies for program inspection and visualization
title_full Strategies for program inspection and visualization
title_fullStr Strategies for program inspection and visualization
title_full_unstemmed Strategies for program inspection and visualization
title_sort Strategies for program inspection and visualization
author Cruz, Daniela
author_facet Cruz, Daniela
Berón, Mario
Henriques, Pedro Rangel
Pereira, Maria João
author_role author
author2 Berón, Mario
Henriques, Pedro Rangel
Pereira, Maria João
author2_role author
author
author
dc.contributor.none.fl_str_mv Biblioteca Digital do IPB
dc.contributor.author.fl_str_mv Cruz, Daniela
Berón, Mario
Henriques, Pedro Rangel
Pereira, Maria João
dc.subject.por.fl_str_mv Program comprehension
Program visualizer
topic Program comprehension
Program visualizer
description The aim of this paper is to show the strategies 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. On one hand 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. On the other hand, we traverse the source program and instrument it with inspection functions. Those 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.
publishDate 2008
dc.date.none.fl_str_mv 2008-10-02T13:40:18Z
2008
2008-07-02
2008-01-01T00:00:00Z
dc.type.driver.fl_str_mv conference object
dc.type.status.fl_str_mv info:eu-repo/semantics/publishedVersion
status_str publishedVersion
dc.identifier.uri.fl_str_mv http://hdl.handle.net/10198/922
url http://hdl.handle.net/10198/922
dc.language.iso.fl_str_mv eng
eng
language eng
dc.relation.none.fl_str_mv Cruz, Daniela; Berón, Mário; Henriques, Pedro; Pereira, Maria João (2008). Strategies for program inspection and visualization. In CSE'2008 International Scientific Conference on Computer Science and Engineering. Stará Lesná.
CSE'08 - International Scientific Conference on Computer Science and Engineering
dc.rights.driver.fl_str_mv info:eu-repo/semantics/openAccess
eu_rights_str_mv openAccess
dc.format.none.fl_str_mv application/pdf
dc.publisher.none.fl_str_mv The Technical University of Košice
publisher.none.fl_str_mv The Technical University of Košice
dc.source.none.fl_str_mv reponame:Repositórios Científicos de Acesso Aberto de Portugal (RCAAP)
instname:FCCN, serviços digitais da FCT – Fundação para a Ciência e a Tecnologia
instacron:RCAAP
instname_str FCCN, serviços digitais da FCT – Fundação para a Ciência e a Tecnologia
instacron_str RCAAP
institution RCAAP
reponame_str Repositórios Científicos de Acesso Aberto de Portugal (RCAAP)
collection Repositórios Científicos de Acesso Aberto de Portugal (RCAAP)
repository.name.fl_str_mv Repositórios Científicos de Acesso Aberto de Portugal (RCAAP) - FCCN, serviços digitais da FCT – Fundação para a Ciência e a Tecnologia
repository.mail.fl_str_mv info@rcaap.pt
_version_ 1833591734538338304