ebook img

Martin Monperrus University of Lille & Inria, France Antifragile Software and Genetic Improvement PDF

19 Pages·2016·1.17 MB·English
by  
Save to my drive
Quick download
Download
Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.

Preview Martin Monperrus University of Lille & Inria, France Antifragile Software and Genetic Improvement

Antifragile Software and Genetic Improvement Martin Monperrus University of Lille & Inria, France CREST Open Workshop on Genetic Improvement Jan 2016 1 Martin Monperrus, University of Lille & Inria, France Exception Handling Analysis and Transformation Using Fault Injection: Study of Resilience Against Unanticipated Exceptions (IST 2014) try { prepare_meringue() add_cream() make_balls() add_chocolate_shavings() } catch (MissingChocolateEx e) { use_nutella(); } « Anticipated errors » 3 Martin Monperrus, University of Lille & Inria, France Expected errors in test suites Blue and white tests specify anticipated errors White tests specify resilience Test colors ● – Pink – Blue - White 4 Martin Monperrus, University of Lille & Inria, France Empirical results 100% 90% 80% 70% 60% 50% white 40% blue 30% pink 20% 10% 0% 3950 2046 2031 481 406 339 191 135 100 5 Martin Monperrus, University of Lille & Inria, France Our intuition: simulating unforeseen errors by perturbing test case execution 6 Martin Monperrus, University of Lille & Inria, France Why ? 7 Martin Monperrus, University of Lille & Inria, France Short circuit testing: Exception injection in test suites White test + throw new X() = 8 Martin Monperrus, University of Lille & Inria, France Source-Independence The try-catch blocks that keep the tests passing under exception injection are capable to handle unanticipated errors. WWee ccaallll tthheemm ''''ssoouurrccee--iinnddeeppeennddeenntt''''.. Empirical assessment of resilience against unforeseen errors 9 Martin Monperrus, University of Lille & Inria, France Empirical Evaluation 45 40 35 30 25 nodne apgennodsteiqnute 20 aginndosetpiqeunedent 15 10 5 0 Commons-lang sonar core jbehave core sonar plugin api shindig-java-gadgets commons-codec shindig-common joda time spojo core 10 Martin Monperrus, University of Lille & Inria, France

Description:
Commons-lang commons-codec sonar core shindig-common jbehave core (Benoit Cornu, Lionel Seinturier, Martin Monperrus),. In Information and
See more

The list of books you might like

Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.