SlideShare a Scribd company logo
ON THE EVOLUTION OF
CODE READABILITY
VALENTINA PIANTADOSI
valentina.piantadosi@unimol.it
Studying the Evolution of
Code Readability
during the life-cycle
of software
GOAL
1
2
readable unreadable
change
DOES MAINTENANCE
DETERIORATE THE READABILITY
OF THE CODE?
WHERE DOES THE
IDEA OF STUDYING
THE EVOLUTION
OF READABILITY
ORIGINATES?
3
4
WHY DEVELOPERS REFACTOR SOURCE CODE:
A MINING-BASED STUDY
J. PANTIUCHINA, F. ZAMPETTI, S. SCALABRINO, V. PIANTADOSI, R.OLIVETO, G. BAVOTA, M. DI PENTA
ACM TRANSACATION ON SOFTWARE ENGINEERING AND METHODOLOGY (TOSEM)
~85%
refactoring
operations are
performed to
improve
code readability
5
6
IS THERE A REAL
IMPACT ON CODE
QUALITY MEASURED
IN TERMS OF
READABILITY?
readable unreadable
non-existing
other-name
rename
rename
create
create
change
change change
7
readable unreadable
non-existing
other-name
rename
rename
create
create
change
change change
Tool designed to work on
single code snapshots
SCALABRINO, S. ET AL.
A COMPREHENSIVE MODEL FOR CODE READABILITY
2017
8
readable unreadable
non-existing
other-name
rename
rename
create
create
change
change change
9
10
IS THERE A REAL
IMPACT ON CODE
QUALITY MEASURED
IN TERMS OF
READABILITY?
NO!
11
My code seems to be
unreadable….
I will do refactoring to improve
code readability!
Unreadable code Unreadable code
SCALABRINO’S
METRIC
0.3
REFACTORING
OPERATION
SCALABRINO’S
METRIC
0.4
12
WHAT CAN AFFECT
THE READABILITY OF
SOURCE CODE?
13
WHAT CAN AFFECT
THE READABILITY OF
SOURCE CODE?
MAYBE, COGNITIVE
HUMAN ASPECTS?
14
Why does my code remain
unreadable?
For me, now it is readable!
Unreadable code Unreadable code
SCALABRINO’S
METRIC
0.3
REFACTORING
OPERATION
SCALABRINO’S
METRIC
0.4
15
Why does my code remain
unreadable?
For me, now it is readable!
Bob is right!
Also for me, this code is
readable!
WRONG MENTAL MODEL INFLUENCED MENTAL MODEL
16
Why does my code remain
unreadable?
For me, now it is readable!
WRONG MENTAL MODEL
BY WHAT
COGNITIVE HUMAN
ASPECT WAS
READABILITY
AFFECTED?
ATTENTION?
MEMORY?
Alerting
Orienting
Executive control
Working memory
Immediate recall
Attention-related factors
17
Alerting
Orienting
Executive control
Working memory
Immediate recall
Attention-related factors
18
Memory-related factors
Alerting
Orienting
Executive control
Working memory
Immediate recall
Ability of gaining and
maintaining an alert state
19
Alerting
Orienting
Executive control
Working memory
Immediate recall
Ability of selecting information
from sensory input
20
Alerting
Orienting
Executive control
Working memory
Immediate recall
Ability of dealing with
conflict among responses
21
Alerting
Orienting
Executive control
Working memory
Immediate recall
Ability of recalling information
acquired in the very short term
22
Alerting
Orienting
Executive control
Working memory
Immediate recall
Ability of elaborating
problem-solving strategies
23
ORIENTING INFLUENCE
CODE READABILITY
24
Orienting
25
Code readability
26
HOW THE RESEARCH
COMMUNITY CAN
EXPLOIT THE
RESULTS ACHIEVED?
27
01
Researchers could create a new readability
transition model based on changes instead of
single snapshots would be necessary
28
02
Researchers should investigate if there are
other cognitive human factors that could
influence code readability
29
Researchers should study what personal
characteristics can help developers to
implement quality code
03
30
Researchers could propose to developers
specific training sessions for their
development tasks
04
ON THE EVOLUTION OF
CODE READABILITY
AUTHOR
VALENTINA PIANTADOSI
THANK YOU FOR THE ATTENTION!

More Related Content

Similar to On the Evolution of Code Readability @ ICSME 2022

Organizing for the future
Organizing for the futureOrganizing for the future
Organizing for the future
Hamed Abdi
 
OrgIntelligence Presentation at Open Group Conference, May 10th
OrgIntelligence Presentation at Open Group Conference, May 10thOrgIntelligence Presentation at Open Group Conference, May 10th
OrgIntelligence Presentation at Open Group Conference, May 10th
Richard Veryard
 
Agile requirements engineering
Agile requirements engineeringAgile requirements engineering
Agile requirements engineering
TestCampRO
 
Towards a Framework for Comprehensive Evaluation of Software Visualizations B...
Towards a Framework for Comprehensive Evaluation of Software Visualizations B...Towards a Framework for Comprehensive Evaluation of Software Visualizations B...
Towards a Framework for Comprehensive Evaluation of Software Visualizations B...
Leonel Merino
 
TotalEconomicBenefitOfSparqlycode 1.2
TotalEconomicBenefitOfSparqlycode 1.2TotalEconomicBenefitOfSparqlycode 1.2
TotalEconomicBenefitOfSparqlycode 1.2
Paul Worrall
 
Software development philosophies v1
Software development philosophies v1Software development philosophies v1
Software development philosophies v1
Praveen Nair
 
Knowbench a-semantic-user-interface-for-managing-knowledge-in-software-develo...
Knowbench a-semantic-user-interface-for-managing-knowledge-in-software-develo...Knowbench a-semantic-user-interface-for-managing-knowledge-in-software-develo...
Knowbench a-semantic-user-interface-for-managing-knowledge-in-software-develo...
Dimitris Panagiotou
 
Intelligent Testing Skills Needed in a Digital World
Intelligent Testing Skills Needed in a Digital WorldIntelligent Testing Skills Needed in a Digital World
Intelligent Testing Skills Needed in a Digital World
Kalilur Rahman
 
Software Security Assurance for Devops
Software Security Assurance for DevopsSoftware Security Assurance for Devops
Software Security Assurance for Devops
Jerika Phelps
 
Software Security Assurance for DevOps
Software Security Assurance for DevOpsSoftware Security Assurance for DevOps
Software Security Assurance for DevOps
Black Duck by Synopsys
 
A Preliminary Field Study of Game Programming on Mobile Devices
A Preliminary Field Study of Game Programming on Mobile DevicesA Preliminary Field Study of Game Programming on Mobile Devices
A Preliminary Field Study of Game Programming on Mobile Devices
Tao Xie
 
From Big Social Data to Smart Social Data
From Big Social Data to Smart Social DataFrom Big Social Data to Smart Social Data
From Big Social Data to Smart Social Data
Anita Prinzie
 
ICSME2014
ICSME2014ICSME2014
ICSME2014
swy351
 
Humane assessment on cards
Humane assessment on cardsHumane assessment on cards
Humane assessment on cards
Tudor Girba
 
Janus - Automation of duplicate code detection and refactoring
Janus - Automation of duplicate code detection and refactoringJanus - Automation of duplicate code detection and refactoring
Janus - Automation of duplicate code detection and refactoring
UmbertoAzadi
 
First steps towards Self-Adaptive IDEs
First steps towards Self-Adaptive IDEsFirst steps towards Self-Adaptive IDEs
First steps towards Self-Adaptive IDEs
ESUG
 
Vishu's Presentati​on for ALN Knowldge Era Pradigms
Vishu's Presentati​on for ALN Knowldge Era PradigmsVishu's Presentati​on for ALN Knowldge Era Pradigms
Vishu's Presentati​on for ALN Knowldge Era Pradigms
Prasad Prabhakaran
 
The State of Open Source Vulnerabilities - A WhiteSource Webinar
The State of Open Source Vulnerabilities - A WhiteSource WebinarThe State of Open Source Vulnerabilities - A WhiteSource Webinar
The State of Open Source Vulnerabilities - A WhiteSource Webinar
WhiteSource
 
The State of Open Source Vulnerabilities Management
The State of Open Source Vulnerabilities ManagementThe State of Open Source Vulnerabilities Management
The State of Open Source Vulnerabilities Management
WhiteSource
 
The State of Open Source Vulnerabilities Management
The State of Open Source Vulnerabilities ManagementThe State of Open Source Vulnerabilities Management
The State of Open Source Vulnerabilities Management
SBWebinars
 

Similar to On the Evolution of Code Readability @ ICSME 2022 (20)

Organizing for the future
Organizing for the futureOrganizing for the future
Organizing for the future
 
OrgIntelligence Presentation at Open Group Conference, May 10th
OrgIntelligence Presentation at Open Group Conference, May 10thOrgIntelligence Presentation at Open Group Conference, May 10th
OrgIntelligence Presentation at Open Group Conference, May 10th
 
Agile requirements engineering
Agile requirements engineeringAgile requirements engineering
Agile requirements engineering
 
Towards a Framework for Comprehensive Evaluation of Software Visualizations B...
Towards a Framework for Comprehensive Evaluation of Software Visualizations B...Towards a Framework for Comprehensive Evaluation of Software Visualizations B...
Towards a Framework for Comprehensive Evaluation of Software Visualizations B...
 
TotalEconomicBenefitOfSparqlycode 1.2
TotalEconomicBenefitOfSparqlycode 1.2TotalEconomicBenefitOfSparqlycode 1.2
TotalEconomicBenefitOfSparqlycode 1.2
 
Software development philosophies v1
Software development philosophies v1Software development philosophies v1
Software development philosophies v1
 
Knowbench a-semantic-user-interface-for-managing-knowledge-in-software-develo...
Knowbench a-semantic-user-interface-for-managing-knowledge-in-software-develo...Knowbench a-semantic-user-interface-for-managing-knowledge-in-software-develo...
Knowbench a-semantic-user-interface-for-managing-knowledge-in-software-develo...
 
Intelligent Testing Skills Needed in a Digital World
Intelligent Testing Skills Needed in a Digital WorldIntelligent Testing Skills Needed in a Digital World
Intelligent Testing Skills Needed in a Digital World
 
Software Security Assurance for Devops
Software Security Assurance for DevopsSoftware Security Assurance for Devops
Software Security Assurance for Devops
 
Software Security Assurance for DevOps
Software Security Assurance for DevOpsSoftware Security Assurance for DevOps
Software Security Assurance for DevOps
 
A Preliminary Field Study of Game Programming on Mobile Devices
A Preliminary Field Study of Game Programming on Mobile DevicesA Preliminary Field Study of Game Programming on Mobile Devices
A Preliminary Field Study of Game Programming on Mobile Devices
 
From Big Social Data to Smart Social Data
From Big Social Data to Smart Social DataFrom Big Social Data to Smart Social Data
From Big Social Data to Smart Social Data
 
ICSME2014
ICSME2014ICSME2014
ICSME2014
 
Humane assessment on cards
Humane assessment on cardsHumane assessment on cards
Humane assessment on cards
 
Janus - Automation of duplicate code detection and refactoring
Janus - Automation of duplicate code detection and refactoringJanus - Automation of duplicate code detection and refactoring
Janus - Automation of duplicate code detection and refactoring
 
First steps towards Self-Adaptive IDEs
First steps towards Self-Adaptive IDEsFirst steps towards Self-Adaptive IDEs
First steps towards Self-Adaptive IDEs
 
Vishu's Presentati​on for ALN Knowldge Era Pradigms
Vishu's Presentati​on for ALN Knowldge Era PradigmsVishu's Presentati​on for ALN Knowldge Era Pradigms
Vishu's Presentati​on for ALN Knowldge Era Pradigms
 
The State of Open Source Vulnerabilities - A WhiteSource Webinar
The State of Open Source Vulnerabilities - A WhiteSource WebinarThe State of Open Source Vulnerabilities - A WhiteSource Webinar
The State of Open Source Vulnerabilities - A WhiteSource Webinar
 
The State of Open Source Vulnerabilities Management
The State of Open Source Vulnerabilities ManagementThe State of Open Source Vulnerabilities Management
The State of Open Source Vulnerabilities Management
 
The State of Open Source Vulnerabilities Management
The State of Open Source Vulnerabilities ManagementThe State of Open Source Vulnerabilities Management
The State of Open Source Vulnerabilities Management
 

Recently uploaded

Building Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and MilvusBuilding Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and Milvus
Zilliz
 
Nordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptxNordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptx
MichaelKnudsen27
 
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdfHow to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
Chart Kalyan
 
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Jeffrey Haguewood
 
AWS Cloud Cost Optimization Presentation.pptx
AWS Cloud Cost Optimization Presentation.pptxAWS Cloud Cost Optimization Presentation.pptx
AWS Cloud Cost Optimization Presentation.pptx
HarisZaheer8
 
dbms calicut university B. sc Cs 4th sem.pdf
dbms  calicut university B. sc Cs 4th sem.pdfdbms  calicut university B. sc Cs 4th sem.pdf
dbms calicut university B. sc Cs 4th sem.pdf
Shinana2
 
Taking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdfTaking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdf
ssuserfac0301
 
Trusted Execution Environment for Decentralized Process Mining
Trusted Execution Environment for Decentralized Process MiningTrusted Execution Environment for Decentralized Process Mining
Trusted Execution Environment for Decentralized Process Mining
LucaBarbaro3
 
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc
 
Choosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptxChoosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptx
Brandon Minnick, MBA
 
Deep Dive: Getting Funded with Jason Jason Lemkin Founder & CEO @ SaaStr
Deep Dive: Getting Funded with Jason Jason Lemkin Founder & CEO @ SaaStrDeep Dive: Getting Funded with Jason Jason Lemkin Founder & CEO @ SaaStr
Deep Dive: Getting Funded with Jason Jason Lemkin Founder & CEO @ SaaStr
saastr
 
Skybuffer SAM4U tool for SAP license adoption
Skybuffer SAM4U tool for SAP license adoptionSkybuffer SAM4U tool for SAP license adoption
Skybuffer SAM4U tool for SAP license adoption
Tatiana Kojar
 
Presentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of GermanyPresentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of Germany
innovationoecd
 
Nunit vs XUnit vs MSTest Differences Between These Unit Testing Frameworks.pdf
Nunit vs XUnit vs MSTest Differences Between These Unit Testing Frameworks.pdfNunit vs XUnit vs MSTest Differences Between These Unit Testing Frameworks.pdf
Nunit vs XUnit vs MSTest Differences Between These Unit Testing Frameworks.pdf
flufftailshop
 
5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides
DanBrown980551
 
WeTestAthens: Postman's AI & Automation Techniques
WeTestAthens: Postman's AI & Automation TechniquesWeTestAthens: Postman's AI & Automation Techniques
WeTestAthens: Postman's AI & Automation Techniques
Postman
 
A Comprehensive Guide to DeFi Development Services in 2024
A Comprehensive Guide to DeFi Development Services in 2024A Comprehensive Guide to DeFi Development Services in 2024
A Comprehensive Guide to DeFi Development Services in 2024
Intelisync
 
leewayhertz.com-AI in predictive maintenance Use cases technologies benefits ...
leewayhertz.com-AI in predictive maintenance Use cases technologies benefits ...leewayhertz.com-AI in predictive maintenance Use cases technologies benefits ...
leewayhertz.com-AI in predictive maintenance Use cases technologies benefits ...
alexjohnson7307
 
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfUnlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Malak Abu Hammad
 
Finale of the Year: Apply for Next One!
Finale of the Year: Apply for Next One!Finale of the Year: Apply for Next One!
Finale of the Year: Apply for Next One!
GDSC PJATK
 

Recently uploaded (20)

Building Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and MilvusBuilding Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and Milvus
 
Nordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptxNordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptx
 
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdfHow to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
 
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
 
AWS Cloud Cost Optimization Presentation.pptx
AWS Cloud Cost Optimization Presentation.pptxAWS Cloud Cost Optimization Presentation.pptx
AWS Cloud Cost Optimization Presentation.pptx
 
dbms calicut university B. sc Cs 4th sem.pdf
dbms  calicut university B. sc Cs 4th sem.pdfdbms  calicut university B. sc Cs 4th sem.pdf
dbms calicut university B. sc Cs 4th sem.pdf
 
Taking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdfTaking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdf
 
Trusted Execution Environment for Decentralized Process Mining
Trusted Execution Environment for Decentralized Process MiningTrusted Execution Environment for Decentralized Process Mining
Trusted Execution Environment for Decentralized Process Mining
 
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy Survey
 
Choosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptxChoosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptx
 
Deep Dive: Getting Funded with Jason Jason Lemkin Founder & CEO @ SaaStr
Deep Dive: Getting Funded with Jason Jason Lemkin Founder & CEO @ SaaStrDeep Dive: Getting Funded with Jason Jason Lemkin Founder & CEO @ SaaStr
Deep Dive: Getting Funded with Jason Jason Lemkin Founder & CEO @ SaaStr
 
Skybuffer SAM4U tool for SAP license adoption
Skybuffer SAM4U tool for SAP license adoptionSkybuffer SAM4U tool for SAP license adoption
Skybuffer SAM4U tool for SAP license adoption
 
Presentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of GermanyPresentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of Germany
 
Nunit vs XUnit vs MSTest Differences Between These Unit Testing Frameworks.pdf
Nunit vs XUnit vs MSTest Differences Between These Unit Testing Frameworks.pdfNunit vs XUnit vs MSTest Differences Between These Unit Testing Frameworks.pdf
Nunit vs XUnit vs MSTest Differences Between These Unit Testing Frameworks.pdf
 
5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides
 
WeTestAthens: Postman's AI & Automation Techniques
WeTestAthens: Postman's AI & Automation TechniquesWeTestAthens: Postman's AI & Automation Techniques
WeTestAthens: Postman's AI & Automation Techniques
 
A Comprehensive Guide to DeFi Development Services in 2024
A Comprehensive Guide to DeFi Development Services in 2024A Comprehensive Guide to DeFi Development Services in 2024
A Comprehensive Guide to DeFi Development Services in 2024
 
leewayhertz.com-AI in predictive maintenance Use cases technologies benefits ...
leewayhertz.com-AI in predictive maintenance Use cases technologies benefits ...leewayhertz.com-AI in predictive maintenance Use cases technologies benefits ...
leewayhertz.com-AI in predictive maintenance Use cases technologies benefits ...
 
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfUnlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
 
Finale of the Year: Apply for Next One!
Finale of the Year: Apply for Next One!Finale of the Year: Apply for Next One!
Finale of the Year: Apply for Next One!
 

On the Evolution of Code Readability @ ICSME 2022