The documentation of computer programs can be considerably eased and standardized using the programs described in this paper. They are basically machine- and language-independent, possess a simple structure, use one s...
详细信息
The documentation of computer programs can be considerably eased and standardized using the programs described in this paper. They are basically machine- and language-independent, possess a simple structure, use one serial input and one output stream, and require no backing store. The code size for each program is a few thousand bytes and the time for running them is dominated by that needed for input and output. The programs are: 1 INDEX (gives an index of all identifiers used in a program). 2 POLISH (paginates a program listing so that the global structure is evident). 3 WATER (helps find misprints in computer-readable reports). 4 UNDOC (creates a live program from its documented form). Also included are examples of the output from these programs.
Understanding an unfamiliar program is always a daunting task for any programmer, either experienced or inexperienced. Many studies have shown that even an experienced programmer who is already familiar with the code ...
详细信息
ISBN:
(纸本)9781479921430
Understanding an unfamiliar program is always a daunting task for any programmer, either experienced or inexperienced. Many studies have shown that even an experienced programmer who is already familiar with the code may still need to rediscover the code frequently during maintenance activities. Compared to that tracing the source code of an unfamiliar program is a totally different process of comprehension. Difficulties in such a process can be compounded if the code has poor or little internal program documentation. In practice, internal program documentation is often neglected or receives much less attention while most documentation techniques are designed to help programmers deal with familiar code, not unfamiliar code. In this paper, a novel internal program documentation method is proposed. In the approach, the multimedia documents, such as slides and voice recording, can be created along with a sequence of debugging break points, where the sequence of break points and its associated multimedia documents form a trace case. We show that trace cases can be very useful in documenting major control flows of a program using examples so that the time needed to construct a program model for understanding can be shortened. To demonstrate the idea, a prototype tool called polyTraceAid has been implemented as a plug-in in Visual Studio.
Typically, multiple developers are involved in the various stages of the software development and maintenance process. To ensure an optimal transfer of knowledge between these different peers, a reliable human-readabl...
详细信息
ISBN:
(纸本)0769526012
Typically, multiple developers are involved in the various stages of the software development and maintenance process. To ensure an optimal transfer of knowledge between these different peers, a reliable human-readable model of the dynamics of a software artefact is needed Once these models become machine-verifiable, they can be used throughout an application's lifetime to check whether the documented behavioral properties continue to hold as the application evolves. Unfortunately, most existing modeling media are inadequate to express human-readable behavioral models which are at the same time machine-verifiable. We therefore propose a declarative platform wherein behavioral program models can be expressed in terms of user-defined high-level concepts and be automatically verified against an application's actual behavior We demonstrate our approach by using it to both document and verify an interpreter for a garbage-collected programming language.
program documentation is a vital source of information for software engineers charged with making changes to complex applications. Test documentation can be used to help future stakeholders understand the rationale be...
详细信息
ISBN:
(纸本)9781457721243
program documentation is a vital source of information for software engineers charged with making changes to complex applications. Test documentation can be used to help future stakeholders understand the rationale behind the testing effort. This panel will discuss some of the similar features and salient differences between program documentation and test documentation. Although both types of documentation are usually written by and for different groups of people (for reasonable-sized projects), there is enough overlap that each could be improved by studying the communication strategies of the other.
program documents are very important in understanding a program. But current program comment mechanism is awkward and unfriendly to read and writ, it cannot annotate a program clearly and completely. This paper propos...
详细信息
program documents are very important in understanding a program. But current program comment mechanism is awkward and unfriendly to read and writ, it cannot annotate a program clearly and completely. This paper proposes a different approach of program comments, programmers are no to longer to write comments randomly and arbitrarily. Our system will ask programmers to annotate a program according to the specification embedded in the grammar, programmers can use not only text, but video and sound to express the meaning of a program easily and completely. The quantity of comments will be put into a database, which can be queried by the project managers, customers, and software quality assurance specialists etc. to acquire a comprehensive software metrics of program comments. Besides the program and comments are represented as the HTML format, which can be browsed by most browsers via Internet.
The 11th VerifyThis program verification competition took place on April 22, 2023, at ETAPS 2023 in Paris, France. Contestants were tasked with solving three verification challenges in real time, using any tools of th...
详细信息
ISBN:
(纸本)9783031676949;9783031676956
The 11th VerifyThis program verification competition took place on April 22, 2023, at ETAPS 2023 in Paris, France. Contestants were tasked with solving three verification challenges in real time, using any tools of their choice. The subjects of the challenges were (1) in-place reversal of a linked list, (2) ordered binary decision diagrams, and (3) a concurrent FIFO queue. Fifteen teams, each with 1 or 2 members, participated;all were required to be present on site. In this report, we summarize the three challenges and some of the notable solutions.
One of the central tasks in software maintenance is being able to understand and develop code changes. Thus, given a natural language description of the desired new operation of a function, an agent (human or AI) migh...
详细信息
Developers often insert temporary "print" or "log" instructions into their code to help them better understand runtime behavior, usually when the code is not behaving as they expected. Despite the ...
详细信息
Storing user-specific configuration files in a "dotfiles" repository is a common practice among software developers, with hundreds of thousands choosing to publicly host their repositories on GitHub. This pr...
详细信息
Analysis of multichannel ECG recordings (body surface maps (BSMs) and intracardial maps) requires special software. We created a software package and a user interface on top of a commercial data analysis package (MATL...
详细信息
Analysis of multichannel ECG recordings (body surface maps (BSMs) and intracardial maps) requires special software. We created a software package and a user interface on top of a commercial data analysis package (MATLAB) by a combination of high-level and low-level programming. Our software was created to satisfy the needs of a diverse group of researchers. It can handle a large variety of recording configurations. It allows for interactive usage through a fast and robust user interface, and batch processing for the analysis of large amounts of data. The package is user-extensible, includes routines for both common and experimental data processing tasks, and works on several computer platforms. The source code is made intelligible using software for structured documentation and is available to the users. The package is currently used by more than ten research groups analysing ECG data worldwide. (C) 2002 Elsevier Science Ireland Ltd. All rights reserved.
暂无评论