{"title":"Comprehending and visualizing software based on XML-representations and call graphs","authors":"Marbod Hopfner, D. Seipel, J. W. V. Gudenberg","doi":"10.1109/WPC.2003.1199218","DOIUrl":"https://doi.org/10.1109/WPC.2003.1199218","url":null,"abstract":"We have implemented a package VISUR/RAR in XPCE/SWI-PROLOG, which provides some further functionality of an integrated development environments (IDE): it allows for the visualization of rules (VISUR) together with the reasoning about rule structures (RAR). VISUR/RAR is part of the toolbox DISLOG, which is also developed under XPCE/SWI-PROLOG; the functionality of DISLOG ranges from reasoning in disjunctive deductive databases to applications such as the management and visualization of stock information. The deductive database of RAR manages rules for analyzing PROLOG-code based on suitable dependency graphs and rules for recovering the design of PROLOG- and JAVA-software using a query language FNQUERY for XML-representations, which we have developed. It can be applied for improving the design of rule-based systems, for computing certain software metrics, and for supporting refactoring techniques. The obtained results can be visualized using graphs and tables in VISUR.","PeriodicalId":343985,"journal":{"name":"11th IEEE International Workshop on Program Comprehension, 2003.","volume":"261 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2003-05-10","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"122914778","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"Observing and measuring cognitive support: steps toward systematic tool evaluation and engineering","authors":"Andrew Walenstein","doi":"10.1109/WPC.2003.1199202","DOIUrl":"https://doi.org/10.1109/WPC.2003.1199202","url":null,"abstract":"A key desideratum for many software comprehension tools is to reduce the mental burdens of software engineers. That is, the tools should support cognition. This key benefit is difficult to directly observe and measure, so evaluating such tools has been problematic. This paper describes an investigation into the application of distributed cognition theories to analyzing and observing cognitive support. Theories of cognitive support are used to generate an analysis of potential cognitive benefits provided by the compilation-error tracking facilities of a commercial software development environment. This analysis is used to generate a scheme for coding user observations such that cognitive support related activity can be tracked. Experiences in applying the technique on data from a field study are reported. The study also serves to provide a glimpse into the ways that programmers and tools cooperate. Implications are drawn for future practices of tool evaluation and engineering.","PeriodicalId":343985,"journal":{"name":"11th IEEE International Workshop on Program Comprehension, 2003.","volume":"25 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2003-05-10","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"123963936","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"Enhancing domain-specific software architecture recovery","authors":"Igor Ivkovic, Michael W. Godfrey","doi":"10.1109/WPC.2003.1199211","DOIUrl":"https://doi.org/10.1109/WPC.2003.1199211","url":null,"abstract":"Performing software architecture analysis and recovery on a large software system is expensive and time consuming; when it is done at all, it is often performed within a narrow context, focused on a few areas of particular concern. However, for a long-lived system within a well understood application domain, the costs for performing detailed architecture recovery may be amortized over several generations of the system; the resulting models can also be broadened and put into context by incorporating information about the history and anticipated future evolution of both the application and its underlying domain. This paper proposes a systematic approach for organizing application domain knowledge into a unified structure called the Architectural Domain Assets Set (ADAS). The ADAS structure builds on previous research, as well as our experience in performing an architecture recovery of IBM's DB2. Our initial experiences in using ADAS suggest that it brings needed focus to the recovery process and provides assistance to domain-specific architecture recovery.","PeriodicalId":343985,"journal":{"name":"11th IEEE International Workshop on Program Comprehension, 2003.","volume":"27 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2003-05-10","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"123399578","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"Individual differences in program comprehension strategies in unfamiliar programming systems","authors":"Amy J. Ko, B. Uttl","doi":"10.1109/WPC.2003.1199201","DOIUrl":"https://doi.org/10.1109/WPC.2003.1199201","url":null,"abstract":"This study examines the effect of individual differences on the program comprehension strategies of users working with an unfamiliar programming system. Participants of varying programming expertise were given a battery of psychological tests, a brief introduction to a statistical programming environment, and a 20-minute debugging task. Our data show three distinct comprehension strategies that were related to programming experience, but individuals with stronger domain knowledge for specific bugs tended to succeed.","PeriodicalId":343985,"journal":{"name":"11th IEEE International Workshop on Program Comprehension, 2003.","volume":"14 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2003-05-10","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"130575052","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"Applying the decorator pattern for profiling object-oriented software","authors":"Edward B. Duffy, J. Gibson, B. Malloy","doi":"10.1109/WPC.2003.1199192","DOIUrl":"https://doi.org/10.1109/WPC.2003.1199192","url":null,"abstract":"A profiler can provide valuable information to a developer to facilitate program optimization, debugging or testing. In this paper, we describe the use of the decorator pattern for non-intrusive profiling of object-oriented applications. We provide a formal specification of the decorator pattern, and show that the pattern can be used as a program transformation without altering the external, observable behavior of the system. We refer to such a transformation as a correctness preserving transformation, or CPT. As a CPT, the decorator pattern can be used to non-intrusively profile object-oriented applications and we illustrate this application with an invariant validator for enforcement of design by contract, and for profiling memory. We provide a case study to compare the cost trade-offs of validating invariants at different points in a program.","PeriodicalId":343985,"journal":{"name":"11th IEEE International Workshop on Program Comprehension, 2003.","volume":"57 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2003-05-10","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"120958958","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"CrocoPat: efficient pattern analysis in object-oriented programs","authors":"Dirk Beyer, C. Lewerentz","doi":"10.1109/WPC.2003.1199220","DOIUrl":"https://doi.org/10.1109/WPC.2003.1199220","url":null,"abstract":"CrocoPat is a new tool for efficient pattern-based analysis of large object-oriented programs. Patterns can be flexibly specified by expressions based on standard mathematics provided by the tool language. It is easy to specify patterns in different variants in a compact form, adapted to specific situations.","PeriodicalId":343985,"journal":{"name":"11th IEEE International Workshop on Program Comprehension, 2003.","volume":"75 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2003-05-10","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"123550717","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"Software components capture using graph clustering","authors":"Yves Chiricota, F. Jourdan, G. Melançon","doi":"10.1109/WPC.2003.1199205","DOIUrl":"https://doi.org/10.1109/WPC.2003.1199205","url":null,"abstract":"We describe a simple, fast computing and easy to implement method for finding relatively good clusterings of software systems. Our method relies on the ability to compute the strength of an edge in a graph by applying a straightforward metric defined in terms of the neighborhoods of its end vertices. The metric is used to identify the weak edges of the graph, which are momentarily deleted to break it into several components. We study the quality metric MQ introduced by S. Mancoridis et al. (1998) and exhibit mathematical properties that make it a good measure for clustering quality. Letting the threshold weakness of edges vary defines a path, i.e. a sequence of clusterings in the solution space (of all possible clustering of the graph). This path is described in terms of a curve linking MQ to the weakness of the edges in the graph.","PeriodicalId":343985,"journal":{"name":"11th IEEE International Workshop on Program Comprehension, 2003.","volume":"2 2","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2003-05-10","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"114110641","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"Workshop on graphical documentation for programmers: assessing the efficacy of UML diagrams for program understanding","authors":"Shihong Huang, S. Tilley","doi":"10.1109/WPC.2003.1199213","DOIUrl":"https://doi.org/10.1109/WPC.2003.1199213","url":null,"abstract":"Programmers often use graphical forms of documentation that rely on software visualization techniques to make complicated information easier to understand. However, it is an open question exactly which types of graphical documentation are most suitable for which types of program understanding tasks (and in which specific usage contexts). The Unified Modeling Language (UML) is the de facto standard for modeling modern software applications. This paper focuses on discussing techniques for the efficacy of UML diagrams in aid of program understanding. The majority of the workshop will involve participants analyzing a series of UML diagrams and answering a detailed questionnaire concerning a hypothetical software system.","PeriodicalId":343985,"journal":{"name":"11th IEEE International Workshop on Program Comprehension, 2003.","volume":"452 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2003-05-10","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"115933339","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"Handling large search space in pattern-based reverse engineering","authors":"Jörg Niere, J. Wadsack, Lothar Wendehals","doi":"10.1109/WPC.2003.1199212","DOIUrl":"https://doi.org/10.1109/WPC.2003.1199212","url":null,"abstract":"Large industrial legacy systems are challenges of reverse-engineering activities. Reverse-engineering approaches use text-search tools based on regular expressions or work on graph representations of programs, such as abstract syntax graphs. Analyzing large legacy systems often fail because of the large search space. Our approach to handle large search space in pattern-based reverse engineering is to allow imprecise results in means of false positives. We use the theory of fuzzy sets to express impreciseness and present our approach on the example of recovering associations.","PeriodicalId":343985,"journal":{"name":"11th IEEE International Workshop on Program Comprehension, 2003.","volume":"65 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2003-05-10","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"124976612","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"Isolating cause-effect chains with AskIgor","authors":"A. Zeller","doi":"10.1109/WPC.2003.1199221","DOIUrl":"https://doi.org/10.1109/WPC.2003.1199221","url":null,"abstract":"AskIgor is a Web service for automatically determining causes of program failures. You submit an executable and two invocations: one where the program fails, and one where it passes. AskIgor compares these two runs and conducts a number of systematic tests to narrow down the set of failure-inducing variable values automatically. This reveals the cause-effect chain of the failure - that is, the variables and values that caused the failure. In a case study, AskIgor successfully isolated the cause-effect chain for a failure of the GNU C compiler: \"initially, the C program to be compiled contained an addition of 1.0; this caused an addition operator in the intermediate RTL representation; this caused a cycle in the RTL tree - and this caused the compiler to crash\".","PeriodicalId":343985,"journal":{"name":"11th IEEE International Workshop on Program Comprehension, 2003.","volume":"27 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2003-05-10","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"121196319","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}