An Empirical Investigation on the Challenges of Creating Custom Static Analysis Rules for Defect Localization

Background: Custom static analysis rules, i.e., rules specific for one or more applications, have been successfully applied to perform corrective and preventive software maintenance. Pattern-Driven Maintenance (PDM) is a method designed to support the creation of such rules during software maintenan...

Full description

Saved in:
Bibliographic Details
Main Authors Mendonça, Diogo Silveira, Kalinowski, Marcos
Format Journal Article
LanguageEnglish
Published 25.11.2020
Subjects
Online AccessGet full text
DOI10.48550/arxiv.2011.12886

Cover

Abstract Background: Custom static analysis rules, i.e., rules specific for one or more applications, have been successfully applied to perform corrective and preventive software maintenance. Pattern-Driven Maintenance (PDM) is a method designed to support the creation of such rules during software maintenance. However, as PDM was recently proposed, few maintainers have reported on its usage. Hence, the challenges and skills needed to apply PDM properly are unknown. Aims: In this paper, we investigate the challenges faced by maintainers on applying PDM for creating custom static analysis rules for defect localization. Method: We conducted an observational study on novice maintainers creating custom static analysis rules by applying PDM. The study was divided into three tasks: (i) identifying a defect pattern, (ii) programming a static analysis rule to locate instances of the pattern, and (iii) verifying the located instances. We analyzed the efficiency and acceptance of maintainers on applying PDM and their comments on task challenges. Results: We observed that previous knowledge on debugging, the subject software, and related technologies influenced the performance of maintainers as well as the time to learn the technology involved in rule programming. Conclusions: The results strengthen our confidence that PDM can help maintainers in producing custom static analysis rules for locating defects. However, a proper selection and training of maintainers is needed to apply PDM effectively. Also, using a higher level of abstraction can ease static analysis rule programming for novice maintainers.
AbstractList Background: Custom static analysis rules, i.e., rules specific for one or more applications, have been successfully applied to perform corrective and preventive software maintenance. Pattern-Driven Maintenance (PDM) is a method designed to support the creation of such rules during software maintenance. However, as PDM was recently proposed, few maintainers have reported on its usage. Hence, the challenges and skills needed to apply PDM properly are unknown. Aims: In this paper, we investigate the challenges faced by maintainers on applying PDM for creating custom static analysis rules for defect localization. Method: We conducted an observational study on novice maintainers creating custom static analysis rules by applying PDM. The study was divided into three tasks: (i) identifying a defect pattern, (ii) programming a static analysis rule to locate instances of the pattern, and (iii) verifying the located instances. We analyzed the efficiency and acceptance of maintainers on applying PDM and their comments on task challenges. Results: We observed that previous knowledge on debugging, the subject software, and related technologies influenced the performance of maintainers as well as the time to learn the technology involved in rule programming. Conclusions: The results strengthen our confidence that PDM can help maintainers in producing custom static analysis rules for locating defects. However, a proper selection and training of maintainers is needed to apply PDM effectively. Also, using a higher level of abstraction can ease static analysis rule programming for novice maintainers.
Author Kalinowski, Marcos
Mendonça, Diogo Silveira
Author_xml – sequence: 1
  givenname: Diogo Silveira
  surname: Mendonça
  fullname: Mendonça, Diogo Silveira
– sequence: 2
  givenname: Marcos
  surname: Kalinowski
  fullname: Kalinowski, Marcos
BackLink https://doi.org/10.48550/arXiv.2011.12886$$DView paper in arXiv
BookMark eNqFjk0LgkAYhPdQh75-QKfeP5CpZXiVzSjoVN1lkVdd2A_ZXSX79W3SPRgYhhmGZ04mSiskZB2FwSFNknDHzIv3QRxGURDFaXqcEZkpyGXLDS-ZgKvq0TpeM8e1Ai_XINCGCYGqRgu6AmrQt6oG2lmnJTycjyVkionBcgv3TvhhpQ2csMLSwU37Z_4eL5dkWjFhcfXzBdmc8ye9bEewojVcMjMUX8BiBNz_X3wApadI4g
ContentType Journal Article
Copyright http://creativecommons.org/licenses/by/4.0
Copyright_xml – notice: http://creativecommons.org/licenses/by/4.0
DBID AKY
GOX
DOI 10.48550/arxiv.2011.12886
DatabaseName arXiv Computer Science
arXiv.org
DatabaseTitleList
Database_xml – sequence: 1
  dbid: GOX
  name: arXiv.org
  url: http://arxiv.org/find
  sourceTypes: Open Access Repository
DeliveryMethod fulltext_linktorsrc
ExternalDocumentID 2011_12886
GroupedDBID AKY
GOX
ID FETCH-arxiv_primary_2011_128863
IEDL.DBID GOX
IngestDate Tue Jul 22 23:15:00 EDT 2025
IsDoiOpenAccess true
IsOpenAccess true
IsPeerReviewed false
IsScholarly false
Language English
LinkModel DirectLink
MergedId FETCHMERGED-arxiv_primary_2011_128863
OpenAccessLink https://arxiv.org/abs/2011.12886
ParticipantIDs arxiv_primary_2011_12886
PublicationCentury 2000
PublicationDate 2020-11-25
PublicationDateYYYYMMDD 2020-11-25
PublicationDate_xml – month: 11
  year: 2020
  text: 2020-11-25
  day: 25
PublicationDecade 2020
PublicationYear 2020
Score 3.485608
SecondaryResourceType preprint
Snippet Background: Custom static analysis rules, i.e., rules specific for one or more applications, have been successfully applied to perform corrective and...
SourceID arxiv
SourceType Open Access Repository
SubjectTerms Computer Science - Software Engineering
Title An Empirical Investigation on the Challenges of Creating Custom Static Analysis Rules for Defect Localization
URI https://arxiv.org/abs/2011.12886
hasFullText 1
inHoldings 1
isFullTextHit
isPrint
link http://utb.summon.serialssolutions.com/2.0.0/link/0/eLvHCXMwdV07a8MwED6STF1KQ1vS9w1dRR35EXsMTtJQ-oDSgjcjWXIx1E5I4tKf35Ns0ywBDUI6xCEhfd8h3SeA-ywXriN0xBR3XeaZmsy5ZhOtVCi50NJmvb-8BstP7ynxkx5glwsjNr_FT6MPLLcPVmGTTtAw6EOfcxNcPb4lzeWkleJq7f_tiGPapj2QWJzAccvucNosxxB6ujqFclrhvFwXVowD94QtVhVSIQaGcfelyRZXOcaWyFVfGNdEzUo0hLDIsNMPwff6mwyJbeJMm9cY-GwAqU2oPIO7xfwjXjLrYLpu1CRS43tqfXfPYUAxvx4BRpq2ipwoL_MDTyguFY8IipWjQycI_egCRodGuTzcdQVH3ISL4zHj_jUMdpta3xCm7uStndg_UNJ9cQ
linkProvider Cornell University
openUrl ctx_ver=Z39.88-2004&ctx_enc=info%3Aofi%2Fenc%3AUTF-8&rfr_id=info%3Asid%2Fsummon.serialssolutions.com&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&rft.genre=article&rft.atitle=An+Empirical+Investigation+on+the+Challenges+of+Creating+Custom+Static+Analysis+Rules+for+Defect+Localization&rft.au=Mendon%C3%A7a%2C+Diogo+Silveira&rft.au=Kalinowski%2C+Marcos&rft.date=2020-11-25&rft_id=info:doi/10.48550%2Farxiv.2011.12886&rft.externalDocID=2011_12886