MATLAB SIMULINK VERIFICATION AND VALIDATION - S Guide de l'utilisateur Page 398

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 674
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 397
18 Coverage Collection During Simulation
18-32
Coverage for run_intersect_test
On the Details tab, the metrics that summarize coverage for the entire
run_intersect_test function are reported and repeated as shown.
The results summarized in the coverage metrics summary can be expressed in the
following conclusions:
There are eight decision outcomes reported for run_intersect_test in the line
reports:
One for line 1 (executed)
Two for line 6 (true and false)
One for line 14 (executed)
Two for line 27 (true and false)
Two for line 30 (true and false).
The decision coverage for each line shows 100% decision coverage. This means that
decision coverage for run_intersect_test is eight of eight possible outcomes, or
100%.
There are four conditions reported for run_intersect_test in the line
reports. Lines 27 and 30 each have two conditions, and each condition has two
condition outcomes (true and false), for a total of eight condition outcomes in
run_intersect_test. All conditions tested positive for both the true and false
outcomes except the first condition of line 30 (right1 < left2). This means that
condition coverage for run_intersect_test is seven of eight, or 88%.
Vue de la page 397
1 2 ... 393 394 395 396 397 398 399 400 401 402 403 ... 673 674

Commentaires sur ces manuels

Pas de commentaire