Statistical Debugging of Programs written in Dynamic Programming Language: RUBY
Independent thesis Advanced level (degree of Master (Two Years))Student thesisAlternative title
Statistisk Debugging av program skrivna i dynamiskt programmeringsspråk : RUBY (Swedish)
Debugging is an important and critical phase during the software development process. Software debugging is serious and tough practice involved in functional base test driven development. Software vendors encourages their programmers to practice test driven development during the initial development phases to capture the bug traces and the associated code coverage infected from diagnosed bugs. Application’s source code with fewer threats of bug existence or faulty executions is assumed as highly efficient and stable especially when real time software products are in consideration. Due to the fact that process of development of software projects relies on great number of users and testers which required having an effective fault localization technique. This specific fault localization technique can highlight the most critical areas of software system at code as well as modular level so that debugging algorithm can be used to debug the application source code. Nowadays many complex or simple software systems are in corporation with open bug repositories to localize the bugs. Any inconsistency or imperfection in early development phase of software product results in low efficient system and less reliability. Statistical debugging of program source code for visualization of fault is an important and efficient way to select and rank the suspicious lines of code. This research provides guidelines for practicing statistical debugging technique for programs coded in Ruby programming language. This thesis presents statistical debugging techniques available for dynamic programming languages. Firstly, the statistical debugging techniques were thoroughly observed with different predicate base approaches followed in previous work done in the subject area. Secondly, the new process of statistical debugging for programs coded in Ruby programming language is introduced by generating dynamic predicates. Results were analyzed by implementing multiple programs written in Ruby programming language with different complexity level. The analysis of experimentation performed on candidate programs depict that SOBER is more efficient and accurate in bug identification than Cause Isolation Scheme. It is concluded that despite of extensive research in the field of statistical debugging and fault localization it is not possible to identify majority of the bugs. Moreover SOBER and Cause Isolation Scheme algorithms are found to be two most mature and effective statistical debugging algorithms for bug identification with in software source code.
Place, publisher, year, edition, pages
2010. , 87 p.
Statistical Debugging, Fault Localization, Predicates Profiling, SOBER, Cause Isolation Scheme, Dynamic predicate evaluation
IdentifiersURN: urn:nbn:se:bth-1993Local ID: oai:bth.se:arkivex7BADA7D3F74C2CA1C12578450051F046OAI: oai:DiVA.org:bth-1993DiVA: diva2:829253
Grahn, Prof. Håkan
Address: School of Computing Blekinge Institute of Technology SE-371 79 Karlskrona, Sweden Phone: +46-(0)455-385804 Fax: +46-(0)455-3850572015-04-222011-02-282015-06-30Bibliographically approved