SlideShare a Scribd company logo
1 of 1
Download to read offline
Linguistic Anti-patterns
Impact of LAs on program comprehension
Zeinab Kermansaravi, Foutse Khomh, Yann-Gaël Guéhéneuc
Zeinab.kermansaravi@polymtl.ca, Foutse.khomh@polymtl.ca, yann-gael.gueheneuc@concordia.ca
1. Motivation 2. Research Questions
4. Study Design
5. Study Results
- x
- x
- x
 Program Comprehension is one of the major activities in
software maintenance [1].
 Linguistic anti-patterns (LAs) are bad practices in naming,
documentation, and implementation of an entity [2].
Definition
Problem
 Investigating whether the occurrences of LAs in the source
code make the program understandability and maintenance
difficult.
 Studying the impact of different types of LA on the
understandability.
 Investigate whether having knowledge about LAs would
improve program comprehension.
We define the following research questions:
(1) What is the impact of an occurrence of the LA on understandability?
(2) Do different types of LAs affect understandability equally?
(3) Does having knowledge about linguistic anti-patterns affect the impact of different
types of them on understandability?
(4) Can knowledge about LAs mitigate the impact of LAs on understandability?
- x
6. Conclusion and Future Work - x
3. Example of LAs - x
Figure 1. An example of A2- “Is returns
more than a Boolean'' (Apache Ant 1.10.1)
Figure 2. An example of B4- “Not answered
question” (ArgoUML 0.34)
(1) LA Detection
Using PMD extension to detect LAs in
studied systems
(4) Studied LAs
A2: ``Is returns more than a Boolean''
A3: ``Set method returns''
B4: ``Not answered question'‘
D1: ``Says one but contains many''.
E1: ``Says many but contains one''
F1: ``Attributes name and type are opposite''
F2: ``Attributes signature and comments are opposite''.
(3) Subjects
92 students from 101 Concordia
University
(2) Studied Systems
Figure 4. Impact of LAs on correctness, Time,
and Effort
RQ1. What is the impact of an occurrence of the LA on understandability?
RQ2. Do different types of LAs affect understandability equally?
RQ3. Does having knowledge about linguistic anti-patterns affect the impact of
different types of them on understandability?
(a) (b)
Figure 5. The most prevalent / least prevalent LAs in the studied systems
Table 2. The impact of different LAs on the correctness and
effort (a. Before) and (b. After) experiments
RQ4. Can knowledge about LAs mitigate the impact of LAs on understandability?
Figure 6. Evaluating the knowledge of LAs
Figure 7. Impact of LA knowledge on understandability
metrics
 The impact of independent variables on dependent variables
Table 3. P-Values of the impact of independent variables on dependent variables
 LAs negatively impact the understandability.
 having knowledge about LAs can help subjects to find the right answers easier and faster.
 A2, B4, and D1 have the most negative impact on understandability while E1 also is difficult to detect.
 work experience, and having knowledge about LAs, as same as English have the most impact on the
measured variables.
 Study other types of LAs.
 Improve the detection Tool.
 Investigation the occurrences of Las on dynamic program languages.
7. References - x
[1] M. Abbes, F. Khomh, Y.-G. Gueheneuc, and G. Antoniol, “An empirical
study of the impact of two antipatterns, blob and spaghetti code, on
program comprehension,” in Software maintenance and reengineering
(CSMR), 2011 15th European conference on. IEEE, 2011, pp. 181–190.
[2] V. Arnaoudova, M. Di Penta, and G. Antoniol, “Linguistic antipatterns:
What they are and how developers perceive them,” Empirical Software
Engineering, vol. 21, no. 1, pp. 104–158, 2016.
Table 1. Studied Systems
Figure 3. Studied LAs

More Related Content

Similar to Linguistic Anti-patterns Impact Program Comprehension

Chapter 8 cli cross linguistic interfernce
Chapter 8 cli cross linguistic interfernceChapter 8 cli cross linguistic interfernce
Chapter 8 cli cross linguistic interfernceLashika Dambadeniya
 
The relationship between Language testing & SLA
The relationship between Language testing & SLAThe relationship between Language testing & SLA
The relationship between Language testing & SLAKobra( Minoo) Tajahmadi
 
Young Minds and Computer Coding
Young Minds and Computer CodingYoung Minds and Computer Coding
Young Minds and Computer CodingMichael Newbold
 
the linguistics of second linguistics acquisition
the linguistics of second linguistics acquisitionthe linguistics of second linguistics acquisition
the linguistics of second linguistics acquisitionapril aulia
 
MODELLING PREDICTORS OF ENGLISH PROFICIENCY VIA REASONING ATTRIBUTES AMONG CO...
MODELLING PREDICTORS OF ENGLISH PROFICIENCY VIA REASONING ATTRIBUTES AMONG CO...MODELLING PREDICTORS OF ENGLISH PROFICIENCY VIA REASONING ATTRIBUTES AMONG CO...
MODELLING PREDICTORS OF ENGLISH PROFICIENCY VIA REASONING ATTRIBUTES AMONG CO...JeanCostillas1
 
Self- Efficacy, Word Reading, and Vocabulary Knowledge in English Language Le...
Self- Efficacy, Word Reading, and Vocabulary Knowledge in English Language Le...Self- Efficacy, Word Reading, and Vocabulary Knowledge in English Language Le...
Self- Efficacy, Word Reading, and Vocabulary Knowledge in English Language Le...NOR RUBA'YAH ABD RAHIM
 
GENDER AND IDENTITY ISSUES IN SECOND LANGUAGE ACQUISITION.docx
GENDER AND IDENTITY ISSUES IN SECOND LANGUAGE ACQUISITION.docxGENDER AND IDENTITY ISSUES IN SECOND LANGUAGE ACQUISITION.docx
GENDER AND IDENTITY ISSUES IN SECOND LANGUAGE ACQUISITION.docxResearchWap
 
Errors and Mistakes
Errors and MistakesErrors and Mistakes
Errors and MistakesDebbieS
 
Mc collum, dixie effects of a speech to-text software nfsej v25 n1 2014
Mc collum, dixie effects of a speech to-text software nfsej v25 n1 2014Mc collum, dixie effects of a speech to-text software nfsej v25 n1 2014
Mc collum, dixie effects of a speech to-text software nfsej v25 n1 2014William Kritsonis
 
Perceptions and Preferences of ESL Students Regarding the Effectiveness of Co...
Perceptions and Preferences of ESL Students Regarding the Effectiveness of Co...Perceptions and Preferences of ESL Students Regarding the Effectiveness of Co...
Perceptions and Preferences of ESL Students Regarding the Effectiveness of Co...iosrjce
 
L2 endstate and_dynamic_l2_interlanguage.edited
L2 endstate and_dynamic_l2_interlanguage.editedL2 endstate and_dynamic_l2_interlanguage.edited
L2 endstate and_dynamic_l2_interlanguage.editedNigel Daly
 
3_Factors_Affecting_L2_Learning.ppt
3_Factors_Affecting_L2_Learning.ppt3_Factors_Affecting_L2_Learning.ppt
3_Factors_Affecting_L2_Learning.pptFahadSaad20
 
A Study Of The Relationship Between Multiple Intelligences Grammatical Errors
A Study Of The Relationship Between Multiple Intelligences   Grammatical ErrorsA Study Of The Relationship Between Multiple Intelligences   Grammatical Errors
A Study Of The Relationship Between Multiple Intelligences Grammatical ErrorsSandra Long
 
Principles & Practice in Language Learning - Chapter 9: Cross-Linguistic Infl...
Principles & Practice in Language Learning - Chapter 9: Cross-Linguistic Infl...Principles & Practice in Language Learning - Chapter 9: Cross-Linguistic Infl...
Principles & Practice in Language Learning - Chapter 9: Cross-Linguistic Infl...uniquelyawesome
 

Similar to Linguistic Anti-patterns Impact Program Comprehension (20)

Chapter 8 cli cross linguistic interfernce
Chapter 8 cli cross linguistic interfernceChapter 8 cli cross linguistic interfernce
Chapter 8 cli cross linguistic interfernce
 
The relationship between Language testing & SLA
The relationship between Language testing & SLAThe relationship between Language testing & SLA
The relationship between Language testing & SLA
 
Young Minds and Computer Coding
Young Minds and Computer CodingYoung Minds and Computer Coding
Young Minds and Computer Coding
 
E10 02 (cap4)
E10 02 (cap4)E10 02 (cap4)
E10 02 (cap4)
 
the linguistics of second linguistics acquisition
the linguistics of second linguistics acquisitionthe linguistics of second linguistics acquisition
the linguistics of second linguistics acquisition
 
Factors affecting LLS usage
Factors affecting LLS usageFactors affecting LLS usage
Factors affecting LLS usage
 
MODELLING PREDICTORS OF ENGLISH PROFICIENCY VIA REASONING ATTRIBUTES AMONG CO...
MODELLING PREDICTORS OF ENGLISH PROFICIENCY VIA REASONING ATTRIBUTES AMONG CO...MODELLING PREDICTORS OF ENGLISH PROFICIENCY VIA REASONING ATTRIBUTES AMONG CO...
MODELLING PREDICTORS OF ENGLISH PROFICIENCY VIA REASONING ATTRIBUTES AMONG CO...
 
Self- Efficacy, Word Reading, and Vocabulary Knowledge in English Language Le...
Self- Efficacy, Word Reading, and Vocabulary Knowledge in English Language Le...Self- Efficacy, Word Reading, and Vocabulary Knowledge in English Language Le...
Self- Efficacy, Word Reading, and Vocabulary Knowledge in English Language Le...
 
GENDER AND IDENTITY ISSUES IN SECOND LANGUAGE ACQUISITION.docx
GENDER AND IDENTITY ISSUES IN SECOND LANGUAGE ACQUISITION.docxGENDER AND IDENTITY ISSUES IN SECOND LANGUAGE ACQUISITION.docx
GENDER AND IDENTITY ISSUES IN SECOND LANGUAGE ACQUISITION.docx
 
Errors and Mistakes
Errors and MistakesErrors and Mistakes
Errors and Mistakes
 
Mc collum, dixie effects of a speech to-text software nfsej v25 n1 2014
Mc collum, dixie effects of a speech to-text software nfsej v25 n1 2014Mc collum, dixie effects of a speech to-text software nfsej v25 n1 2014
Mc collum, dixie effects of a speech to-text software nfsej v25 n1 2014
 
Ca and-ea2222
Ca and-ea2222Ca and-ea2222
Ca and-ea2222
 
Perceptions and Preferences of ESL Students Regarding the Effectiveness of Co...
Perceptions and Preferences of ESL Students Regarding the Effectiveness of Co...Perceptions and Preferences of ESL Students Regarding the Effectiveness of Co...
Perceptions and Preferences of ESL Students Regarding the Effectiveness of Co...
 
L2 endstate and_dynamic_l2_interlanguage.edited
L2 endstate and_dynamic_l2_interlanguage.editedL2 endstate and_dynamic_l2_interlanguage.edited
L2 endstate and_dynamic_l2_interlanguage.edited
 
3_Factors_Affecting_L2_Learning.ppt
3_Factors_Affecting_L2_Learning.ppt3_Factors_Affecting_L2_Learning.ppt
3_Factors_Affecting_L2_Learning.ppt
 
Learner errors
Learner errorsLearner errors
Learner errors
 
A Study Of The Relationship Between Multiple Intelligences Grammatical Errors
A Study Of The Relationship Between Multiple Intelligences   Grammatical ErrorsA Study Of The Relationship Between Multiple Intelligences   Grammatical Errors
A Study Of The Relationship Between Multiple Intelligences Grammatical Errors
 
Principles & Practice in Language Learning - Chapter 9: Cross-Linguistic Infl...
Principles & Practice in Language Learning - Chapter 9: Cross-Linguistic Infl...Principles & Practice in Language Learning - Chapter 9: Cross-Linguistic Infl...
Principles & Practice in Language Learning - Chapter 9: Cross-Linguistic Infl...
 
Kum
KumKum
Kum
 
Kum
KumKum
Kum
 

More from Ptidej Team

From IoT to Software Miniaturisation
From IoT to Software MiniaturisationFrom IoT to Software Miniaturisation
From IoT to Software MiniaturisationPtidej Team
 
Presentation by Lionel Briand
Presentation by Lionel BriandPresentation by Lionel Briand
Presentation by Lionel BriandPtidej Team
 
Manel Abdellatif
Manel AbdellatifManel Abdellatif
Manel AbdellatifPtidej Team
 
CSED - Manel Grichi
CSED - Manel GrichiCSED - Manel Grichi
CSED - Manel GrichiPtidej Team
 
Cristiano Politowski
Cristiano PolitowskiCristiano Politowski
Cristiano PolitowskiPtidej Team
 
Will io t trigger the next software crisis
Will io t trigger the next software crisisWill io t trigger the next software crisis
Will io t trigger the next software crisisPtidej Team
 
Thesis+of+laleh+eshkevari.ppt
Thesis+of+laleh+eshkevari.pptThesis+of+laleh+eshkevari.ppt
Thesis+of+laleh+eshkevari.pptPtidej Team
 
Thesis+of+nesrine+abdelkafi.ppt
Thesis+of+nesrine+abdelkafi.pptThesis+of+nesrine+abdelkafi.ppt
Thesis+of+nesrine+abdelkafi.pptPtidej Team
 
Thesis+of+étienne+duclos.ppt
Thesis+of+étienne+duclos.pptThesis+of+étienne+duclos.ppt
Thesis+of+étienne+duclos.pptPtidej Team
 

More from Ptidej Team (20)

From IoT to Software Miniaturisation
From IoT to Software MiniaturisationFrom IoT to Software Miniaturisation
From IoT to Software Miniaturisation
 
Presentation
PresentationPresentation
Presentation
 
Presentation
PresentationPresentation
Presentation
 
Presentation
PresentationPresentation
Presentation
 
Presentation by Lionel Briand
Presentation by Lionel BriandPresentation by Lionel Briand
Presentation by Lionel Briand
 
Manel Abdellatif
Manel AbdellatifManel Abdellatif
Manel Abdellatif
 
Mouna Abidi
Mouna AbidiMouna Abidi
Mouna Abidi
 
CSED - Manel Grichi
CSED - Manel GrichiCSED - Manel Grichi
CSED - Manel Grichi
 
Cristiano Politowski
Cristiano PolitowskiCristiano Politowski
Cristiano Politowski
 
Will io t trigger the next software crisis
Will io t trigger the next software crisisWill io t trigger the next software crisis
Will io t trigger the next software crisis
 
MIPA
MIPAMIPA
MIPA
 
Thesis+of+laleh+eshkevari.ppt
Thesis+of+laleh+eshkevari.pptThesis+of+laleh+eshkevari.ppt
Thesis+of+laleh+eshkevari.ppt
 
Thesis+of+nesrine+abdelkafi.ppt
Thesis+of+nesrine+abdelkafi.pptThesis+of+nesrine+abdelkafi.ppt
Thesis+of+nesrine+abdelkafi.ppt
 
Medicine15.ppt
Medicine15.pptMedicine15.ppt
Medicine15.ppt
 
Qrs17b.ppt
Qrs17b.pptQrs17b.ppt
Qrs17b.ppt
 
Icpc11c.ppt
Icpc11c.pptIcpc11c.ppt
Icpc11c.ppt
 
Icsme16.ppt
Icsme16.pptIcsme16.ppt
Icsme16.ppt
 
Msr17a.ppt
Msr17a.pptMsr17a.ppt
Msr17a.ppt
 
Icsoc15.ppt
Icsoc15.pptIcsoc15.ppt
Icsoc15.ppt
 
Thesis+of+étienne+duclos.ppt
Thesis+of+étienne+duclos.pptThesis+of+étienne+duclos.ppt
Thesis+of+étienne+duclos.ppt
 

Recently uploaded

Xen Safety Embedded OSS Summit April 2024 v4.pdf
Xen Safety Embedded OSS Summit April 2024 v4.pdfXen Safety Embedded OSS Summit April 2024 v4.pdf
Xen Safety Embedded OSS Summit April 2024 v4.pdfStefano Stabellini
 
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackVICTOR MAESTRE RAMIREZ
 
React Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaReact Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaHanief Utama
 
MYjobs Presentation Django-based project
MYjobs Presentation Django-based projectMYjobs Presentation Django-based project
MYjobs Presentation Django-based projectAnoyGreter
 
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte GermanySuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte GermanyChristoph Pohl
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideChristina Lin
 
Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Andreas Granig
 
Introduction Computer Science - Software Design.pdf
Introduction Computer Science - Software Design.pdfIntroduction Computer Science - Software Design.pdf
Introduction Computer Science - Software Design.pdfFerryKemperman
 
Unveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New FeaturesUnveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New FeaturesŁukasz Chruściel
 
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...OnePlan Solutions
 
How to Track Employee Performance A Comprehensive Guide.pdf
How to Track Employee Performance A Comprehensive Guide.pdfHow to Track Employee Performance A Comprehensive Guide.pdf
How to Track Employee Performance A Comprehensive Guide.pdfLivetecs LLC
 
CRM Contender Series: HubSpot vs. Salesforce
CRM Contender Series: HubSpot vs. SalesforceCRM Contender Series: HubSpot vs. Salesforce
CRM Contender Series: HubSpot vs. SalesforceBrainSell Technologies
 
Intelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmIntelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmSujith Sukumaran
 
Implementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureImplementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureDinusha Kumarasiri
 
Folding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a seriesFolding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a seriesPhilip Schwarz
 
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...Matt Ray
 
Buds n Tech IT Solutions: Top-Notch Web Services in Noida
Buds n Tech IT Solutions: Top-Notch Web Services in NoidaBuds n Tech IT Solutions: Top-Notch Web Services in Noida
Buds n Tech IT Solutions: Top-Notch Web Services in Noidabntitsolutionsrishis
 
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)jennyeacort
 

Recently uploaded (20)

Xen Safety Embedded OSS Summit April 2024 v4.pdf
Xen Safety Embedded OSS Summit April 2024 v4.pdfXen Safety Embedded OSS Summit April 2024 v4.pdf
Xen Safety Embedded OSS Summit April 2024 v4.pdf
 
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStack
 
2.pdf Ejercicios de programación competitiva
2.pdf Ejercicios de programación competitiva2.pdf Ejercicios de programación competitiva
2.pdf Ejercicios de programación competitiva
 
React Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaReact Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief Utama
 
MYjobs Presentation Django-based project
MYjobs Presentation Django-based projectMYjobs Presentation Django-based project
MYjobs Presentation Django-based project
 
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte GermanySuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
 
Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024
 
Introduction Computer Science - Software Design.pdf
Introduction Computer Science - Software Design.pdfIntroduction Computer Science - Software Design.pdf
Introduction Computer Science - Software Design.pdf
 
Unveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New FeaturesUnveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New Features
 
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
 
How to Track Employee Performance A Comprehensive Guide.pdf
How to Track Employee Performance A Comprehensive Guide.pdfHow to Track Employee Performance A Comprehensive Guide.pdf
How to Track Employee Performance A Comprehensive Guide.pdf
 
CRM Contender Series: HubSpot vs. Salesforce
CRM Contender Series: HubSpot vs. SalesforceCRM Contender Series: HubSpot vs. Salesforce
CRM Contender Series: HubSpot vs. Salesforce
 
Intelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmIntelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalm
 
Implementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureImplementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with Azure
 
Folding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a seriesFolding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a series
 
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
 
Buds n Tech IT Solutions: Top-Notch Web Services in Noida
Buds n Tech IT Solutions: Top-Notch Web Services in NoidaBuds n Tech IT Solutions: Top-Notch Web Services in Noida
Buds n Tech IT Solutions: Top-Notch Web Services in Noida
 
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort ServiceHot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
 
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
 

Linguistic Anti-patterns Impact Program Comprehension

  • 1. Linguistic Anti-patterns Impact of LAs on program comprehension Zeinab Kermansaravi, Foutse Khomh, Yann-Gaël Guéhéneuc Zeinab.kermansaravi@polymtl.ca, Foutse.khomh@polymtl.ca, yann-gael.gueheneuc@concordia.ca 1. Motivation 2. Research Questions 4. Study Design 5. Study Results - x - x - x  Program Comprehension is one of the major activities in software maintenance [1].  Linguistic anti-patterns (LAs) are bad practices in naming, documentation, and implementation of an entity [2]. Definition Problem  Investigating whether the occurrences of LAs in the source code make the program understandability and maintenance difficult.  Studying the impact of different types of LA on the understandability.  Investigate whether having knowledge about LAs would improve program comprehension. We define the following research questions: (1) What is the impact of an occurrence of the LA on understandability? (2) Do different types of LAs affect understandability equally? (3) Does having knowledge about linguistic anti-patterns affect the impact of different types of them on understandability? (4) Can knowledge about LAs mitigate the impact of LAs on understandability? - x 6. Conclusion and Future Work - x 3. Example of LAs - x Figure 1. An example of A2- “Is returns more than a Boolean'' (Apache Ant 1.10.1) Figure 2. An example of B4- “Not answered question” (ArgoUML 0.34) (1) LA Detection Using PMD extension to detect LAs in studied systems (4) Studied LAs A2: ``Is returns more than a Boolean'' A3: ``Set method returns'' B4: ``Not answered question'‘ D1: ``Says one but contains many''. E1: ``Says many but contains one'' F1: ``Attributes name and type are opposite'' F2: ``Attributes signature and comments are opposite''. (3) Subjects 92 students from 101 Concordia University (2) Studied Systems Figure 4. Impact of LAs on correctness, Time, and Effort RQ1. What is the impact of an occurrence of the LA on understandability? RQ2. Do different types of LAs affect understandability equally? RQ3. Does having knowledge about linguistic anti-patterns affect the impact of different types of them on understandability? (a) (b) Figure 5. The most prevalent / least prevalent LAs in the studied systems Table 2. The impact of different LAs on the correctness and effort (a. Before) and (b. After) experiments RQ4. Can knowledge about LAs mitigate the impact of LAs on understandability? Figure 6. Evaluating the knowledge of LAs Figure 7. Impact of LA knowledge on understandability metrics  The impact of independent variables on dependent variables Table 3. P-Values of the impact of independent variables on dependent variables  LAs negatively impact the understandability.  having knowledge about LAs can help subjects to find the right answers easier and faster.  A2, B4, and D1 have the most negative impact on understandability while E1 also is difficult to detect.  work experience, and having knowledge about LAs, as same as English have the most impact on the measured variables.  Study other types of LAs.  Improve the detection Tool.  Investigation the occurrences of Las on dynamic program languages. 7. References - x [1] M. Abbes, F. Khomh, Y.-G. Gueheneuc, and G. Antoniol, “An empirical study of the impact of two antipatterns, blob and spaghetti code, on program comprehension,” in Software maintenance and reengineering (CSMR), 2011 15th European conference on. IEEE, 2011, pp. 181–190. [2] V. Arnaoudova, M. Di Penta, and G. Antoniol, “Linguistic antipatterns: What they are and how developers perceive them,” Empirical Software Engineering, vol. 21, no. 1, pp. 104–158, 2016. Table 1. Studied Systems Figure 3. Studied LAs