{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,7,18]],"date-time":"2026-07-18T02:42:47Z","timestamp":1784342567542,"version":"3.55.0"},"reference-count":72,"publisher":"Association for Computing Machinery (ACM)","issue":"OOPSLA","license":[{"start":{"date-parts":[[2021,10,15]],"date-time":"2021-10-15T00:00:00Z","timestamp":1634256000000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["Proc. ACM Program. Lang."],"published-print":{"date-parts":[[2021,10,20]]},"abstract":"<jats:p>\n            Static checker frameworks support software developers by automatically discovering bugs that fit general-purpose bug patterns. These frameworks ship with hundreds of detectors for such patterns and allow developers to add custom detectors for their own projects. However, existing frameworks generally encode detectors in imperative specifications, with extensive details of not only\n            <jats:italic>what<\/jats:italic>\n            to detect but also\n            <jats:italic>how<\/jats:italic>\n            . These details complicate detector maintenance and evolution, and also interfere with the framework\u2019s ability to change how detection is done, for instance, to make the detectors incremental.\n          <\/jats:p>\n          <jats:p>\n            In this paper, we present JavaDL, a Datalog-based declarative specification language for bug pattern detection in Java code. JavaDL seamlessly supports both exhaustive and incremental evaluation from the same detector specification. This specification allows developers to describe local detector components via\n            <jats:italic>syntactic pattern matching<\/jats:italic>\n            , and nonlocal (e.g., interprocedural) reasoning via\n            <jats:italic>Datalog-style logical rules<\/jats:italic>\n            .\n          <\/jats:p>\n          <jats:p>\n            We compare our approach against the well-established SpotBugs and Error Prone tools by re-implementing several of their detectors in JavaDL. We find that our implementations are substantially smaller and similarly effective at detecting bugs on the Defects4J benchmark suite, and run with competitive runtime performance. In our experiments, neither incremental nor exhaustive analysis can consistently outperform the other, which highlights the value of our ability to transparently switch execution modes. We argue that our approach showcases the potential of\n            <jats:italic>clear-box static checker frameworks<\/jats:italic>\n            that constrain the bug detector specification language to enable the framework to adapt and enhance the detectors.\n          <\/jats:p>","DOI":"10.1145\/3485542","type":"journal-article","created":{"date-parts":[[2021,10,15]],"date-time":"2021-10-15T19:18:28Z","timestamp":1634325508000},"page":"1-31","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":13,"title":["JavaDL: automatically incrementalizing Java bug pattern detection"],"prefix":"10.1145","volume":"5","author":[{"ORCID":"https:\/\/orcid.org\/0000-0002-8420-390X","authenticated-orcid":false,"given":"Alexandru","family":"Dura","sequence":"first","affiliation":[{"name":"Lund University, Sweden"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-0608-7023","authenticated-orcid":false,"given":"Christoph","family":"Reichenbach","sequence":"additional","affiliation":[{"name":"Lund University, Sweden"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-7966-4560","authenticated-orcid":false,"given":"Emma","family":"S\u00f6derberg","sequence":"additional","affiliation":[{"name":"Lund University, Sweden"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2021,10,15]]},"reference":[{"key":"e_1_2_2_1_1","doi-asserted-by":"publisher","DOI":"10.1109\/SCAM.2012.28"},{"key":"e_1_2_2_2_1","doi-asserted-by":"publisher","DOI":"10.1145\/2568225.2568243"},{"key":"e_1_2_2_3_1","doi-asserted-by":"publisher","DOI":"10.1145\/2666356.2594299"},{"key":"e_1_2_2_4_1","doi-asserted-by":"publisher","DOI":"10.1109\/MS.2008.130"},{"key":"e_1_2_2_5_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-662-53413-7_5"},{"key":"e_1_2_2_6_1","doi-asserted-by":"publisher","DOI":"10.1145\/6012.15399"},{"key":"e_1_2_2_7_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-642-00434-6_17"},{"key":"e_1_2_2_8_1","doi-asserted-by":"publisher","DOI":"10.1145\/1985793.1985827"},{"key":"e_1_2_2_9_1","unstructured":"Simon Brandhof Julien Lancelot Stas Vilchik Fabrice Bellingard David Gageot Jean-Baptiste Vilain Eric Hartmann and Freddy Mallet. 2014. SonarQube. https:\/\/github.com\/SonarSource\/sonarqube  Simon Brandhof Julien Lancelot Stas Vilchik Fabrice Bellingard David Gageot Jean-Baptiste Vilain Eric Hartmann and Freddy Mallet. 2014. SonarQube. https:\/\/github.com\/SonarSource\/sonarqube"},{"key":"e_1_2_2_10_1","doi-asserted-by":"publisher","DOI":"10.1145\/1640089.1640108"},{"key":"e_1_2_2_11_1","unstructured":"Oliver Burn Roman Ivanov Richard Veach Pavel Bludov Andrei Paikin Ilja Dubinin Andrei Selkin Vladislav Lisetskii Micha\u0142 Kordas Ruslan Diachenko Baratali Izmailov Daniil Yaroslavtsev Ivan Sopov Lars K\u00fchne Rick Giles Oleg Sukhodolsky Michael Studman and Travis Schneeberger. 2021. Checkstyle 9.0. https:\/\/checkstyle.sourceforge.io\/  Oliver Burn Roman Ivanov Richard Veach Pavel Bludov Andrei Paikin Ilja Dubinin Andrei Selkin Vladislav Lisetskii Micha\u0142 Kordas Ruslan Diachenko Baratali Izmailov Daniil Yaroslavtsev Ivan Sopov Lars K\u00fchne Rick Giles Oleg Sukhodolsky Michael Studman and Travis Schneeberger. 2021. Checkstyle 9.0. https:\/\/checkstyle.sourceforge.io\/"},{"key":"e_1_2_2_12_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-319-17524-9_1"},{"key":"e_1_2_2_13_1","doi-asserted-by":"publisher","DOI":"10.1109\/69.43410"},{"key":"e_1_2_2_14_1","doi-asserted-by":"publisher","DOI":"10.1145\/1167515.1167481"},{"key":"e_1_2_2_15_1","volume-title":"PMD applied. 10","author":"Copeland Tom"},{"key":"e_1_2_2_16_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-540-88643-3_3"},{"key":"e_1_2_2_18_1","doi-asserted-by":"publisher","DOI":"10.1145\/1244381.1244398"},{"key":"e_1_2_2_19_1","doi-asserted-by":"publisher","DOI":"10.1145\/2093157.2093168"},{"key":"e_1_2_2_20_1","doi-asserted-by":"publisher","DOI":"10.1145\/3092703.3092705"},{"key":"e_1_2_2_21_1","doi-asserted-by":"publisher","DOI":"10.1145\/3315568.3329970"},{"key":"e_1_2_2_22_1","doi-asserted-by":"publisher","DOI":"10.5281\/zenodo.5090141"},{"key":"e_1_2_2_23_1","doi-asserted-by":"publisher","DOI":"10.5281\/zenodo.5090140"},{"key":"e_1_2_2_24_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-540-69611-7_7"},{"key":"e_1_2_2_25_1","doi-asserted-by":"publisher","DOI":"10.1145\/1297105.1297029"},{"key":"e_1_2_2_26_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-540-71229-9_15"},{"key":"e_1_2_2_27_1","unstructured":"Stephen Fink and Julian Dolby. 2012. WALA\u2013The TJ Watson Libraries for Analysis.  Stephen Fink and Julian Dolby. 2012. WALA\u2013The TJ Watson Libraries for Analysis."},{"key":"e_1_2_2_28_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-540-25935-0_14"},{"key":"e_1_2_2_29_1","doi-asserted-by":"publisher","DOI":"10.1145\/3093333.3009871"},{"key":"e_1_2_2_30_1","doi-asserted-by":"publisher","DOI":"10.1145\/170036.170066"},{"key":"e_1_2_2_31_1","doi-asserted-by":"publisher","DOI":"10.1145\/3238147.3238213"},{"key":"e_1_2_2_32_1","doi-asserted-by":"publisher","DOI":"10.1016\/S0167-6423(02)00109-0"},{"key":"e_1_2_2_33_1","doi-asserted-by":"publisher","DOI":"10.1145\/3368089.3409765"},{"key":"e_1_2_2_34_1","doi-asserted-by":"publisher","DOI":"10.1145\/3314221.3314616"},{"key":"e_1_2_2_35_1","doi-asserted-by":"publisher","DOI":"10.1145\/1416563.1416566"},{"key":"e_1_2_2_36_1","unstructured":"N. Immerman. 1999. Descriptive Complexity. Springer New York. isbn:9780387986005 lccn:lc98033563 http:\/\/books.google.de\/books?id=kWSZ0OWnupkC  N. Immerman. 1999. Descriptive Complexity. Springer New York. isbn:9780387986005 lccn:lc98033563 http:\/\/books.google.de\/books?id=kWSZ0OWnupkC"},{"key":"e_1_2_2_37_1","doi-asserted-by":"publisher","DOI":"10.1145\/643603.643622"},{"key":"e_1_2_2_38_1","doi-asserted-by":"publisher","DOI":"10.1145\/2610384.2628055"},{"key":"e_1_2_2_39_1","doi-asserted-by":"publisher","DOI":"10.1145\/3138224"},{"key":"e_1_2_2_40_1","doi-asserted-by":"publisher","DOI":"10.1145\/1449955.1449772"},{"key":"e_1_2_2_41_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-642-19440-5_22"},{"key":"e_1_2_2_42_1","doi-asserted-by":"publisher","DOI":"10.1007\/BF01692511"},{"key":"e_1_2_2_43_1","doi-asserted-by":"publisher","DOI":"10.1145\/996893.996861"},{"key":"e_1_2_2_44_1","doi-asserted-by":"publisher","DOI":"10.1145\/3295739"},{"key":"e_1_2_2_45_1","doi-asserted-by":"publisher","DOI":"10.1145\/2980983.2908096"},{"key":"e_1_2_2_46_1","doi-asserted-by":"publisher","DOI":"10.1145\/1094811.1094840"},{"key":"e_1_2_2_47_1","doi-asserted-by":"publisher","DOI":"10.1145\/3276604.3276616"},{"key":"e_1_2_2_48_1","doi-asserted-by":"publisher","DOI":"10.1007\/s10515-018-0238-5"},{"key":"e_1_2_2_49_1","doi-asserted-by":"publisher","DOI":"10.1145\/3211968"},{"key":"e_1_2_2_50_1","doi-asserted-by":"publisher","DOI":"10.1145\/2500828.2500843"},{"key":"e_1_2_2_51_1","doi-asserted-by":"publisher","DOI":"10.1145\/3136014.3136032"},{"key":"e_1_2_2_52_1","doi-asserted-by":"publisher","DOI":"10.1002\/spe.2346"},{"key":"e_1_2_2_53_1","doi-asserted-by":"publisher","DOI":"10.1145\/3192366.3192417"},{"key":"e_1_2_2_54_1","doi-asserted-by":"publisher","DOI":"10.1109\/ICSE-NIER52604.2021.00021"},{"key":"e_1_2_2_55_1","doi-asserted-by":"publisher","DOI":"10.1145\/199448.199462"},{"key":"e_1_2_2_56_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-1-4615-2207-2_8"},{"key":"e_1_2_2_57_1","doi-asserted-by":"publisher","DOI":"10.1109\/LICS.2002.1029817"},{"key":"e_1_2_2_58_1","doi-asserted-by":"publisher","DOI":"10.1109\/SCAM52516.2021.00009"},{"key":"e_1_2_2_59_1","doi-asserted-by":"publisher","DOI":"10.1109\/ICSE.2015.76"},{"key":"e_1_2_2_60_1","doi-asserted-by":"publisher","DOI":"10.1145\/2892208.2892226"},{"key":"e_1_2_2_61_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.entcs.2008.03.044"},{"key":"e_1_2_2_62_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.scico.2012.02.002"},{"key":"e_1_2_2_63_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-642-19440-5_2"},{"key":"e_1_2_2_64_1","volume-title":"Incremental Evaluation of Reference Attribute Grammars using Dynamic Dependency Tracking","author":"S\u00f6derberg Emma","year":"2012"},{"key":"e_1_2_2_65_1","unstructured":"2021. SpotBugs 4.4.1 Bug Descriptions. https:\/\/spotbugs.readthedocs.io\/en\/stable\/bugDescriptions.html  2021. SpotBugs 4.4.1 Bug Descriptions. https:\/\/spotbugs.readthedocs.io\/en\/stable\/bugDescriptions.html"},{"key":"e_1_2_2_66_1","doi-asserted-by":"publisher","DOI":"10.1145\/3276509"},{"key":"e_1_2_2_67_1","doi-asserted-by":"publisher","DOI":"10.1145\/73721.73736"},{"key":"e_1_2_2_68_1","doi-asserted-by":"publisher","DOI":"10.1145\/1925805.1925818"},{"key":"e_1_2_2_69_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.scico.2009.07.004"},{"key":"e_1_2_2_70_1","doi-asserted-by":"publisher","DOI":"10.1007\/s10664-019-09750-5"},{"key":"e_1_2_2_71_1","doi-asserted-by":"publisher","DOI":"10.1007\/3-540-45821-2_19"},{"key":"e_1_2_2_72_1","doi-asserted-by":"publisher","DOI":"10.1145\/73141.74830"},{"key":"e_1_2_2_73_1","doi-asserted-by":"publisher","DOI":"10.1145\/3379446"}],"container-title":["Proceedings of the ACM on Programming Languages"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3485542","content-type":"unspecified","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3485542","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,6,17]],"date-time":"2025-06-17T20:18:40Z","timestamp":1750191520000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3485542"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2021,10,15]]},"references-count":72,"journal-issue":{"issue":"OOPSLA","published-print":{"date-parts":[[2021,10,20]]}},"alternative-id":["10.1145\/3485542"],"URL":"https:\/\/doi.org\/10.1145\/3485542","relation":{},"ISSN":["2475-1421"],"issn-type":[{"value":"2475-1421","type":"electronic"}],"subject":[],"published":{"date-parts":[[2021,10,15]]},"assertion":[{"value":"2021-10-15","order":2,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}