11.07.2015 Views

Introduction au génie logiciel # 3 plan Qualité - Service d'echange ...

Introduction au génie logiciel # 3 plan Qualité - Service d'echange ...

Introduction au génie logiciel # 3 plan Qualité - Service d'echange ...

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Introduction</strong> <strong>au</strong> génie <strong>logiciel</strong> # 3Génie <strong>logiciel</strong>43ExempleRetourne l'inverse de la racine carrée d'un nombrepour tout positif, sinon le nombre...Quel jeu de test ?function klouk(x: float): floatbeginif x > 0 thenreturn 1/sq(x);elsereturn x;endifend;Le jeu de test {1, 0, -1} est falatieux ;il fait croire que cette fonction est correcte© A. Beugnard ENST BretagneGénie <strong>logiciel</strong>44Fiabilité et tests aléatoires• Jeux de tests aléatoires : N points• Seuil de confiance : 1 - e = 95% par exemple• θ < 1 - (1-e) 1/N• MTBF = 1/θ⇒ 1.000.000 points de tests pour 95% deconfiance⇒ MTBF de 220.000 exécutions© A. Beugnard ENST BretagneA. Beugnard 221998

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!