CESI Keynote English

31
Natalia Juristo University of Oulu & Technical University of Madrid Conduc’ng Experiments in Industry: The ESEIL FiDiPro Project

Transcript of CESI Keynote English

Page 1: CESI Keynote English

Natalia Juristo

University of Oulu &

Technical University of Madrid

Conduc'ngExperimentsinIndustry:TheESEILFiDiProProject

Page 2: CESI Keynote English

Project People Goal

Page 3: CESI Keynote English
Page 4: CESI Keynote English

Gaininsightintothechallengesofconduc1ngexperimentsintheso6wareindustry

ImproveunderstandingofdifferencesbetweenexperimentsinthelabandinthefiledforSE

Experimental Software Engineering Industrial Laboratory (ESEIL)

January 2013-December 2017

Page 5: CESI Keynote English
Page 6: CESI Keynote English
Page 7: CESI Keynote English

ExperimenttopicschosenbycompaniesUptothree

Eachexperimentreplicatedbyseveralindustrialpartners

Companiesrunning2-3experimentsover5yearsWithaminimumof1

Research Approach

Page 8: CESI Keynote English

CompletetheSEexperimentalpathAresoAwareindustrialexperimentsequivalenttofieldexperiments?

UnderstandthebarrierstosoAwareindustryexperiments

Learnwhetherexperimentscanbeusedfordecisionmakinginindustry

Understandthedifferencesbetweenstudentsandprofessionalsasexperimentalsubjects

ExternalvalidityofresultswithstudentsBehaviorofsubjects

ResearchGoals

Page 9: CESI Keynote English

Experiment Runs Design

Page 10: CESI Keynote English

An experiment on TDD

Experiment sold as hands-on exercises embedded in a training course

Limitations are placed on design

Participants are professionals but novices in the technology being evaluated

Page 11: CESI Keynote English

TRAINING EXERCISES TREATMENTS

DAY1 UTConcepts&Slicing

2SlicingExercises BASELINETASK(DoItYourWay)

DAY2 Slicing&TDD

2ITLExercises1TDDExercise

ITLTASK

DAY3 TDD 1TDDExercise TDDTASK

Page 12: CESI Keynote English

Organiza'on Country Date No.ofSubjectsUniveristyofOulu Finland may-14 48TechnicalUniversityofMadrid Spain mar-14;oct-14;oct-15 38UniversityofBasilicata Italy oct-15 20UniversityofSouthernDenmark Denmark jan-16 71TechnicalUniversityofValencia Spain may-14 32UniveristyofESPE Ecuador apr-14;apr-15;apr-16 43Elektrobit/Biaum Finland mar-14 9Ericsson Finland mar-15 21FSecure Finland&Malaysia oct-13 31Mapfre Spain jun-15 14Paf Finland mar-16 13PlayTech Estonia mar-14 18EcuadorianArmy Ecuador Apr-15 22

130 professionals 250 students

Page 13: CESI Keynote English

Today !I will not report !

results! J !

Page 14: CESI Keynote English

What we have learnt

Page 15: CESI Keynote English

Recruitment •  Hardtosignupasignificantnumberofpar1cipants

–  Developer1meismoney–  Numberofpar1cipantswaslowinallcases

•  8-20

•  Trainingwastheonlycarrotthatwefound

•  Companystructurehasamajorimpactonrecruitmentsuccess–  Companieswithbooked1mefortrainingwereeasiertoconvince

•  F-Secure

•  Projectleaderaschampionbederthaninnova1onmanagers–  PLadministersdeveloper1me

•  Mapfre&Playtech

Page 16: CESI Keynote English

Technologies •  Technologiesvaryacrosscompanies

–  Language,IDE,tes1ngframeworkweredifferentacrosscompanies

–  Experimentalinstrumentshadtobeadaptedseveral1mesfordifferentcompanies

•  OriginallyforJava,EclipseandJUnit(foracademicseang)•  AdaptedtoC++,C#,Boost,GoogleTest,IntelliJ

– Wemissedsomeinteres1nginstruments•  Astreatmentconformance(onlyavailableforJava)

Page 17: CESI Keynote English

Design •  Par1cipantsvola1litythreatscontrol

– Feweradendeesthansignedup– Moredrop-outs

•  Missingdatapointsthatthreatenvalidity–  Paf

– Adendeessome1meshaddifferentprofilethanexpected

•  Redesignonthefly–  Ericsson

Page 18: CESI Keynote English

@PafPar1cipants

–  Planned:14subjects–  Real:13subjects–  Useful:8subjects

•  Dataremoved:5subjects–  4adendedonly1session–  Group3hadonly1subject

TheimportanceofstayingontoperformallexperimentaltaskswasnotwellunderstoodLoosingagroupmeantthatwewereunabletocomparealltreatmentsforseveraltasks

DAY1YW

DAY2ITL

DAY3TDD

GROUP1 BSK SS MR

GROUP2 SS MR BSK

GROUP3 MR BSK SS

Page 19: CESI Keynote English

Design •  Par1cipantsvola1litythreatscontrol

– Feweradendeesthansignedup– Moredrop-outs

•  Missingdatapointsthatthreatenvalidity–  Paf

– Adendeessome1meshaddifferentprofilethanexpected

•  Redesignonthefly–  Ericsson

Page 20: CESI Keynote English

@EricssonPlannedDesign

Expectedsubjects:experiencedinC++,Eclipse,Boostandunittes1ng

TRAINING EXERCISES TREATMENTS

DAY1 Tes1ngToolConcepts

2ToolExercises1Mo1va1onalExercise(ITL)

BASELINETASK(DoItYourWay)

DAY2 Slicing 2SlicingExercises CONTROLTASK(ITL)

DAY3 TDD 3TDDExercises TREATMENTTASK(TDD)

TRAINING EXERCISES TREATMENTS

DAY1 Tes1ngToolConcepts

2ToolExercises1Mo1va1onalExercise(ITL)

BASELINETASK(DoItYourWay)

DAY2 Slicing 2SlicingExercises CONTROLTASK(ITL)

DAY3 TDD 3TDDExercises TREATMENTTASK(TDD)

RealDesignSubjects:veryinexperiencedinBoost&unittes1ng;inexperiencedinC++

Page 21: CESI Keynote English
Page 22: CESI Keynote English

Characteriza1onofthepar1cipantsMostsubjectsare:•  VeryinexperiencedinBoost•  VeryInexperienced/inexperiencedinunittes1ng•  InexperiencedinC++•  AlltypesforOO,programmingandIDE

Page 23: CESI Keynote English

Behavior •  Professionalsarelessmo1vatedthanstudents

–  Adendanceofatrainingcourse<>grading–  Preoccupiedwithworkissues–  Usedtoflexibleschedule–  Youngpar1cipantsmoreac1veandenthusias1cthanolderones–  Theremightbeseveralotherpsychologicalissues

•  Treatmentcomplianceislowerthanforstudents–  Studentsappeartobemorewillingtoabidebytherulesdefinedbyinstructors

–  Professionalstendtohavetheirownideasaboutwhattheyexpecttogetfromthecourse/experiment

•  Professionalsmightbeafraidofbeingassessed–  Somesubjectsremovedtheircode

Page 24: CESI Keynote English

Results Reception •  Managersverymuchwelcomedthefigures

–  Theywereamazedbythequan1ta1veinforma1onaboutdevelopment

•  Significancewashardtograsp–  Theytendedtofocusontheaverageandneglectedsignificanceandpower

– Wetriedoutdifferentrepresenta1ons•  Chartswereveryuseful

•  Repor1ngneedstodifferfromresearchpapers–  Focusondiagramsratherthannumbers–  Statethefindingsinwords– Discusstheconsequencesofresultsintheircontext

Page 25: CESI Keynote English

Means and Error Intervals Nonsignificant Significant

15.9%

46.4%

22.5% 48.3%

58.4%

Page 26: CESI Keynote English

Results Reception •  Managersverymuchwelcomedthefigures

–  Theywereamazedbythequan1ta1veinforma1onaboutdevelopment

•  Significancewashardtograsp–  Theytendedtofocusontheaverageandneglectedsignificanceandpower

– Wetriedoutdifferentrepresenta1ons•  Chartswereveryuseful

•  Repor1ngneedsdifferfromresearchpapers–  Focusondiagramsratherthannumbers–  Statethefindingsinwords– Discusstheconsequencesofresultsintheircontext

Page 27: CESI Keynote English

Impact of Findings •  Someadoptedideasfromtheexperiment(ifnottheresults)–  Toimprovetheirdevelopmenttools

•  EBadoptedinstrumentstomonitordevelopers•  EvenwhenresultsconvincedmanagersandtheyoptedtoadoptTDDtheyfacedreluctancefromdevelopers–  Conceptsfromtechnologytransferareneeded

Page 28: CESI Keynote English

Conclusions

Page 29: CESI Keynote English

Theconceptoffieldexperimentneedsmoreresearch

Itsadapta1ontoSEisnotsimpleStrategiestofacethreatstointernalvalidity

BothtypesofexperimentsareneededAr1ficialhighlycontrolledenvironmentAndnaturalenvironments

Page 30: CESI Keynote English

Needtoimproveunderstandingonthevalidityofsubjects

Students,althoughnovices,mightpossiblybenotasbad

aswethoughtasexperimentalsubjects

Page 31: CESI Keynote English

Natalia Juristo

University of Oulu &

Universidad Politécnica de Madrid

Conduc'ngExperimentsinIndustry:TheESEILFiDiProProject