SlideShare ist ein Scribd-Unternehmen logo
1 von 58
Downloaden Sie, um offline zu lesen
Empirical Software Engineering
What is it and why do we need it?
Blekinge Institute of Technology, Sweden
fortiss GmbH, Germany
www.mendezfe.org
mendezfe
Daniel Méndez
About me // Daniel Mendez
Head of research division
Requirements Engineering
daniel.mendez@bth.se
www.mendezfe.org
📍Munich
📍 Karlskrona
Full Professor in
Software Engineering
Research areas / interests
▪ (Empirical Software Engineering)
▪ Requirements engineering, software quality
management, and processes improvement
▪ Strong focus on Academia-Industry
Collaborations and Technology Transfer
Research Networks and Initiatives
▪ Naming the Pain in Requirements Engineering
(www.napire.org)
▪ IREB Research working group
▪ International Software Engineering Research
Network (ISERN)
Ground rules
As we have to use ,
please feel free to interrupt me any time as I
might not see you raising your hand.
Whenever you have questions / remarks,
please don’t ask , but
share them with the whole group.
(1)
(2)
What could be wrong with such a study?
Research Question: Which car has the best driving performance?
H_0: There is no difference.
20 people without a driving licence participate.
They are taught to drive in a lecture of 2 hours.
Results: The BMW is significantly better than the Audi (p<0.01)
Adopted from: Dag I.K. Sjøberg, Keynote at the International Conference on Product-Focused SW Process Improvement 2016, Trondheim, Norway.
Image soruces: Manufacturer websites
Empirical research is
more than simplyapplying statistical
equations
Goal of the lecture
What is this little thing called “Empirical Software Engineering”?
What we will discuss
• In a nutshell:
• Broader perspective on Software Engineering (SE) as a scientific discipline
• A few principles, concepts, and terms in Empirical SE
• Why we need empiricism in Software Engineering research
• What the perspectives are for the research community and for you
Focus:
What & Why
Basis for…
• Course on research methods
• Master Thesis projects
• The time afterwards
Focus:
How
Outline
• What is Empirical Software Engineering?
• Why do we need Empirical Software Engineering?
• What are the perspectives in Empirical Software Engineering?
Outline
• What is Empirical Software Engineering?
• Why do we need Empirical Software Engineering?
• What are the perspectives in Empirical Software Engineering?
Let’s start step by step….
What is science?
-- What do you think? --
“Science” wasn’t built in a day…
384-322 BC 1561-1626 1694-1778 1724-1804 1896-1980 1902-1994… … … …
Aristoteles Bacon Voltaire Kant Piaget Popper
• Search for laws and
reasoning for phenomena
• Understanding the nature
of phenomena
• Progress of
knowledge of
nature (reality)
• Draw benefits from
knowledge growth
• Emancipation from
gods and beliefs
• System of
Epistemology (theory
of knowledge)
• Era of constructivism
• Falsification as
demarcation
criterion
• Birth of null
hypothesis testing
Science is understood as the human undertaking for the search of
knowledge (through systematic application of scientific methods)
àNeeds to be considered in a historical context
àIncreased understanding of scientific practice (and what science eventually is)
Scientific practices and research methods have
changed over time, the role of empiricism* not
Today
* Gaining knowledge through sensory experiences
384-322 BC
Le Petit Prince (1943) Large Hadron Collider
Scientific knowledge and practice
(Necessary) postulates for scientific practice:
• There are certain rules, principles, and norms for scientific practices
• Rationalism: Reasoning by argument / logical inference / mathematical proof
• Empiricism: Reasoning by sensory experiences (case studies, experiments,…)
• There is nothing absolute about truth
• There is a scientific community to judge about the quality of empirical studies
• Although empirical observations may be faulty, it is possible (in the long run)
to make reliable observations and to falsify incorrect statements about reality
Scientific knowledge is the portrait of
our understanding of reality (via scientific theories).
What is Software Engineering research?
Is it scientific?
-- What do you think? --
Different purposes in science
• Gaining and validating new
insights
• Often theoretical character
• Typically addressed by natural
and social sciences
Basic Science
• Applying scientific methods to
practical ends
• Often practical (& pragmatic)
character
• Typically addressed by
engineering disciplines
In software engineering research, we
• apply scientific methods to practical ends (treating design science problems)
• treat insight-oriented questions, thus, we are an insight-oriented science, too
Applied Science
Different purposes in science
Fundamental / basic research Applied research
Image Sources: Wikipedia (l), Apple (r)
Basic Science Applied Science
* Graph theory
(Königsberg Bridge problem)
What is Software Engineering research?
Is it scientific?
-- Yes, Software Engineering research is scientific! --
Software Engineering research
• Software engineering is about development (not production),
inherently complex, and human-centric
• Only empirical research allows us to advance our knowledge:
• Reason about the discipline and (e.g. social) phenomena involved
• Recognise and understand limits and effects of artefacts in their contexts
(e.g. by evaluating technologies, techniques, processes, models, etc.)
àExemplary questions:
• There exist over 200 documented requirements elicitation techniques
• Which one(s) work in my context?
• To which extent? Under which conditions?
• There is a new method for requirements elicitation
• What are the strengths and limitations?
Empirical Software Engineering
Practitioners “versus” Researchers
• Researchers usually concerned with
understanding the nature of artefacts and
their relationship in the context
• What is the effect?
• Why is it so?
• Practitioners usually concerned with
improving their engineering practices and
outcomes, using available knowledge
• What is the problem?
• What is the best solution?
The ultimate goal of Empirical Software Engineering is theory
building and evaluation to advance our body of knowledge.
In our field, theoretical and
practical relevance have often
a special symbiotic relation
But what is a Scientific Theory?
-- What do you think? --
Theories (generally speaking)
Examples (following this general notion of theory):
• “Vaccinations lead to autism”
• “Global warming is a hoax by ecologists to harm the industry”
• “Earth is flat”
• “Wearing face masks does more harm than the effects of COVID-19”
• …
A theory is a belief that there is a pattern in phenomena.
Are these theories scientific?
No: Speculations based on imagination, hopes and fears, and resulting in
opinions that often cannot be refuted (i.e. logical fallacies)
Scientific Theories
1. Tests
• Experiments, simulations, …
• Replications
2. Criticism
• Peer reviews / acceptance in the community
• Corroborations / extensions with further theories
A scientific theory is a belief that there is a pattern in phenomena while
having survived
1. tests against sensory experiences
2. criticism by critical peers
Note: Addresses so-called
Demarcation Problem to
distinguish science from non-
science (as per introduction by K.
Popper)
In scope of empirical research methods
(but out of scope for today)
Scientific Theories have…
… a purpose:
… quality criteria:
• Testability
• Empirical support / (high) level of confidence
• Explanatory power
• Usefulness to researchers and / or practitioners
• …
Analytical Explanatory Predictive Explanatory &
Predictive
Scope Descriptions and
conceptualisation,
including
taxonomies,
classifications, and
ontologies
- What is?
Identification of
phenomena by
identifying causes,
mechanisms or
reasons
- Why is?
Prediction of what
will happen in the
future
- What will happen?
Prediction of what
will happen in the
future and
explanation
- What will happen
and why?
Note: “Law” versus “Theory”
A law is a descriptive theory
without explanations (i.e. an
analytical theory)
Adapted from: Sjøberg, D., Dybå, T., Anda, B., Hannay, J. Building Theories in Software Engineering, 2010.
Further information on: https://goo.gl/SQQwxt
Exemplary framework for describing theories
in Software Engineering
• Constructs: What are the basic elements?
(Actors, technologies, activities, system entities, context factors)
• Propositions: How do the constructs interact?
• Explanations: Why are the propositions as specified?
• Scope: What is the universe of discourse in which the theory is
applicable?
Source (framewrk): Sjøberg, D., Dybå, T., Anda, B., Hannay, J. Building Theories in Software Engineering, 2010.
Exemplary framework for describing theories
in Software Engineering
• Constructs: What are the basic elements?
(Actors, technologies, activities, system entities, context factors)
• Propositions: How do the constructs interact?
• Explanations: Why are the propositions as specified?
• Scope: What is the universe of discourse in which the theory is
applicable?
Source (example): Wagner, Mendez et al. Status Quo in Requirements Engineering: A Theory and a Global Family of Surveys, TOSEM 2018.
Source (framewrk): Sjøberg, D., Dybå, T., Anda, B., Hannay, J. Building Theories in Software Engineering, 2010.
Example
Proposition:
“Structured requirements lists are documented
textually in free form or textually with constraints.”
Explanation and Scope:
“Free-form and constraint textual requirements are
sufficient for many contexts such as in agile projects
where they only act as reminders for further
conversations.”
Theories and hypotheses
Scientific theory
• “[…] based on hypotheses tested and verified
multiple times by detached researchers” (J. Bortz
and N. Döring, 2003)
Hypothesis
• “[…] a statement that proposes a possible
explanation to some phenomenon or event” (L.
Given, 2008)
• Grounded in theory, testable and falsifiable
• Often quantified and written as a conditional
statementEmpirical Approaches
Theory / Theories
(Tentative) Hypothesis
Falsification /
Corroboration
Theory (Pattern)
Building
Hypothesis
Building
If cause/assumption (independent variables)
then (=>) consequence (dependent variables)
Note: We don’t “test theories”, but
their consequences via hypotheses
(i.e. testable propositions)
From real world phenomena to theories and back:
The empirical life cycle
Empirical Approaches
Theory / Theories
(Tentative) Hypothesis
Falsification /
Corroboration
Theory (Pattern)
Building
Units of Analysis
Sampling Frame
Sampling
Hypothesis
Building
Empirical Inquiries
Induction
Inference of a
general rule
from a particular
case/result
(observation)
Abduction
(Creative) Synthesis of an
explanatory case from a general rule
and a particular result (observation)
Deduction
Application of a general rule
to a particular case,
inferring a specific result
Source: Mendez and Passoth. Empirical Software
Engineering: from Discipline to Interdiscipline, 2018.
From real world phenomena to theories and back:
The empirical life cycle
Empirical Approaches
Theory / Theories
(Tentative) Hypothesis
Falsification /
Corroboration
Theory (Pattern)
Building
Units of Analysis
Sampling Frame
Sampling
Hypothesis
Building
Empirical Inquiries
Induction
Inference of a
general rule
from a particular
case/result
(observation)
Abduction
(Creative) Synthesis of an
explanatory case from a general rule
and a particular result (observation)
Deduction
Application of a general rule
to a particular case,
inferring a specific result
Source: Mendez and Passoth. Empirical Software
Engineering: from Discipline to Interdiscipline, 2018.
Further reading and outlook
• Epistemological setting of Empirical Software Engineering
• Theory building and evaluation
• Challenges in Empirical Software Engineering
Preprint: https://arxiv.org/abs/1805.08302
Outline
• What is Empirical Software Engineering?
• Why do we need Empirical Software Engineering?
• What are the perspectives in Empirical Software Engineering?
Importance of
Empirical Software Engineering
We need a reliable body of knowledge about
• our discipline and (e.g. social) phenomena involved, and
• limits and effects of artefacts (technologies, techniques,
processes, models, etc.) in their practical contexts.
Building and evaluating theories is crucial
for Software Engineering research and practice
Recap
What are exemplary scientific
Software Engineering Theories?
-- Which ones do you know? --
Scientific Theories in Software Engineering
Image Source: https://www.worldwildlife.org/habitats/deserts
Disclaimer: Symbolic statement, might be slightly over exaggerated
Transferred verbatim from other
disciplines (i.e. not adopted)
Example: Theory of Gatekeeping
Isolated and vague (i.e. universal)
Example: “Frontloading efforts
decreases overall development costs”
Not backed by evidence (i.e. non-
scientific conventional wisdom)
Example: “GoTo statements are harmful”
Current state of evidence in Software Engineering
“[…] judging a theory by assessing the number,
faith, and vocal energy of its supporters […] basic
political credo of contemporary religious maniacs”
— Imre Lakatos, 1970
* Addressing the situation in the quantum mechanics research community, an analogy
Example: Goal-oriented RE
[1] Horkoff et al. Goal-Oriented Requirements Engineering: A Systematic Literature Map, 2016
Papers published [1]: 966
Papers including a case study [1]: 131
Studies involving practitioners [2]: 20
Practitioners actually using GORE [3]: ~ 5%
[3] Mendez et al. Naming the Pain in Requirements Engineering Initiative – www.napire.org
[2] Mavin, et al. Does Goal-Oriented Requirements Engineering Achieve its Goal?, 2017
Example: Goal-oriented RE
[1] Horkoff et al. Goal-Oriented Requirements Engineering: A Systematic Literature Map, 2016
Papers published [1]: 966
Papers including a case study [1]: 131
Studies involving practitioners [2]: 20
Practitioners actually using GORE [3]: ~ 5%
[3] Mendez et al. Naming the Pain in Requirements Engineering Initiative – www.napire.org
[2] Mavin, et al. Does Goal-Oriented Requirements Engineering Achieve its Goal?, 2017
Current state of evidence in SE
Available studies often…
• … remain isolated
• … discuss little (to no) relation
to existing evidence
• … strengthen confidence on own hopes
(and don’t report anything around)
• … don’t report negative results
Source (levels of evidence): Wohlin. An Evidence Profile for Software Engineering Research and Practice, 2013.
In most cases, we
are here
Conventional Wisdom in SE
“Leprechauns”: Folklore turned into facts
• Emerge from times where claims by
authorities were treated as “facts”
• Reasons manifold:
• Lack of empirical awareness
• Neglecting particularities
of practical contexts
• Neglecting relation to existing evidence
• No proper citations
(one side of the medal, over-conclusions, etc.)
• Lack of data
• …
Exemplary “leprechaun”:
Go To statements considered harmful
[1] Edsger Dijkstra . Go To Statement Considered Harmful. Communications of the ACM, 1968.
• Public exchange based on reasoning by argument (rationalist arguments)...
[4] Nagappan et al. An empirical study of goto in C code from GitHub repositories, 2015.
[2] Frank Rubin. ”GOTO Considered Harmful" Considered Harmful. Communications of the ACM, 1969.
[3] Donald Moore et al. " 'GOTO Considered Harmful' Considered Harmful" Considered Harmful?" Communications of the ACM, 1987.
1968 1969 1987
• … finally tackled by one empirical study nearly 50 years later.
Exemplary “leprechaun”:
Go To statements considered harmful
[1] Edsger Dijkstra . Go To Statement Considered Harmful. Communications of the ACM, 1968.
• Public exchange based on reasoning by argument (rationalist arguments)...
[4] Nagappan et al. An empirical study of goto in C code from GitHub repositories, 2015.
[2] Frank Rubin. ”GOTO Considered Harmful" Considered Harmful. Communications of the ACM, 1969.
[3] Donald Moore et al. " 'GOTO Considered Harmful' Considered Harmful" Considered Harmful?" Communications of the ACM, 1987.
2015
• … finally tackled by one empirical study nearly 50 years later.
“We conclude that developers
limit themselves to using goto
appropriately, [not] like Dijkstra
feared, [thus] goto does not
appear to be harmful in practice.”
Key Takeaway
• The current state of evidence in
Software Engineering is still weak
• Practical relevance and impact?
• Potential for transfer into practice and
adoption?
• But there is hope…
• Importance of empirical research
recognised
• Growth of a strong research
community over last two decades
Outline
• What is Empirical Software Engineering?
• Why do we need Empirical Software Engineering?
• What are the perspectives in Empirical Software Engineering?
Empirical Software Engineering Community
Empirical Software Engineering research community 2018 (Oulu, Finland)
Goals and perspectives in
Empirical Software Engineering
1. Provide tools and methods for empirical research
2. Establish strong Software Engineering theories
3. Eradicate conventional wisdom (“leprechauns”)
Various settings
• Industry settings
• Research initiatives from the community
• Publicly funded research projects
Example 1:
Industry setting
(as part of a Academia-industry collaboration)
Challenge: Role and Relevance of RE to Business Success unclear
Goal: “Find the proper Problem before solving it properly”
Exemplary question: “How does Customer Satisfaction depend on RE?”
How does Customer Satisfaction depend on RE?
• Interviews of different roles in different project settings
• Root cause analysis of customer satisfaction to phenomena in RE
How does Customer Satisfaction depend on RE?
• Interviews of different roles in different project settings
• Root cause analysis of customer satisfaction to phenomena in RE
How does Customer Satisfaction depend on RE?
• Interviews of different roles in different project settings
• Root cause analysis of customer satisfaction to phenomena in RE
… effective product and portfolio management, feature sizing, and project organisation
(feature planning, prioritisation, and sizing, resource and expertise planning, technology prioritisations)
… clear (dev.) process interfaces, responsibilities, and liability in distributed environments
… (regulatory) compliance: safety, security, and usability
… effective risk management and identification of moving target (and wicked problems)
(basis for “good-enough RE” and potential infusion of new RE techniques such as Design Thinking)
… increased stakeholder involvement and participation (accountability but also motivation)
… (…)
RE is a recognised basis for…
Example 2:
Research initiatives
Background: Requirements Engineering research often dominated by
conventional wisdom
Challenge: What research topics are of high practical relevance?
Exemplary initiatives in context of IREB working group (“IREB Research”)
NaPiRE
What are practices and problems in practical
Requirements Engineering environments?
How do practitioners perceive the relevance of
contributions by the RE research community?
How do practitioners perceive the relevance of
RE standards?
Naming the Pain in Requirements Engineering
Objectives: Build theory on RE practices used in industry and
on problems practitioners experience
Research method: Large-scale survey research
NaPiRE
www.napire.org
Practices Problems, causes, and effects
Context
Causes
Problems
Effects
First theory on Requirements Engineering practices and
problems supporting problem-driven research
See yourself and play with the interactive data visualisation:
www.napire.org
Interactive data visualisation
See yourself and play with the interactive data visualisation:
www.napire.org
Filter data by various variables
See yourself and play with the interactive data visualisation:
www.napire.org
Quiz
What is the most frequently stated
problem companies face in RE when
using a rather agile software
development process model?
?
Unprecise / Unmeasurable requirements
Incomplete or hidden requirements
Communication problems
?
?
See yourself and play with the interactive data visualisation:
www.napire.org
* Prize
Ericsson Space sweater J
Quiz
What is the most frequently stated
problem companies face in RE when
using a rather agile software
development process model?
Unprecise / Unmeasurable requirements
Incomplete or hidden requirements
Communication problems
See yourself and play with the interactive data visualisation:
www.napire.org
* Prize
Ericsson Space sweater J
Example 3:
Publicly funded research projects
https://rethought.se
Background: Empirical software engineering is advancing already, but it
needs to integrate multiple competences:
• Data-centric automation
• Value orientation
• Human-centricity
Goal: Extend empirical SE to solve next generation SE problems.
See yourself: www.rethought.se
Approach SERLresearchers (us!) to find
out more (e.g. mastertheses)!
Outline
• What is Empirical Software Engineering?
• Why do we need Empirical Software Engineering?
• What are the perspectives in Empirical Software Engineering?
Key Takeaways
Empirical research is important to turn
software engineering into a scientific discipline
The state of evidence in Software
Engineering is still weak
The growth of a community of empirical
researchers and practitioners is promising
We are now entering the next generation of
empirical Software Engineering research
• Many opportunities:
Courses, master theses, and
beyond• Interested in knowing
more? The doors to our
offices are always open

Weitere ähnliche Inhalte

Was ist angesagt?

Testing concepts ppt
Testing concepts pptTesting concepts ppt
Testing concepts ppt
Rathna Priya
 

Was ist angesagt? (20)

Regression testing
Regression testingRegression testing
Regression testing
 
Chapter 6 - Tool Support for Testing
Chapter 6 - Tool Support for TestingChapter 6 - Tool Support for Testing
Chapter 6 - Tool Support for Testing
 
Testing concepts ppt
Testing concepts pptTesting concepts ppt
Testing concepts ppt
 
iSAQB Software Architecture Gathering 2022 - Do we still need architects
iSAQB Software Architecture Gathering 2022 - Do we still need architectsiSAQB Software Architecture Gathering 2022 - Do we still need architects
iSAQB Software Architecture Gathering 2022 - Do we still need architects
 
Chapter 01
Chapter 01Chapter 01
Chapter 01
 
Software Testing Process, Testing Automation and Software Testing Trends
Software Testing Process, Testing Automation and Software Testing TrendsSoftware Testing Process, Testing Automation and Software Testing Trends
Software Testing Process, Testing Automation and Software Testing Trends
 
TESTING STRATEGY.ppt
TESTING STRATEGY.pptTESTING STRATEGY.ppt
TESTING STRATEGY.ppt
 
Artificial Intelligence for Automated Software Testing
Artificial Intelligence for Automated Software TestingArtificial Intelligence for Automated Software Testing
Artificial Intelligence for Automated Software Testing
 
The Thinking Tester, Evolved
The Thinking Tester, EvolvedThe Thinking Tester, Evolved
The Thinking Tester, Evolved
 
Survey on Software Defect Prediction (PhD Qualifying Examination Presentation)
Survey on Software Defect Prediction (PhD Qualifying Examination Presentation)Survey on Software Defect Prediction (PhD Qualifying Examination Presentation)
Survey on Software Defect Prediction (PhD Qualifying Examination Presentation)
 
ISTQB Test level, Test type
ISTQB Test level, Test typeISTQB Test level, Test type
ISTQB Test level, Test type
 
Chapter 5 - Test Management
Chapter 5 - Test ManagementChapter 5 - Test Management
Chapter 5 - Test Management
 
Software Architecture: Introduction
Software Architecture: IntroductionSoftware Architecture: Introduction
Software Architecture: Introduction
 
Software Reliability
Software ReliabilitySoftware Reliability
Software Reliability
 
Regression testing
Regression testingRegression testing
Regression testing
 
Software Architecture
Software ArchitectureSoftware Architecture
Software Architecture
 
Agile Testing and Test Automation
Agile Testing and Test AutomationAgile Testing and Test Automation
Agile Testing and Test Automation
 
Mc call's software quality model
Mc call's software quality modelMc call's software quality model
Mc call's software quality model
 
Software Testing Life Cycle – A Beginner’s Guide
Software Testing Life Cycle – A Beginner’s GuideSoftware Testing Life Cycle – A Beginner’s Guide
Software Testing Life Cycle – A Beginner’s Guide
 
Software Testing - Software Quality
Software Testing - Software QualitySoftware Testing - Software Quality
Software Testing - Software Quality
 

Ähnlich wie Empirical Software Engineering - What is it and why do we need it?

Lecture 3 Computer Science Research SEM1 22_23 (1).pptx
Lecture 3 Computer Science Research SEM1 22_23 (1).pptxLecture 3 Computer Science Research SEM1 22_23 (1).pptx
Lecture 3 Computer Science Research SEM1 22_23 (1).pptx
NabilaHassan13
 
Field Studies as evaluation method for socio-technical interventions in Techn...
Field Studies as evaluation method for socio-technical interventions in Techn...Field Studies as evaluation method for socio-technical interventions in Techn...
Field Studies as evaluation method for socio-technical interventions in Techn...
Viktoria Pammer-Schindler
 

Ähnlich wie Empirical Software Engineering - What is it and why do we need it? (20)

Building and Evaluating Theories 
 in Software Engineering
Building and Evaluating Theories 
 in Software EngineeringBuilding and Evaluating Theories 
 in Software Engineering
Building and Evaluating Theories 
 in Software Engineering
 
An Introduction into Philosophy of Science for Software Engineers
An Introduction into Philosophy of Science for Software Engineers An Introduction into Philosophy of Science for Software Engineers
An Introduction into Philosophy of Science for Software Engineers
 
PROMISE 2011: Seven Habits of High Impactful Empirical Software Engineers (La...
PROMISE 2011: Seven Habits of High Impactful Empirical Software Engineers (La...PROMISE 2011: Seven Habits of High Impactful Empirical Software Engineers (La...
PROMISE 2011: Seven Habits of High Impactful Empirical Software Engineers (La...
 
Scientific software engineering methods and their validity
Scientific software engineering methods and their validityScientific software engineering methods and their validity
Scientific software engineering methods and their validity
 
NUS PhD e-open day 2020
NUS PhD e-open day 2020NUS PhD e-open day 2020
NUS PhD e-open day 2020
 
ABC-PhD program-Politecnico di Milano
ABC-PhD program-Politecnico di MilanoABC-PhD program-Politecnico di Milano
ABC-PhD program-Politecnico di Milano
 
Survey Research in Software Engineering
Survey Research in Software EngineeringSurvey Research in Software Engineering
Survey Research in Software Engineering
 
Requirements Engineering Research: How good are we at solving practical prob...
Requirements Engineering Research:  How good are we at solving practical prob...Requirements Engineering Research:  How good are we at solving practical prob...
Requirements Engineering Research: How good are we at solving practical prob...
 
Designing Useful and Usable Augmented Reality Experiences
Designing Useful and Usable Augmented Reality Experiences Designing Useful and Usable Augmented Reality Experiences
Designing Useful and Usable Augmented Reality Experiences
 
Lecture 3 Computer Science Research SEM1 22_23 (1).pptx
Lecture 3 Computer Science Research SEM1 22_23 (1).pptxLecture 3 Computer Science Research SEM1 22_23 (1).pptx
Lecture 3 Computer Science Research SEM1 22_23 (1).pptx
 
Case studies in industry - fundamentals and lessons learnt
Case studies in industry - fundamentals and lessons learntCase studies in industry - fundamentals and lessons learnt
Case studies in industry - fundamentals and lessons learnt
 
Software Engineering Research: Leading a Double-Agent Life.
Software Engineering Research: Leading a Double-Agent Life.Software Engineering Research: Leading a Double-Agent Life.
Software Engineering Research: Leading a Double-Agent Life.
 
Research questions
Research questionsResearch questions
Research questions
 
Data Sets as Facilitator for new Products and Services for Universities
Data Sets as Facilitator for new Products and Services for UniversitiesData Sets as Facilitator for new Products and Services for Universities
Data Sets as Facilitator for new Products and Services for Universities
 
Defense questions, Prof. Venter
Defense questions, Prof. VenterDefense questions, Prof. Venter
Defense questions, Prof. Venter
 
Interface Design
Interface DesignInterface Design
Interface Design
 
Design research
Design researchDesign research
Design research
 
Data Science Master Specialisation
Data Science Master SpecialisationData Science Master Specialisation
Data Science Master Specialisation
 
Field Studies as evaluation method for socio-technical interventions in Techn...
Field Studies as evaluation method for socio-technical interventions in Techn...Field Studies as evaluation method for socio-technical interventions in Techn...
Field Studies as evaluation method for socio-technical interventions in Techn...
 
Ch 1 research introduciton
Ch 1 research introducitonCh 1 research introduciton
Ch 1 research introduciton
 

Mehr von Daniel Mendez

In Quest for Requirements Engineering Oracles: Dependent Variables and Measur...
In Quest for Requirements Engineering Oracles: Dependent Variables and Measur...In Quest for Requirements Engineering Oracles: Dependent Variables and Measur...
In Quest for Requirements Engineering Oracles: Dependent Variables and Measur...
Daniel Mendez
 

Mehr von Daniel Mendez (16)

Design Thinking for Requirements Engineering
Design Thinking for Requirements EngineeringDesign Thinking for Requirements Engineering
Design Thinking for Requirements Engineering
 
In Quest of Requirements Engineering Research that Industry Needs
In Quest of Requirements Engineering Research that Industry NeedsIn Quest of Requirements Engineering Research that Industry Needs
In Quest of Requirements Engineering Research that Industry Needs
 
Surveys in Software Engineering
Surveys in Software EngineeringSurveys in Software Engineering
Surveys in Software Engineering
 
Theory Building in RE - The NaPiRE Initiative
Theory Building in RE - The NaPiRE InitiativeTheory Building in RE - The NaPiRE Initiative
Theory Building in RE - The NaPiRE Initiative
 
Where do we stand in Requirements Engineering Improvement Today? First Result...
Where do we stand in Requirements Engineering Improvement Today? First Result...Where do we stand in Requirements Engineering Improvement Today? First Result...
Where do we stand in Requirements Engineering Improvement Today? First Result...
 
Naming the Pain in Requirements Engineering - Design of a Global Family of Su...
Naming the Pain in Requirements Engineering - Design of a Global Family of Su...Naming the Pain in Requirements Engineering - Design of a Global Family of Su...
Naming the Pain in Requirements Engineering - Design of a Global Family of Su...
 
Who cares about Software Process Modelling? A First Investigation about the P...
Who cares about Software Process Modelling? A First Investigation about the P...Who cares about Software Process Modelling? A First Investigation about the P...
Who cares about Software Process Modelling? A First Investigation about the P...
 
Improving Requirements Engineering by Artefact Orientation
Improving Requirements Engineering by Artefact OrientationImproving Requirements Engineering by Artefact Orientation
Improving Requirements Engineering by Artefact Orientation
 
On the Distinction of Functional and Quality Requirements in Practice
On the Distinction of Functional and Quality Requirements in PracticeOn the Distinction of Functional and Quality Requirements in Practice
On the Distinction of Functional and Quality Requirements in Practice
 
Software Engineering Excellence - The key to mastering the Digital Transforma...
Software Engineering Excellence - The key to mastering the Digital Transforma...Software Engineering Excellence - The key to mastering the Digital Transforma...
Software Engineering Excellence - The key to mastering the Digital Transforma...
 
Case Studies in Industry - What We Have Learnt
Case Studies in Industry - What We Have LearntCase Studies in Industry - What We Have Learnt
Case Studies in Industry - What We Have Learnt
 
A Case Study on Artefact-based RE Improvement in Practice
A Case Study on Artefact-based RE Improvement in PracticeA Case Study on Artefact-based RE Improvement in Practice
A Case Study on Artefact-based RE Improvement in Practice
 
Theories in Empirical Software Engineering
Theories in Empirical Software EngineeringTheories in Empirical Software Engineering
Theories in Empirical Software Engineering
 
An Exploratory Study on Technology Transfer in Software Engineering
An Exploratory Study on Technology Transfer in Software EngineeringAn Exploratory Study on Technology Transfer in Software Engineering
An Exploratory Study on Technology Transfer in Software Engineering
 
Artefact-based Requirements Engineering Improvement - Learning to Walk in Pra...
Artefact-based Requirements Engineering Improvement - Learning to Walk in Pra...Artefact-based Requirements Engineering Improvement - Learning to Walk in Pra...
Artefact-based Requirements Engineering Improvement - Learning to Walk in Pra...
 
In Quest for Requirements Engineering Oracles: Dependent Variables and Measur...
In Quest for Requirements Engineering Oracles: Dependent Variables and Measur...In Quest for Requirements Engineering Oracles: Dependent Variables and Measur...
In Quest for Requirements Engineering Oracles: Dependent Variables and Measur...
 

Kürzlich hochgeladen

Integrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - NeometrixIntegrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - Neometrix
Neometrix_Engineering_Pvt_Ltd
 
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills KuwaitKuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
jaanualu31
 
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
AldoGarca30
 
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 

Kürzlich hochgeladen (20)

Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
 
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARHAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
 
Integrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - NeometrixIntegrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - Neometrix
 
Online food ordering system project report.pdf
Online food ordering system project report.pdfOnline food ordering system project report.pdf
Online food ordering system project report.pdf
 
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
 
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced LoadsFEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
 
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best ServiceTamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
 
Employee leave management system project.
Employee leave management system project.Employee leave management system project.
Employee leave management system project.
 
Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdf
 
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills KuwaitKuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
 
PE 459 LECTURE 2- natural gas basic concepts and properties
PE 459 LECTURE 2- natural gas basic concepts and propertiesPE 459 LECTURE 2- natural gas basic concepts and properties
PE 459 LECTURE 2- natural gas basic concepts and properties
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . ppt
 
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
 
Moment Distribution Method For Btech Civil
Moment Distribution Method For Btech CivilMoment Distribution Method For Btech Civil
Moment Distribution Method For Btech Civil
 
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
 
Introduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaIntroduction to Serverless with AWS Lambda
Introduction to Serverless with AWS Lambda
 
Computer Networks Basics of Network Devices
Computer Networks  Basics of Network DevicesComputer Networks  Basics of Network Devices
Computer Networks Basics of Network Devices
 
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
 
Engineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planesEngineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planes
 
GEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLE
GEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLEGEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLE
GEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLE
 

Empirical Software Engineering - What is it and why do we need it?

  • 1. Empirical Software Engineering What is it and why do we need it? Blekinge Institute of Technology, Sweden fortiss GmbH, Germany www.mendezfe.org mendezfe Daniel Méndez
  • 2. About me // Daniel Mendez Head of research division Requirements Engineering daniel.mendez@bth.se www.mendezfe.org 📍Munich 📍 Karlskrona Full Professor in Software Engineering Research areas / interests ▪ (Empirical Software Engineering) ▪ Requirements engineering, software quality management, and processes improvement ▪ Strong focus on Academia-Industry Collaborations and Technology Transfer Research Networks and Initiatives ▪ Naming the Pain in Requirements Engineering (www.napire.org) ▪ IREB Research working group ▪ International Software Engineering Research Network (ISERN)
  • 3. Ground rules As we have to use , please feel free to interrupt me any time as I might not see you raising your hand. Whenever you have questions / remarks, please don’t ask , but share them with the whole group. (1) (2)
  • 4. What could be wrong with such a study? Research Question: Which car has the best driving performance? H_0: There is no difference. 20 people without a driving licence participate. They are taught to drive in a lecture of 2 hours. Results: The BMW is significantly better than the Audi (p<0.01) Adopted from: Dag I.K. Sjøberg, Keynote at the International Conference on Product-Focused SW Process Improvement 2016, Trondheim, Norway. Image soruces: Manufacturer websites Empirical research is more than simplyapplying statistical equations
  • 5. Goal of the lecture What is this little thing called “Empirical Software Engineering”? What we will discuss • In a nutshell: • Broader perspective on Software Engineering (SE) as a scientific discipline • A few principles, concepts, and terms in Empirical SE • Why we need empiricism in Software Engineering research • What the perspectives are for the research community and for you Focus: What & Why Basis for… • Course on research methods • Master Thesis projects • The time afterwards Focus: How
  • 6. Outline • What is Empirical Software Engineering? • Why do we need Empirical Software Engineering? • What are the perspectives in Empirical Software Engineering?
  • 7. Outline • What is Empirical Software Engineering? • Why do we need Empirical Software Engineering? • What are the perspectives in Empirical Software Engineering?
  • 8. Let’s start step by step…. What is science? -- What do you think? --
  • 9. “Science” wasn’t built in a day… 384-322 BC 1561-1626 1694-1778 1724-1804 1896-1980 1902-1994… … … … Aristoteles Bacon Voltaire Kant Piaget Popper • Search for laws and reasoning for phenomena • Understanding the nature of phenomena • Progress of knowledge of nature (reality) • Draw benefits from knowledge growth • Emancipation from gods and beliefs • System of Epistemology (theory of knowledge) • Era of constructivism • Falsification as demarcation criterion • Birth of null hypothesis testing Science is understood as the human undertaking for the search of knowledge (through systematic application of scientific methods) àNeeds to be considered in a historical context àIncreased understanding of scientific practice (and what science eventually is)
  • 10. Scientific practices and research methods have changed over time, the role of empiricism* not Today * Gaining knowledge through sensory experiences 384-322 BC Le Petit Prince (1943) Large Hadron Collider
  • 11. Scientific knowledge and practice (Necessary) postulates for scientific practice: • There are certain rules, principles, and norms for scientific practices • Rationalism: Reasoning by argument / logical inference / mathematical proof • Empiricism: Reasoning by sensory experiences (case studies, experiments,…) • There is nothing absolute about truth • There is a scientific community to judge about the quality of empirical studies • Although empirical observations may be faulty, it is possible (in the long run) to make reliable observations and to falsify incorrect statements about reality Scientific knowledge is the portrait of our understanding of reality (via scientific theories).
  • 12. What is Software Engineering research? Is it scientific? -- What do you think? --
  • 13. Different purposes in science • Gaining and validating new insights • Often theoretical character • Typically addressed by natural and social sciences Basic Science • Applying scientific methods to practical ends • Often practical (& pragmatic) character • Typically addressed by engineering disciplines In software engineering research, we • apply scientific methods to practical ends (treating design science problems) • treat insight-oriented questions, thus, we are an insight-oriented science, too Applied Science
  • 14. Different purposes in science Fundamental / basic research Applied research Image Sources: Wikipedia (l), Apple (r) Basic Science Applied Science * Graph theory (Königsberg Bridge problem)
  • 15. What is Software Engineering research? Is it scientific? -- Yes, Software Engineering research is scientific! --
  • 16. Software Engineering research • Software engineering is about development (not production), inherently complex, and human-centric • Only empirical research allows us to advance our knowledge: • Reason about the discipline and (e.g. social) phenomena involved • Recognise and understand limits and effects of artefacts in their contexts (e.g. by evaluating technologies, techniques, processes, models, etc.) àExemplary questions: • There exist over 200 documented requirements elicitation techniques • Which one(s) work in my context? • To which extent? Under which conditions? • There is a new method for requirements elicitation • What are the strengths and limitations?
  • 17. Empirical Software Engineering Practitioners “versus” Researchers • Researchers usually concerned with understanding the nature of artefacts and their relationship in the context • What is the effect? • Why is it so? • Practitioners usually concerned with improving their engineering practices and outcomes, using available knowledge • What is the problem? • What is the best solution? The ultimate goal of Empirical Software Engineering is theory building and evaluation to advance our body of knowledge. In our field, theoretical and practical relevance have often a special symbiotic relation
  • 18. But what is a Scientific Theory? -- What do you think? --
  • 19. Theories (generally speaking) Examples (following this general notion of theory): • “Vaccinations lead to autism” • “Global warming is a hoax by ecologists to harm the industry” • “Earth is flat” • “Wearing face masks does more harm than the effects of COVID-19” • … A theory is a belief that there is a pattern in phenomena. Are these theories scientific? No: Speculations based on imagination, hopes and fears, and resulting in opinions that often cannot be refuted (i.e. logical fallacies)
  • 20. Scientific Theories 1. Tests • Experiments, simulations, … • Replications 2. Criticism • Peer reviews / acceptance in the community • Corroborations / extensions with further theories A scientific theory is a belief that there is a pattern in phenomena while having survived 1. tests against sensory experiences 2. criticism by critical peers Note: Addresses so-called Demarcation Problem to distinguish science from non- science (as per introduction by K. Popper) In scope of empirical research methods (but out of scope for today)
  • 21. Scientific Theories have… … a purpose: … quality criteria: • Testability • Empirical support / (high) level of confidence • Explanatory power • Usefulness to researchers and / or practitioners • … Analytical Explanatory Predictive Explanatory & Predictive Scope Descriptions and conceptualisation, including taxonomies, classifications, and ontologies - What is? Identification of phenomena by identifying causes, mechanisms or reasons - Why is? Prediction of what will happen in the future - What will happen? Prediction of what will happen in the future and explanation - What will happen and why? Note: “Law” versus “Theory” A law is a descriptive theory without explanations (i.e. an analytical theory) Adapted from: Sjøberg, D., Dybå, T., Anda, B., Hannay, J. Building Theories in Software Engineering, 2010. Further information on: https://goo.gl/SQQwxt
  • 22. Exemplary framework for describing theories in Software Engineering • Constructs: What are the basic elements? (Actors, technologies, activities, system entities, context factors) • Propositions: How do the constructs interact? • Explanations: Why are the propositions as specified? • Scope: What is the universe of discourse in which the theory is applicable? Source (framewrk): Sjøberg, D., Dybå, T., Anda, B., Hannay, J. Building Theories in Software Engineering, 2010.
  • 23. Exemplary framework for describing theories in Software Engineering • Constructs: What are the basic elements? (Actors, technologies, activities, system entities, context factors) • Propositions: How do the constructs interact? • Explanations: Why are the propositions as specified? • Scope: What is the universe of discourse in which the theory is applicable? Source (example): Wagner, Mendez et al. Status Quo in Requirements Engineering: A Theory and a Global Family of Surveys, TOSEM 2018. Source (framewrk): Sjøberg, D., Dybå, T., Anda, B., Hannay, J. Building Theories in Software Engineering, 2010. Example Proposition: “Structured requirements lists are documented textually in free form or textually with constraints.” Explanation and Scope: “Free-form and constraint textual requirements are sufficient for many contexts such as in agile projects where they only act as reminders for further conversations.”
  • 24. Theories and hypotheses Scientific theory • “[…] based on hypotheses tested and verified multiple times by detached researchers” (J. Bortz and N. Döring, 2003) Hypothesis • “[…] a statement that proposes a possible explanation to some phenomenon or event” (L. Given, 2008) • Grounded in theory, testable and falsifiable • Often quantified and written as a conditional statementEmpirical Approaches Theory / Theories (Tentative) Hypothesis Falsification / Corroboration Theory (Pattern) Building Hypothesis Building If cause/assumption (independent variables) then (=>) consequence (dependent variables) Note: We don’t “test theories”, but their consequences via hypotheses (i.e. testable propositions)
  • 25. From real world phenomena to theories and back: The empirical life cycle Empirical Approaches Theory / Theories (Tentative) Hypothesis Falsification / Corroboration Theory (Pattern) Building Units of Analysis Sampling Frame Sampling Hypothesis Building Empirical Inquiries Induction Inference of a general rule from a particular case/result (observation) Abduction (Creative) Synthesis of an explanatory case from a general rule and a particular result (observation) Deduction Application of a general rule to a particular case, inferring a specific result Source: Mendez and Passoth. Empirical Software Engineering: from Discipline to Interdiscipline, 2018.
  • 26. From real world phenomena to theories and back: The empirical life cycle Empirical Approaches Theory / Theories (Tentative) Hypothesis Falsification / Corroboration Theory (Pattern) Building Units of Analysis Sampling Frame Sampling Hypothesis Building Empirical Inquiries Induction Inference of a general rule from a particular case/result (observation) Abduction (Creative) Synthesis of an explanatory case from a general rule and a particular result (observation) Deduction Application of a general rule to a particular case, inferring a specific result Source: Mendez and Passoth. Empirical Software Engineering: from Discipline to Interdiscipline, 2018. Further reading and outlook • Epistemological setting of Empirical Software Engineering • Theory building and evaluation • Challenges in Empirical Software Engineering Preprint: https://arxiv.org/abs/1805.08302
  • 27. Outline • What is Empirical Software Engineering? • Why do we need Empirical Software Engineering? • What are the perspectives in Empirical Software Engineering?
  • 28. Importance of Empirical Software Engineering We need a reliable body of knowledge about • our discipline and (e.g. social) phenomena involved, and • limits and effects of artefacts (technologies, techniques, processes, models, etc.) in their practical contexts. Building and evaluating theories is crucial for Software Engineering research and practice Recap
  • 29. What are exemplary scientific Software Engineering Theories? -- Which ones do you know? --
  • 30. Scientific Theories in Software Engineering Image Source: https://www.worldwildlife.org/habitats/deserts Disclaimer: Symbolic statement, might be slightly over exaggerated Transferred verbatim from other disciplines (i.e. not adopted) Example: Theory of Gatekeeping Isolated and vague (i.e. universal) Example: “Frontloading efforts decreases overall development costs” Not backed by evidence (i.e. non- scientific conventional wisdom) Example: “GoTo statements are harmful”
  • 31. Current state of evidence in Software Engineering “[…] judging a theory by assessing the number, faith, and vocal energy of its supporters […] basic political credo of contemporary religious maniacs” — Imre Lakatos, 1970 * Addressing the situation in the quantum mechanics research community, an analogy
  • 32. Example: Goal-oriented RE [1] Horkoff et al. Goal-Oriented Requirements Engineering: A Systematic Literature Map, 2016 Papers published [1]: 966 Papers including a case study [1]: 131 Studies involving practitioners [2]: 20 Practitioners actually using GORE [3]: ~ 5% [3] Mendez et al. Naming the Pain in Requirements Engineering Initiative – www.napire.org [2] Mavin, et al. Does Goal-Oriented Requirements Engineering Achieve its Goal?, 2017
  • 33. Example: Goal-oriented RE [1] Horkoff et al. Goal-Oriented Requirements Engineering: A Systematic Literature Map, 2016 Papers published [1]: 966 Papers including a case study [1]: 131 Studies involving practitioners [2]: 20 Practitioners actually using GORE [3]: ~ 5% [3] Mendez et al. Naming the Pain in Requirements Engineering Initiative – www.napire.org [2] Mavin, et al. Does Goal-Oriented Requirements Engineering Achieve its Goal?, 2017
  • 34. Current state of evidence in SE Available studies often… • … remain isolated • … discuss little (to no) relation to existing evidence • … strengthen confidence on own hopes (and don’t report anything around) • … don’t report negative results Source (levels of evidence): Wohlin. An Evidence Profile for Software Engineering Research and Practice, 2013. In most cases, we are here
  • 35. Conventional Wisdom in SE “Leprechauns”: Folklore turned into facts • Emerge from times where claims by authorities were treated as “facts” • Reasons manifold: • Lack of empirical awareness • Neglecting particularities of practical contexts • Neglecting relation to existing evidence • No proper citations (one side of the medal, over-conclusions, etc.) • Lack of data • …
  • 36. Exemplary “leprechaun”: Go To statements considered harmful [1] Edsger Dijkstra . Go To Statement Considered Harmful. Communications of the ACM, 1968. • Public exchange based on reasoning by argument (rationalist arguments)... [4] Nagappan et al. An empirical study of goto in C code from GitHub repositories, 2015. [2] Frank Rubin. ”GOTO Considered Harmful" Considered Harmful. Communications of the ACM, 1969. [3] Donald Moore et al. " 'GOTO Considered Harmful' Considered Harmful" Considered Harmful?" Communications of the ACM, 1987. 1968 1969 1987 • … finally tackled by one empirical study nearly 50 years later.
  • 37. Exemplary “leprechaun”: Go To statements considered harmful [1] Edsger Dijkstra . Go To Statement Considered Harmful. Communications of the ACM, 1968. • Public exchange based on reasoning by argument (rationalist arguments)... [4] Nagappan et al. An empirical study of goto in C code from GitHub repositories, 2015. [2] Frank Rubin. ”GOTO Considered Harmful" Considered Harmful. Communications of the ACM, 1969. [3] Donald Moore et al. " 'GOTO Considered Harmful' Considered Harmful" Considered Harmful?" Communications of the ACM, 1987. 2015 • … finally tackled by one empirical study nearly 50 years later. “We conclude that developers limit themselves to using goto appropriately, [not] like Dijkstra feared, [thus] goto does not appear to be harmful in practice.”
  • 38. Key Takeaway • The current state of evidence in Software Engineering is still weak • Practical relevance and impact? • Potential for transfer into practice and adoption? • But there is hope… • Importance of empirical research recognised • Growth of a strong research community over last two decades
  • 39. Outline • What is Empirical Software Engineering? • Why do we need Empirical Software Engineering? • What are the perspectives in Empirical Software Engineering?
  • 40. Empirical Software Engineering Community Empirical Software Engineering research community 2018 (Oulu, Finland)
  • 41. Goals and perspectives in Empirical Software Engineering 1. Provide tools and methods for empirical research 2. Establish strong Software Engineering theories 3. Eradicate conventional wisdom (“leprechauns”) Various settings • Industry settings • Research initiatives from the community • Publicly funded research projects
  • 42. Example 1: Industry setting (as part of a Academia-industry collaboration) Challenge: Role and Relevance of RE to Business Success unclear Goal: “Find the proper Problem before solving it properly” Exemplary question: “How does Customer Satisfaction depend on RE?”
  • 43. How does Customer Satisfaction depend on RE? • Interviews of different roles in different project settings • Root cause analysis of customer satisfaction to phenomena in RE
  • 44. How does Customer Satisfaction depend on RE? • Interviews of different roles in different project settings • Root cause analysis of customer satisfaction to phenomena in RE
  • 45. How does Customer Satisfaction depend on RE? • Interviews of different roles in different project settings • Root cause analysis of customer satisfaction to phenomena in RE
  • 46. … effective product and portfolio management, feature sizing, and project organisation (feature planning, prioritisation, and sizing, resource and expertise planning, technology prioritisations) … clear (dev.) process interfaces, responsibilities, and liability in distributed environments … (regulatory) compliance: safety, security, and usability … effective risk management and identification of moving target (and wicked problems) (basis for “good-enough RE” and potential infusion of new RE techniques such as Design Thinking) … increased stakeholder involvement and participation (accountability but also motivation) … (…) RE is a recognised basis for…
  • 47. Example 2: Research initiatives Background: Requirements Engineering research often dominated by conventional wisdom Challenge: What research topics are of high practical relevance? Exemplary initiatives in context of IREB working group (“IREB Research”) NaPiRE What are practices and problems in practical Requirements Engineering environments? How do practitioners perceive the relevance of contributions by the RE research community? How do practitioners perceive the relevance of RE standards?
  • 48. Naming the Pain in Requirements Engineering Objectives: Build theory on RE practices used in industry and on problems practitioners experience Research method: Large-scale survey research NaPiRE www.napire.org Practices Problems, causes, and effects
  • 49. Context Causes Problems Effects First theory on Requirements Engineering practices and problems supporting problem-driven research
  • 50. See yourself and play with the interactive data visualisation: www.napire.org Interactive data visualisation
  • 51. See yourself and play with the interactive data visualisation: www.napire.org Filter data by various variables
  • 52. See yourself and play with the interactive data visualisation: www.napire.org
  • 53. Quiz What is the most frequently stated problem companies face in RE when using a rather agile software development process model? ? Unprecise / Unmeasurable requirements Incomplete or hidden requirements Communication problems ? ? See yourself and play with the interactive data visualisation: www.napire.org * Prize Ericsson Space sweater J
  • 54. Quiz What is the most frequently stated problem companies face in RE when using a rather agile software development process model? Unprecise / Unmeasurable requirements Incomplete or hidden requirements Communication problems See yourself and play with the interactive data visualisation: www.napire.org * Prize Ericsson Space sweater J
  • 55. Example 3: Publicly funded research projects https://rethought.se Background: Empirical software engineering is advancing already, but it needs to integrate multiple competences: • Data-centric automation • Value orientation • Human-centricity Goal: Extend empirical SE to solve next generation SE problems.
  • 56. See yourself: www.rethought.se Approach SERLresearchers (us!) to find out more (e.g. mastertheses)!
  • 57. Outline • What is Empirical Software Engineering? • Why do we need Empirical Software Engineering? • What are the perspectives in Empirical Software Engineering?
  • 58. Key Takeaways Empirical research is important to turn software engineering into a scientific discipline The state of evidence in Software Engineering is still weak The growth of a community of empirical researchers and practitioners is promising We are now entering the next generation of empirical Software Engineering research • Many opportunities: Courses, master theses, and beyond• Interested in knowing more? The doors to our offices are always open