• DocumentCode
    2304301
  • Title

    Automatic Determination of Branch Correlations in Software Testing

  • Author

    Gong, Dunwei ; Yao, Xiangjuan ; Xia, Min

  • Author_Institution
    Sch. of Inf. & Electr. Eng., China Univ. of Min. & Technol., Xuzhou, China
  • Volume
    4
  • fYear
    2009
  • fDate
    19-21 May 2009
  • Firstpage
    211
  • Lastpage
    215
  • Abstract
    Path-oriented testing is an important aspect of software testing. A challenging problem with path-oriented test data generation is the existence of infeasible paths. Timely detecting these infeasible paths can not only save test sources but also improve test efficiency. It is an effective method to detect infeasible paths by branch correlations. In this paper, we propose a method to automatically determine branch correlations in software testing. Firstly, we give a theorem to determine the true-true correlation, true-false correlation, false-true correlation, and false-false correlation based on the probabilities of the conditional distribution corresponding to different branches´ outcome (i.e. true or false). We then estimate these values of the probabilities by the maximum likelihood estimation. Finally, we apply the proposed method to determine the branch correlations of two typical programs, and the results show that the proposed method can accurately determine the branch correlations of different conditional statements. Our achievement provides an effective and automatic method to detect infeasible paths, which has great significance in improving the efficiency of software testing.
  • Keywords
    maximum likelihood estimation; program testing; branch correlations; conditional distribution probability; false-false correlation; false-true correlation; maximum likelihood estimation; path-oriented test data generation; software testing; true-false correlation; true-true correlation; Automatic testing; Costs; Educational institutions; Finance; Mathematics; Maximum likelihood estimation; Programming; Software engineering; Software quality; Software testing; Branch Correlation; Conditional Statement; Infeasible Path; Software Testing;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Software Engineering, 2009. WCSE '09. WRI World Congress on
  • Conference_Location
    Xiamen
  • Print_ISBN
    978-0-7695-3570-8
  • Type

    conf

  • DOI
    10.1109/WCSE.2009.328
  • Filename
    5319537