Suspiciousness values and their meanings: The suspiciousness value is a value between 0 and 1 for those lines that have been executed and -1 for those that have not. Where 'e' denotes the line being checked. Suspiciousness(e) = (failed(e)/total failed) / ((passed(e)/total passed)+(failed(e)/total failed)) Tarantula calculates the "suspiciousness" of a line based on the formula : Hawk-eye is another similar tool for Java and uses the Tarantula formula alongwith Ochiai formula to calculate suspiciousness of each statement. Other related work in this field includes the work of Max Planck Institute, Bug-Assist, which is an error localization tool for ANSI-C. The closest tool to what we our doing is Tarantula. #FIGLEAF SOFTWARE REVIEWS CODE#Developers need to know where certain unit tests fail in an efficient way and what pieces of the code are not being covered by the existing unit tests.Tarantula is a tool developed in Ruby which performs fault localization. (This definition has been taken from the paper "Fault Localization for Java Programs Using Probabilistic Program Dependence Graph" ) It identifies exactly where the bugs are. It identifies the causes of abnormal behaviour of a faulty program. It determines the root cause of the failure. *Problem 2: What caused my test cases to fail ? Use Fault Localization.įault localization is a process to find the location of faults. In our project, we are using coverage.py and figleaf.py, two Python libraries for code coverage. Most of the tools we refered are based on Branch coverage (with the exception of Coverage.py which also has a branch coverage mode). The complexity becomes higher from the start to the end of the above list. in if a=5 or b = 6, both conditions for a as well as b should be tested)?
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |