Automated Identification and Qualitative Characterization of Safety Concerns Reported in UAV Software Platforms

Sebastiano Panichella
Sebastiano PanichellaSenior Computer Science Researcher à Zurich University of Applied Science
J1 presentation:
“Automated Identification and Qualitative Characterization of Safety Concerns
Reported in UAV Software Platforms”
Transactions on Software Engineering and Methodology.
Mon 11 - Fri 15 September 2023, Luxembourg
Sebastiano Panichella
Zurich University of Applied Sciences
https://spanichella.github.io/
Andrea Di Sorbo Fiorella Zampetti Aaron Visaggio Massimiliano Di Penta
University of Sannio
IEEE/ACM International Conference on
Automated Software Engineering (ASE 2023)
Outline
2
• DevOps shortcomings for Complex CPSs
• What types of safety bugs occur in open-source CPSs?
• Context: Cyber-physical Systems (CPSs)
The COSMOS Project has
received funding from
the European Union’s
Horizon 2020 Research
and Innovation
Programme under grant
agreement No. 957254.
UAV
“Emerging Cyber-physical Systems (CPS) will play a crucial role in the quality of
life of European citizens and the future of the European economy”
Context
• CPS relevant sectors:
• Healthcare
• Automotive
• Water Monitoring
• Railway
• Manufacturing
• Avionics
• etc.
MEDICAL DELIVERY
FOOD DELIVERY
• Avionics
3
FOOD DELIVERY
Background
First aerodynamic flight on another planet. Landed with Perseverance rover on 18 February 2021
SPACE EXPLORATION
• -
• Our (Software Engineering) view of DevOps and AI for IoT systems:
• DevOps and Continuous Delivery (CD): Whats is it?
• Present, Challenges, and Opportunities
• Relevant Research Questions
• Artificial Intelligence (AI) and Testing Automation:
• Present, Challenges, and Opportunities
• User-oriented Testing Automation
• Relevant Research Questions
“We all recognize the relevance and capacity of contemporary cyber-
physical systems for building the future of our society, but ongoing research
in the field is also clearly failing in making the right countermeasures to
avoid that CPS usage affects human being safety”. In
“Self-driving Uber kills Arizona
woman in first fatal crash involving
pedestrian”
“Swiss Post drone
crashes in Zurich
Problem Statement
“A simple software update was
the direct cause of the fatal
crashes of the Boeing 737”
6
• -
• Our (Software Engineering) view of DevOps and AI for IoT systems:
• DevOps and Continuous Delivery (CD): Whats is it?
• Present, Challenges, and Opportunities
• Relevant Research Questions
• Artificial Intelligence (AI) and Testing Automation:
• Present, Challenges, and Opportunities
• User-oriented Testing Automation
• Relevant Research Questions
“Self-driving Uber kills Arizona
woman in first fatal crash involving
pedestrian”
“Swiss Post drone
crashes in Zurich
Challenge
“A simple software update was
the direct cause of the fatal
crashes of the Boeing 737”
Observability, testability, and predictability of the behavior of emerging
CPS is highly limited and, unfortunately, their usage in the real world can
lead to fatal crashes sometimes tragically involving also humans
7
Sebastiano Panichella Sajad Khatiri
Christian Birchler
COSMOS:
DevOps for Complex Cyber-physical Systems
https://www.cosmos-devops.org/ https://twitter.com/COSMOS_DEVOPS https://lnkd.in/eUVeaYaz
9
What types of bugs occur in open-source CPSs?
CPS
Bugs
10
Famous Software Failure in a CPS: The Case of Ariane 5
11
Bugs and Failures in CPS
CPS Bug is
“a flaw in the hardware (not properly
handled by the software), or an incorrect
interaction between the software and
hardware components leading to a CPS
misbehavior’’
A CPS bug can manifest as a CPS failure,
which makes a CPS unable to deliver its
required functionality or not fulfilling some
non-functional properties
Properties
12
Bugs in the PX4 Project
https://github.com/PX4/PX4-Autopilot/issues/8980
Px4 Issue 8980: Unsuccessful flight
“ Autopilot receiving noisy sensor-data…“
13
Fiorella Zampetti, Ritu Kapur, Massimiliano Di Penta,
Sebastiano Panichella: An Empirical Characterization
of Software Bugs in Open-Source Cyber-Physical
Systems. Journal of Systems & Software (JSS).
What types of bugs occur in Open-source CPSs?
CPS
Bugs
1,151 closed issues sampled from
14 open-source CPS projects
CPS bugs taxonomy comprises
8 different high-level categories
17
What about Safety Bugs of CPSs?
CPS
Bugs
18
What are the main Hazards and Accidents Emerging from Safety Issues
Reported in UAV Software Platforms?
Andrea Di Sorbo, Fiorella Zampetti, Corrado A. Visaggio, Massimiliano Di Penta, and Sebastiano
Panichella: Automated Identification and Qualitative Characterization of Safety Concerns Reported in
UAV Software Platforms. Transactions on Software Engineering and Methodology.
150 Projects
19
What are the main Hazards and Accidents Emerging from Safety Issues
Reported in UAV Software Platforms?
CPS Safety Related Issues of UAVs
Andrea Di Sorbo, Fiorella Zampetti, Corrado A. Visaggio, Massimiliano Di Penta, and Sebastiano
Panichella: Automated Identification and Qualitative Characterization of Safety Concerns Reported in
UAV Software Platforms. Transactions on Software Engineering and Methodology.
20
RQ1: To what extent can machine learning models
automatically identify safety-related concerns in
issue reports of UAV software platforms?
RQ2: What are the main hazards and accidents emerging
from safety issues reported in UAV software platforms?
CPS Safety Related Issues of UAVs
RQ1: To what extent can machine learning models
automatically identify safety-related concerns in
issue reports of UAV software platforms?
RQ2: What are the main hazards and accidents emerging
from safety issues reported in UAV software platforms?
What are the main Hazards and Accidents Emerging from Safety Issues Reported in UAV
Software Platforms?
21
Gold Standard Definition
1,916 sentences
Cohen’s k = 0.68
(substantial)
837 (43.7%) safety
1,079 (56.3%) non-safety
22
Safety Bugs in open-source CPSs
Preprocessing of CPS Safety Related Issues
Tf Matrix
GitHub
Issues
Tf Matrix Tf-idf Matrix
RQ1: To what extent can machine learning models
automatically identify safety-related concerns in
issue reports of UAV software platforms?
RQ2: What are the main hazards and accidents emerging
from safety issues reported in UAV software platforms?
23
Safety Bugs in open-source CPSs
ML prediction & Hyperparameter optimization
Tf Matrix
Tf-idf Matrix
RQ1: To what extent can machine learning models
automatically identify safety-related concerns in
issue reports of UAV software platforms?
RQ2: What are the main hazards and accidents emerging
from safety issues reported in UAV software platforms?
24
Safety Bugs in open-source CPSs
Performance of the ML classifiers
for classifying safety-related
issues in pull requests
Tf-idf wins over other
processing approaches
> 80% Precision,
Recall, and F-measure (10-
fold validation) using word
embeddings with FastText
Link to the tool behind our research
https://github.com/spanichella/SALIENT-TOOL
26
What are the main Hazards and Accidents Emerging from Safety Issues
Reported in UAV Software Platforms?
273 safety-related issues and PR 19 Hazard categories
7 Accident categories
27
Co-occurrences
of hazard
categories
and accident
categories
Hazard Accident
Hazard categories and
corresponding occurrences in our
dataset of 273 safety-related
issues and pull requests.
What are the main Hazards and Accidents Emerging from Safety Issues
Reported in UAV Software Platforms?
What are the main Hazards and Accidents Emerging from Safety Issues
Reported in UAV Software Platforms?
29
Co-occurrences
of hazard
categories
and accident
categories
Hazard Accident
Hazard categories and
corresponding occurrences in our
dataset of 273 safety-related
issues and pull requests.
Main Findings:
We need automated approaches to monitor and address safety concerns within a
CPS DevOps pipeline
What are the main Hazards and Accidents Emerging from Safety Issues
Reported in UAV Software Platforms?
Summary
30
• DevOps shortcomings for Complex CPSs
• What types of safety bugs occur in open-source CPSs?
• Context: Cyber-physical Systems (CPSs)
The COSMOS Project has
received funding from
the European Union’s
Horizon 2020 Research
and Innovation
Programme under grant
agreement No. 957254.
UAV
Thanks for the Attention!
• Any Questions?
J1 presentation:
“Automated Identification and Qualitative
Characterization of Safety Concerns Reported in UAV
Software Platforms”. Transactions on Software
Engineering and Methodology.
Mon 11 - Fri 15 September 2023, Luxembourg
Sebastiano Panichella
Zurich University of Applied Sciences
https://spanichella.github.io/
Link to the tool behind our research
https://github.com/spanichella/SALIENT-TOOL
1 sur 27

Recommandé

An Empirical Characterization of Software Bugs in Open-Source Cyber-Physical ... par
An Empirical Characterization of Software Bugs in Open-Source Cyber-Physical ...An Empirical Characterization of Software Bugs in Open-Source Cyber-Physical ...
An Empirical Characterization of Software Bugs in Open-Source Cyber-Physical ...Sebastiano Panichella
52 vues35 diapositives
Testing and Development Challenges for Complex Cyber-Physical Systems: Insi... par
Testing and Development Challenges for  Complex Cyber-Physical Systems:  Insi...Testing and Development Challenges for  Complex Cyber-Physical Systems:  Insi...
Testing and Development Challenges for Complex Cyber-Physical Systems: Insi...Sebastiano Panichella
39 vues148 diapositives
Testing with Fewer Resources: Toward Adaptive Approaches for Cost-effective T... par
Testing with Fewer Resources: Toward Adaptive Approaches for Cost-effective T...Testing with Fewer Resources: Toward Adaptive Approaches for Cost-effective T...
Testing with Fewer Resources: Toward Adaptive Approaches for Cost-effective T...Sebastiano Panichella
250 vues168 diapositives
Personal Computer And Application Software D. par
Personal Computer And Application Software D.Personal Computer And Application Software D.
Personal Computer And Application Software D.Jacqueline Thomas
2 vues81 diapositives
No Safety Without Security par
No Safety Without SecurityNo Safety Without Security
No Safety Without SecuritySecurity Innovation
398 vues21 diapositives
[CB16] Security in the IoT World: Analyzing the Security of Mobile Apps for A... par
[CB16] Security in the IoT World: Analyzing the Security of Mobile Apps for A...[CB16] Security in the IoT World: Analyzing the Security of Mobile Apps for A...
[CB16] Security in the IoT World: Analyzing the Security of Mobile Apps for A...CODE BLUE
735 vues52 diapositives

Contenu connexe

Similaire à Automated Identification and Qualitative Characterization of Safety Concerns Reported in UAV Software Platforms

Open Source Insight: Who Owns Linux? TRITON Attack, App Security Testing, Fut... par
Open Source Insight: Who Owns Linux? TRITON Attack, App Security Testing, Fut...Open Source Insight: Who Owns Linux? TRITON Attack, App Security Testing, Fut...
Open Source Insight: Who Owns Linux? TRITON Attack, App Security Testing, Fut...Black Duck by Synopsys
450 vues17 diapositives
20140121 cisec-safety criticalsoftwaredevelopment par
20140121 cisec-safety criticalsoftwaredevelopment20140121 cisec-safety criticalsoftwaredevelopment
20140121 cisec-safety criticalsoftwaredevelopmentCISEC
2.2K vues41 diapositives
2014-12-16 defense news - shutdown the hackers par
2014-12-16  defense news - shutdown the hackers2014-12-16  defense news - shutdown the hackers
2014-12-16 defense news - shutdown the hackersShawn Wells
327 vues66 diapositives
PROGRAMMING AND CYBER SECURITY par
PROGRAMMING AND CYBER SECURITYPROGRAMMING AND CYBER SECURITY
PROGRAMMING AND CYBER SECURITYSylvain Martinez
234 vues23 diapositives
Mechanical phish par
Mechanical phishMechanical phish
Mechanical phishDebdeep Banerjee
54 vues11 diapositives
Open Source Insight: Auto Security & Hackers, Killer Robots, & Containers Gon... par
Open Source Insight: Auto Security & Hackers, Killer Robots, & Containers Gon...Open Source Insight: Auto Security & Hackers, Killer Robots, & Containers Gon...
Open Source Insight: Auto Security & Hackers, Killer Robots, & Containers Gon...Black Duck by Synopsys
299 vues17 diapositives

Similaire à Automated Identification and Qualitative Characterization of Safety Concerns Reported in UAV Software Platforms(20)

Open Source Insight: Who Owns Linux? TRITON Attack, App Security Testing, Fut... par Black Duck by Synopsys
Open Source Insight: Who Owns Linux? TRITON Attack, App Security Testing, Fut...Open Source Insight: Who Owns Linux? TRITON Attack, App Security Testing, Fut...
Open Source Insight: Who Owns Linux? TRITON Attack, App Security Testing, Fut...
20140121 cisec-safety criticalsoftwaredevelopment par CISEC
20140121 cisec-safety criticalsoftwaredevelopment20140121 cisec-safety criticalsoftwaredevelopment
20140121 cisec-safety criticalsoftwaredevelopment
CISEC2.2K vues
2014-12-16 defense news - shutdown the hackers par Shawn Wells
2014-12-16  defense news - shutdown the hackers2014-12-16  defense news - shutdown the hackers
2014-12-16 defense news - shutdown the hackers
Shawn Wells327 vues
Open Source Insight: Auto Security & Hackers, Killer Robots, & Containers Gon... par Black Duck by Synopsys
Open Source Insight: Auto Security & Hackers, Killer Robots, & Containers Gon...Open Source Insight: Auto Security & Hackers, Killer Robots, & Containers Gon...
Open Source Insight: Auto Security & Hackers, Killer Robots, & Containers Gon...
G. Gritsai, A. Timorin, Y. Goltsev, R. Ilin, S. Gordeychik, and A. Karpin, “S... par qqlan
G. Gritsai, A. Timorin, Y. Goltsev, R. Ilin, S. Gordeychik, and A. Karpin, “S...G. Gritsai, A. Timorin, Y. Goltsev, R. Ilin, S. Gordeychik, and A. Karpin, “S...
G. Gritsai, A. Timorin, Y. Goltsev, R. Ilin, S. Gordeychik, and A. Karpin, “S...
qqlan716 vues
Machine Learning-Based Prototyping of Graphical User Interfaces for Mobile Apps par Kevin Moran
Machine Learning-Based Prototyping of Graphical User Interfaces for Mobile AppsMachine Learning-Based Prototyping of Graphical User Interfaces for Mobile Apps
Machine Learning-Based Prototyping of Graphical User Interfaces for Mobile Apps
Kevin Moran701 vues
Defect Prediction & Prevention In Automotive Software Development par RAKESH RANA
Defect Prediction & Prevention In Automotive Software DevelopmentDefect Prediction & Prevention In Automotive Software Development
Defect Prediction & Prevention In Automotive Software Development
RAKESH RANA826 vues
PHDays 8: Vulnerability Databases. Sifting thousands tons of verbal ore par Alexander Leonov
PHDays 8: Vulnerability Databases. Sifting thousands tons of verbal orePHDays 8: Vulnerability Databases. Sifting thousands tons of verbal ore
PHDays 8: Vulnerability Databases. Sifting thousands tons of verbal ore
Alexander Leonov746 vues
Intelligence on the Intractable Problem of Software Security par Tyler Shields
Intelligence on the Intractable Problem of Software SecurityIntelligence on the Intractable Problem of Software Security
Intelligence on the Intractable Problem of Software Security
Tyler Shields407 vues
Achieving Software Safety, Security, and Reliability Part 1: Common Industry ... par Perforce
Achieving Software Safety, Security, and Reliability Part 1: Common Industry ...Achieving Software Safety, Security, and Reliability Part 1: Common Industry ...
Achieving Software Safety, Security, and Reliability Part 1: Common Industry ...
Perforce140 vues
Open Source Insight: Securing IoT, Atlanta Ransomware Attack, Congress on Cyb... par Black Duck by Synopsys
Open Source Insight: Securing IoT, Atlanta Ransomware Attack, Congress on Cyb...Open Source Insight: Securing IoT, Atlanta Ransomware Attack, Congress on Cyb...
Open Source Insight: Securing IoT, Atlanta Ransomware Attack, Congress on Cyb...
Open Source Insight: Hospital, Medical Devices, Banking, and Automotive Cyber... par Black Duck by Synopsys
Open Source Insight: Hospital, Medical Devices, Banking, and Automotive Cyber...Open Source Insight: Hospital, Medical Devices, Banking, and Automotive Cyber...
Open Source Insight: Hospital, Medical Devices, Banking, and Automotive Cyber...
Semi-Automated Security Testing of Web applications par Ram G Athreya
Semi-Automated Security Testing of Web applicationsSemi-Automated Security Testing of Web applications
Semi-Automated Security Testing of Web applications
Ram G Athreya3.6K vues
Design reliability 2.0: Safety is Everything par Amir Rahat
Design reliability 2.0: Safety is Everything Design reliability 2.0: Safety is Everything
Design reliability 2.0: Safety is Everything
Amir Rahat533 vues
9 th International Conference on Information Technology, Control, Chaos, Mode... par IJCSEA Journal
9 th International Conference on Information Technology, Control, Chaos, Mode...9 th International Conference on Information Technology, Control, Chaos, Mode...
9 th International Conference on Information Technology, Control, Chaos, Mode...
Exposed! A case study on the vulnerability-proneness of Google Play Apps par Sebastiano Panichella
Exposed! A case study on the vulnerability-proneness of Google Play AppsExposed! A case study on the vulnerability-proneness of Google Play Apps
Exposed! A case study on the vulnerability-proneness of Google Play Apps
Semantic Web for Advanced Engineering par Marta Sabou
Semantic Web for Advanced EngineeringSemantic Web for Advanced Engineering
Semantic Web for Advanced Engineering
Marta Sabou720 vues
Cyber Security Challenges with IoT, Smart City par Bhaskar Chattoraj
Cyber Security Challenges with IoT, Smart City Cyber Security Challenges with IoT, Smart City
Cyber Security Challenges with IoT, Smart City
Bhaskar Chattoraj2.1K vues

Plus de Sebastiano Panichella

The 2nd Intl. Workshop on NL-based Software Engineering par
The 2nd Intl. Workshop on NL-based Software EngineeringThe 2nd Intl. Workshop on NL-based Software Engineering
The 2nd Intl. Workshop on NL-based Software EngineeringSebastiano Panichella
897 vues31 diapositives
The 16th Intl. Workshop on Search-Based and Fuzz Testing par
The 16th Intl. Workshop on Search-Based and Fuzz TestingThe 16th Intl. Workshop on Search-Based and Fuzz Testing
The 16th Intl. Workshop on Search-Based and Fuzz TestingSebastiano Panichella
2.3K vues37 diapositives
Simulation-based Test Case Generation for Unmanned Aerial Vehicles in the Nei... par
Simulation-based Test Case Generation for Unmanned Aerial Vehicles in the Nei...Simulation-based Test Case Generation for Unmanned Aerial Vehicles in the Nei...
Simulation-based Test Case Generation for Unmanned Aerial Vehicles in the Nei...Sebastiano Panichella
36 vues22 diapositives
COSMOS: DevOps for complex cyber-physical systems (H2020 Project) - WASOS wor... par
COSMOS: DevOps for complex cyber-physical systems (H2020 Project) - WASOS wor...COSMOS: DevOps for complex cyber-physical systems (H2020 Project) - WASOS wor...
COSMOS: DevOps for complex cyber-physical systems (H2020 Project) - WASOS wor...Sebastiano Panichella
127 vues45 diapositives
Search-based Software Testing (SBST) '22 par
Search-based Software Testing (SBST) '22Search-based Software Testing (SBST) '22
Search-based Software Testing (SBST) '22Sebastiano Panichella
297 vues25 diapositives
NLBSE’22: Tool Competition par
NLBSE’22: Tool CompetitionNLBSE’22: Tool Competition
NLBSE’22: Tool CompetitionSebastiano Panichella
171 vues17 diapositives

Plus de Sebastiano Panichella(20)

Simulation-based Test Case Generation for Unmanned Aerial Vehicles in the Nei... par Sebastiano Panichella
Simulation-based Test Case Generation for Unmanned Aerial Vehicles in the Nei...Simulation-based Test Case Generation for Unmanned Aerial Vehicles in the Nei...
Simulation-based Test Case Generation for Unmanned Aerial Vehicles in the Nei...
COSMOS: DevOps for complex cyber-physical systems (H2020 Project) - WASOS wor... par Sebastiano Panichella
COSMOS: DevOps for complex cyber-physical systems (H2020 Project) - WASOS wor...COSMOS: DevOps for complex cyber-physical systems (H2020 Project) - WASOS wor...
COSMOS: DevOps for complex cyber-physical systems (H2020 Project) - WASOS wor...
"An NLP-based Tool for Software Artifacts Analysis" at @ICSME2021. par Sebastiano Panichella
 "An NLP-based Tool for Software Artifacts Analysis" at @ICSME2021.  "An NLP-based Tool for Software Artifacts Analysis" at @ICSME2021.
"An NLP-based Tool for Software Artifacts Analysis" at @ICSME2021.
An Empirical Investigation of Relevant Changes and Automation Needs in Modern... par Sebastiano Panichella
An Empirical Investigation of Relevant Changes and Automation Needs in Modern...An Empirical Investigation of Relevant Changes and Automation Needs in Modern...
An Empirical Investigation of Relevant Changes and Automation Needs in Modern...
Search-Based Software Testing Tool Competition 2021 by Sebastiano Panichella,... par Sebastiano Panichella
Search-Based Software Testing Tool Competition 2021 by Sebastiano Panichella,...Search-Based Software Testing Tool Competition 2021 by Sebastiano Panichella,...
Search-Based Software Testing Tool Competition 2021 by Sebastiano Panichella,...
A Framework for Multi-source Studies based on Unstructured Data. par Sebastiano Panichella
A Framework for Multi-source Studies based on Unstructured Data.A Framework for Multi-source Studies based on Unstructured Data.
A Framework for Multi-source Studies based on Unstructured Data.
Revisiting Test Smells in Automatically Generated Tests: Limitations, Pitfall... par Sebastiano Panichella
Revisiting Test Smells in Automatically Generated Tests: Limitations, Pitfall...Revisiting Test Smells in Automatically Generated Tests: Limitations, Pitfall...
Revisiting Test Smells in Automatically Generated Tests: Limitations, Pitfall...
Requirements-Collector: Automating Requirements Specification from Elicitatio... par Sebastiano Panichella
Requirements-Collector: Automating Requirements Specification from Elicitatio...Requirements-Collector: Automating Requirements Specification from Elicitatio...
Requirements-Collector: Automating Requirements Specification from Elicitatio...
Testing with Fewer Resources: An Adaptive Approach to Performance-Aware Test ... par Sebastiano Panichella
Testing with Fewer Resources: An Adaptive Approach to Performance-Aware Test ...Testing with Fewer Resources: An Adaptive Approach to Performance-Aware Test ...
Testing with Fewer Resources: An Adaptive Approach to Performance-Aware Test ...
A Mixed Graph-Relational Dataset of Socio-technical interactions in Open Sour... par Sebastiano Panichella
A Mixed Graph-Relational Dataset of Socio-technical interactions in Open Sour...A Mixed Graph-Relational Dataset of Socio-technical interactions in Open Sour...
A Mixed Graph-Relational Dataset of Socio-technical interactions in Open Sour...
DRONE: A Tool to Detect and Repair Directive Defects in Java APIs Documentation par Sebastiano Panichella
DRONE: A Tool to Detect and Repair Directive Defects in Java APIs DocumentationDRONE: A Tool to Detect and Repair Directive Defects in Java APIs Documentation
DRONE: A Tool to Detect and Repair Directive Defects in Java APIs Documentation
The Cloudification Perspectives of Search-based Software Testing par Sebastiano Panichella
The Cloudification Perspectives of Search-based Software TestingThe Cloudification Perspectives of Search-based Software Testing
The Cloudification Perspectives of Search-based Software Testing

Dernier

PB CV v0.4 par
PB CV v0.4PB CV v0.4
PB CV v0.4Pedro Borracha
7 vues16 diapositives
HITCON CISO Summit 2023 - Closing par
HITCON CISO Summit 2023 - ClosingHITCON CISO Summit 2023 - Closing
HITCON CISO Summit 2023 - ClosingHacks in Taiwan (HITCON)
189 vues33 diapositives
Managing Github via Terrafom.pdf par
Managing Github via Terrafom.pdfManaging Github via Terrafom.pdf
Managing Github via Terrafom.pdfmicharaeck
5 vues47 diapositives
New Microsoft Word Document.docx par
New Microsoft Word Document.docxNew Microsoft Word Document.docx
New Microsoft Word Document.docxapomahendranagarmudd
8 vues11 diapositives
I use my tools to help people par
I use my tools to help peopleI use my tools to help people
I use my tools to help peoplemywampa
7 vues26 diapositives
Pdffromtextfile_1.pdf par
Pdffromtextfile_1.pdfPdffromtextfile_1.pdf
Pdffromtextfile_1.pdfTRIEU QUANG NGO
8 vues2 diapositives

Dernier(20)

Managing Github via Terrafom.pdf par micharaeck
Managing Github via Terrafom.pdfManaging Github via Terrafom.pdf
Managing Github via Terrafom.pdf
micharaeck5 vues
I use my tools to help people par mywampa
I use my tools to help peopleI use my tools to help people
I use my tools to help people
mywampa7 vues
Helko van den Brom - VSL par Dutch Power
Helko van den Brom - VSLHelko van den Brom - VSL
Helko van den Brom - VSL
Dutch Power112 vues
Roozbeh Torkzadeh - TU Eindhoven par Dutch Power
Roozbeh Torkzadeh - TU EindhovenRoozbeh Torkzadeh - TU Eindhoven
Roozbeh Torkzadeh - TU Eindhoven
Dutch Power106 vues
231121 SP slides - PAS workshop November 2023.pdf par PAS_Team
231121 SP slides - PAS workshop November 2023.pdf231121 SP slides - PAS workshop November 2023.pdf
231121 SP slides - PAS workshop November 2023.pdf
PAS_Team195 vues
Christan van Dorst - Hyteps par Dutch Power
Christan van Dorst - HytepsChristan van Dorst - Hyteps
Christan van Dorst - Hyteps
Dutch Power111 vues

Automated Identification and Qualitative Characterization of Safety Concerns Reported in UAV Software Platforms

  • 1. J1 presentation: “Automated Identification and Qualitative Characterization of Safety Concerns Reported in UAV Software Platforms” Transactions on Software Engineering and Methodology. Mon 11 - Fri 15 September 2023, Luxembourg Sebastiano Panichella Zurich University of Applied Sciences https://spanichella.github.io/ Andrea Di Sorbo Fiorella Zampetti Aaron Visaggio Massimiliano Di Penta University of Sannio IEEE/ACM International Conference on Automated Software Engineering (ASE 2023)
  • 2. Outline 2 • DevOps shortcomings for Complex CPSs • What types of safety bugs occur in open-source CPSs? • Context: Cyber-physical Systems (CPSs) The COSMOS Project has received funding from the European Union’s Horizon 2020 Research and Innovation Programme under grant agreement No. 957254. UAV
  • 3. “Emerging Cyber-physical Systems (CPS) will play a crucial role in the quality of life of European citizens and the future of the European economy” Context • CPS relevant sectors: • Healthcare • Automotive • Water Monitoring • Railway • Manufacturing • Avionics • etc. MEDICAL DELIVERY FOOD DELIVERY • Avionics 3
  • 5. Background First aerodynamic flight on another planet. Landed with Perseverance rover on 18 February 2021 SPACE EXPLORATION
  • 6. • - • Our (Software Engineering) view of DevOps and AI for IoT systems: • DevOps and Continuous Delivery (CD): Whats is it? • Present, Challenges, and Opportunities • Relevant Research Questions • Artificial Intelligence (AI) and Testing Automation: • Present, Challenges, and Opportunities • User-oriented Testing Automation • Relevant Research Questions “We all recognize the relevance and capacity of contemporary cyber- physical systems for building the future of our society, but ongoing research in the field is also clearly failing in making the right countermeasures to avoid that CPS usage affects human being safety”. In “Self-driving Uber kills Arizona woman in first fatal crash involving pedestrian” “Swiss Post drone crashes in Zurich Problem Statement “A simple software update was the direct cause of the fatal crashes of the Boeing 737” 6
  • 7. • - • Our (Software Engineering) view of DevOps and AI for IoT systems: • DevOps and Continuous Delivery (CD): Whats is it? • Present, Challenges, and Opportunities • Relevant Research Questions • Artificial Intelligence (AI) and Testing Automation: • Present, Challenges, and Opportunities • User-oriented Testing Automation • Relevant Research Questions “Self-driving Uber kills Arizona woman in first fatal crash involving pedestrian” “Swiss Post drone crashes in Zurich Challenge “A simple software update was the direct cause of the fatal crashes of the Boeing 737” Observability, testability, and predictability of the behavior of emerging CPS is highly limited and, unfortunately, their usage in the real world can lead to fatal crashes sometimes tragically involving also humans 7
  • 8. Sebastiano Panichella Sajad Khatiri Christian Birchler COSMOS: DevOps for Complex Cyber-physical Systems https://www.cosmos-devops.org/ https://twitter.com/COSMOS_DEVOPS https://lnkd.in/eUVeaYaz
  • 9. 9 What types of bugs occur in open-source CPSs? CPS Bugs
  • 10. 10 Famous Software Failure in a CPS: The Case of Ariane 5
  • 11. 11 Bugs and Failures in CPS CPS Bug is “a flaw in the hardware (not properly handled by the software), or an incorrect interaction between the software and hardware components leading to a CPS misbehavior’’ A CPS bug can manifest as a CPS failure, which makes a CPS unable to deliver its required functionality or not fulfilling some non-functional properties Properties
  • 12. 12 Bugs in the PX4 Project https://github.com/PX4/PX4-Autopilot/issues/8980 Px4 Issue 8980: Unsuccessful flight “ Autopilot receiving noisy sensor-data…“
  • 13. 13 Fiorella Zampetti, Ritu Kapur, Massimiliano Di Penta, Sebastiano Panichella: An Empirical Characterization of Software Bugs in Open-Source Cyber-Physical Systems. Journal of Systems & Software (JSS). What types of bugs occur in Open-source CPSs? CPS Bugs 1,151 closed issues sampled from 14 open-source CPS projects CPS bugs taxonomy comprises 8 different high-level categories
  • 14. 17 What about Safety Bugs of CPSs? CPS Bugs
  • 15. 18 What are the main Hazards and Accidents Emerging from Safety Issues Reported in UAV Software Platforms? Andrea Di Sorbo, Fiorella Zampetti, Corrado A. Visaggio, Massimiliano Di Penta, and Sebastiano Panichella: Automated Identification and Qualitative Characterization of Safety Concerns Reported in UAV Software Platforms. Transactions on Software Engineering and Methodology. 150 Projects
  • 16. 19 What are the main Hazards and Accidents Emerging from Safety Issues Reported in UAV Software Platforms? CPS Safety Related Issues of UAVs Andrea Di Sorbo, Fiorella Zampetti, Corrado A. Visaggio, Massimiliano Di Penta, and Sebastiano Panichella: Automated Identification and Qualitative Characterization of Safety Concerns Reported in UAV Software Platforms. Transactions on Software Engineering and Methodology.
  • 17. 20 RQ1: To what extent can machine learning models automatically identify safety-related concerns in issue reports of UAV software platforms? RQ2: What are the main hazards and accidents emerging from safety issues reported in UAV software platforms? CPS Safety Related Issues of UAVs RQ1: To what extent can machine learning models automatically identify safety-related concerns in issue reports of UAV software platforms? RQ2: What are the main hazards and accidents emerging from safety issues reported in UAV software platforms? What are the main Hazards and Accidents Emerging from Safety Issues Reported in UAV Software Platforms?
  • 18. 21 Gold Standard Definition 1,916 sentences Cohen’s k = 0.68 (substantial) 837 (43.7%) safety 1,079 (56.3%) non-safety
  • 19. 22 Safety Bugs in open-source CPSs Preprocessing of CPS Safety Related Issues Tf Matrix GitHub Issues Tf Matrix Tf-idf Matrix RQ1: To what extent can machine learning models automatically identify safety-related concerns in issue reports of UAV software platforms? RQ2: What are the main hazards and accidents emerging from safety issues reported in UAV software platforms?
  • 20. 23 Safety Bugs in open-source CPSs ML prediction & Hyperparameter optimization Tf Matrix Tf-idf Matrix RQ1: To what extent can machine learning models automatically identify safety-related concerns in issue reports of UAV software platforms? RQ2: What are the main hazards and accidents emerging from safety issues reported in UAV software platforms?
  • 21. 24 Safety Bugs in open-source CPSs Performance of the ML classifiers for classifying safety-related issues in pull requests Tf-idf wins over other processing approaches > 80% Precision, Recall, and F-measure (10- fold validation) using word embeddings with FastText Link to the tool behind our research https://github.com/spanichella/SALIENT-TOOL
  • 22. 26 What are the main Hazards and Accidents Emerging from Safety Issues Reported in UAV Software Platforms? 273 safety-related issues and PR 19 Hazard categories 7 Accident categories
  • 23. 27 Co-occurrences of hazard categories and accident categories Hazard Accident Hazard categories and corresponding occurrences in our dataset of 273 safety-related issues and pull requests. What are the main Hazards and Accidents Emerging from Safety Issues Reported in UAV Software Platforms?
  • 24. What are the main Hazards and Accidents Emerging from Safety Issues Reported in UAV Software Platforms?
  • 25. 29 Co-occurrences of hazard categories and accident categories Hazard Accident Hazard categories and corresponding occurrences in our dataset of 273 safety-related issues and pull requests. Main Findings: We need automated approaches to monitor and address safety concerns within a CPS DevOps pipeline What are the main Hazards and Accidents Emerging from Safety Issues Reported in UAV Software Platforms?
  • 26. Summary 30 • DevOps shortcomings for Complex CPSs • What types of safety bugs occur in open-source CPSs? • Context: Cyber-physical Systems (CPSs) The COSMOS Project has received funding from the European Union’s Horizon 2020 Research and Innovation Programme under grant agreement No. 957254. UAV
  • 27. Thanks for the Attention! • Any Questions? J1 presentation: “Automated Identification and Qualitative Characterization of Safety Concerns Reported in UAV Software Platforms”. Transactions on Software Engineering and Methodology. Mon 11 - Fri 15 September 2023, Luxembourg Sebastiano Panichella Zurich University of Applied Sciences https://spanichella.github.io/ Link to the tool behind our research https://github.com/spanichella/SALIENT-TOOL