DocumentCode :
3364031
Title :
A debugging strategy based on requirements of testing
Author :
Chaim, Marcos L. ; Maldonado, José C. ; Jino, Mario
Author_Institution :
Embrapa Inf. Technol., Campinas, Brazil
fYear :
2003
fDate :
26-28 March 2003
Firstpage :
160
Lastpage :
169
Abstract :
Testing and debugging are activities that consume a significant amount of the software quality and maintenance budget. To reduce such cost, the use of testing information for debugging purposes has been advocated In general, heuristics are used to select structural testing requirements (nodes, branches, and definition use associations) more closely related to the manifestation of failures which are then mapped into pieces of code. The problem with this approach is that it relies only on a static information-a fragment of code. We introduce a strategy for fault localization based on the investigation of indications (or hints) provided at run-time by data-flow testing requirements. The intuition is that the selected data-flow testing requirements may fail to hit the fault site but they still provide useful information for fault localization. The strategy-called Debugging strategy based on Requirements of Testing (DRT)-is targeted to such situations. The strategy´s novelty and attractiveness are threefold: (i) it focuses on dynamic information related to testing data; (ii) it can be implemented in state-of-the-practice symbolic debuggers with limited overhead; and (iii) it utilizes algorithms that consume constant memory and are linear with respect to the number of branches in the program. The paper presents a case study which shows that our intuition is valid (for the subject program) and a proof-of-concept tool that implements the strategy.
Keywords :
program debugging; program testing; software tools; branches; debugging; definition use associations; fault localization; nodes; proof-of-concept tool; software maintenance budget; software quality budget; state-of-the-practice symbolic debuggers; structural testing requirements; testing information; Costs; Fault detection; Humans; Information technology; Inspection; Runtime; Software debugging; Software maintenance; Software quality; Software testing;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Software Maintenance and Reengineering, 2003. Proceedings. Seventh European Conference on
ISSN :
1534-5351
Print_ISBN :
0-7695-1902-4
Type :
conf
DOI :
10.1109/CSMR.2003.1192424
Filename :
1192424
Link To Document :
بازگشت