摘要 |
<p>The program logic structure graphical representation method includes the steps: A. generating a top layer object; B. nesting the branch tree object /statement block object into the branch object of arbitrary layer; C. calculating the size and position of objects in the whole program to draw the graphical representation. The program path statistics method is that the said step C is replaced with program path statistics. The invention may use structural object as plot unit and the size and position of object is automatically calculated, so it is possible to rapidly draw program logic structure graph. The logic structure graph can intuitively represent execution path of program. The program logic structure graphical representation method provided by the invention can automatically perform program path statistics and can design path coverage-based test case according to the statistical result.</p> |