{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,7,16]],"date-time":"2026-07-16T06:14:17Z","timestamp":1784182457627,"version":"3.55.0"},"publisher-location":"New York, NY, USA","reference-count":66,"publisher":"ACM","license":[{"start":{"date-parts":[[2021,7,11]],"date-time":"2021-07-11T00:00:00Z","timestamp":1625961600000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/www.acm.org\/publications\/policies\/copyright_policy#Background"}],"funder":[{"name":"office of naval research","award":["N00014-17-1-2896"],"award-info":[{"award-number":["N00014-17-1-2896"]}]}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":[],"published-print":{"date-parts":[[2021,7,11]]},"DOI":"10.1145\/3460319.3464818","type":"proceedings-article","created":{"date-parts":[[2021,7,8]],"date-time":"2021-07-08T22:18:43Z","timestamp":1625782723000},"page":"270-282","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":12,"title":["SAND: a static analysis approach for detecting SQL antipatterns"],"prefix":"10.1145","author":[{"ORCID":"https:\/\/orcid.org\/0000-0002-0139-8028","authenticated-orcid":false,"given":"Yingjun","family":"Lyu","sequence":"first","affiliation":[{"name":"Amazon, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-7496-0731","authenticated-orcid":false,"given":"Sasha","family":"Volokh","sequence":"additional","affiliation":[{"name":"University of Southern California, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-4951-9367","authenticated-orcid":false,"given":"William G. J.","family":"Halfond","sequence":"additional","affiliation":[{"name":"University of Southern California, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-2393-854X","authenticated-orcid":false,"given":"Omer","family":"Tripp","sequence":"additional","affiliation":[{"name":"Amazon, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2021,7,11]]},"reference":[{"key":"e_1_3_2_1_1_1","volume-title":"Ullman","author":"Aho Alfred V.","year":"2006","unstructured":"Alfred V. Aho , Monica S. Lam , Ravi Sethi , and Jeffrey D . Ullman . 2006 . Compilers : Principles, Techniques, and Tools (2Nd Edition). Addison-Wesley Longman Publishing Co. , Inc., Boston, MA, USA. isbn:0321486811 Alfred V. Aho, Monica S. Lam, Ravi Sethi, and Jeffrey D. Ullman. 2006. Compilers: Principles, Techniques, and Tools (2Nd Edition). Addison-Wesley Longman Publishing Co., Inc., Boston, MA, USA. isbn:0321486811"},{"key":"e_1_3_2_1_2_1","doi-asserted-by":"publisher","DOI":"10.1109\/TKDE.2017.2772252"},{"key":"e_1_3_2_1_3_1","doi-asserted-by":"publisher","DOI":"10.1145\/2594291.2594299"},{"key":"e_1_3_2_1_4_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-642-14577-3_21"},{"key":"e_1_3_2_1_5_1","doi-asserted-by":"publisher","DOI":"10.1145\/1866307.1866384"},{"key":"e_1_3_2_1_6_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.jss.2011.11.1039"},{"key":"e_1_3_2_1_7_1","doi-asserted-by":"publisher","DOI":"10.1145\/2452376.2452445"},{"key":"e_1_3_2_1_8_1","doi-asserted-by":"publisher","DOI":"10.14722\/ndss.2015.23140"},{"key":"e_1_3_2_1_9_1","volume-title":"Bridging the Application and DBMS Profiling Divide for Database Application Developers","author":"Chaudhuri Surajit","unstructured":"Surajit Chaudhuri , Vivek Narasayya , and Manoj Syamala . 2007. Bridging the Application and DBMS Profiling Divide for Database Application Developers . In VLDB. Very Large Data Bases Endowment Inc .. Surajit Chaudhuri, Vivek Narasayya, and Manoj Syamala. 2007. Bridging the Application and DBMS Profiling Divide for Database Application Developers. In VLDB. Very Large Data Bases Endowment Inc.."},{"key":"e_1_3_2_1_10_1","doi-asserted-by":"publisher","DOI":"10.1145\/2950290.2950303"},{"key":"e_1_3_2_1_11_1","doi-asserted-by":"publisher","DOI":"10.1145\/2568225.2568259"},{"key":"e_1_3_2_1_12_1","doi-asserted-by":"publisher","DOI":"10.1109\/TSE.2016.2553039"},{"key":"e_1_3_2_1_13_1","doi-asserted-by":"publisher","DOI":"10.1145\/2491956.2462180"},{"key":"e_1_3_2_1_14_1","doi-asserted-by":"publisher","DOI":"10.1109\/ICDE.2009.98"},{"key":"e_1_3_2_1_15_1","doi-asserted-by":"publisher","DOI":"10.1145\/3035918.3058747"},{"key":"e_1_3_2_1_16_1","doi-asserted-by":"publisher","DOI":"10.1145\/24039.24041"},{"key":"e_1_3_2_1_17_1","unstructured":"Github. 2020. RAT-TRAP: A Tool of Automated Optimization of Resource Inefficient Database Writes for Mobile Applications. https:\/\/github.com\/USC-SQL\/RAT-TRAP  Github. 2020. RAT-TRAP: A Tool of Automated Optimization of Resource Inefficient Database Writes for Mobile Applications. https:\/\/github.com\/USC-SQL\/RAT-TRAP"},{"key":"e_1_3_2_1_18_1","unstructured":"Google. 2019. Android SQLite Documentation. https:\/\/developer.android.com\/reference\/android\/database\/sqlite\/SQLiteDatabase.html  Google. 2019. Android SQLite Documentation. https:\/\/developer.android.com\/reference\/android\/database\/sqlite\/SQLiteDatabase.html"},{"key":"e_1_3_2_1_19_1","unstructured":"Google. 2019. Gooogle Play App Store. https:\/\/play.google.com\/store\/apps.  Google. 2019. Gooogle Play App Store. https:\/\/play.google.com\/store\/apps."},{"key":"e_1_3_2_1_20_1","doi-asserted-by":"publisher","DOI":"10.1109\/ICSE.2004.1317494"},{"key":"e_1_3_2_1_21_1","doi-asserted-by":"publisher","DOI":"10.1109\/ASE.2013.6693097"},{"key":"e_1_3_2_1_22_1","doi-asserted-by":"publisher","DOI":"10.1109\/ICST.2017.72"},{"key":"e_1_3_2_1_23_1","doi-asserted-by":"publisher","DOI":"10.1109\/QRS.2018.00063"},{"key":"e_1_3_2_1_24_1","doi-asserted-by":"publisher","DOI":"10.1145\/1134285.1134416"},{"key":"e_1_3_2_1_25_1","doi-asserted-by":"publisher","DOI":"10.1145\/2462456.2465430"},{"key":"e_1_3_2_1_26_1","doi-asserted-by":"publisher","DOI":"10.1145\/2771783.2771800"},{"key":"e_1_3_2_1_27_1","volume-title":"SQL Antipatterns: Avoiding the Pitfalls of Database Programming","author":"Karwin Bill","year":"1934","unstructured":"Bill Karwin . 2010. SQL Antipatterns: Avoiding the Pitfalls of Database Programming ( 1 st ed.). Pragmatic Bookshelf . isbn: 1934 356557, 9781934356555 Bill Karwin. 2010. SQL Antipatterns: Avoiding the Pitfalls of Database Programming (1st ed.). Pragmatic Bookshelf. isbn:1934356557, 9781934356555","edition":"1"},{"key":"e_1_3_2_1_28_1","volume-title":"SCANDAL : Static Analyzer for Detecting Privacy Leaks in Android Applications.","author":"Kim Jinyung","year":"2012","unstructured":"Jinyung Kim , Yongho Yoon , and Kwangkeun Yi . 2012 . SCANDAL : Static Analyzer for Detecting Privacy Leaks in Android Applications. Jinyung Kim, Yongho Yoon, and Kwangkeun Yi. 2012. SCANDAL : Static Analyzer for Detecting Privacy Leaks in Android Applications."},{"key":"e_1_3_2_1_29_1","volume-title":"Procedures for Performing Systematic Reviews. 33","author":"Kitchenham Barbara","year":"2004","unstructured":"Barbara Kitchenham . 2004. Procedures for Performing Systematic Reviews. 33 ( 2004 ), 08. Barbara Kitchenham. 2004. Procedures for Performing Systematic Reviews. 33 (2004), 08."},{"key":"e_1_3_2_1_30_1","volume-title":"Cetus Users and Compiler Infastructure Workshop (CETUS","author":"Lam Patrick","year":"2011","unstructured":"Patrick Lam , Eric Bodden , Ondrej Lhot\u00e1k , and Laurie Hendren . 2011 . The Soot framework for Java program analysis: a retrospective . In Cetus Users and Compiler Infastructure Workshop (CETUS 2011). Patrick Lam, Eric Bodden, Ondrej Lhot\u00e1k, and Laurie Hendren. 2011. The Soot framework for Java program analysis: a retrospective. In Cetus Users and Compiler Infastructure Workshop (CETUS 2011)."},{"key":"e_1_3_2_1_31_1","doi-asserted-by":"publisher","DOI":"10.1109\/ICPC.2017.37"},{"key":"e_1_3_2_1_32_1","volume-title":"Proceedings of the International Conference on Software Maintenance and Evolution (ICSME).","author":"Li Ding","unstructured":"Ding Li , Shuai Hao , Jiaping Gui , and William G.J. Halfond . 2014. An Empirical Study of the Energy Consumption of Android Applications . In Proceedings of the International Conference on Software Maintenance and Evolution (ICSME). Ding Li, Shuai Hao, Jiaping Gui, and William G.J. Halfond. 2014. An Empirical Study of the Energy Consumption of Android Applications. In Proceedings of the International Conference on Software Maintenance and Evolution (ICSME)."},{"key":"e_1_3_2_1_33_1","doi-asserted-by":"publisher","DOI":"10.1145\/2786805.2786879"},{"key":"e_1_3_2_1_34_1","doi-asserted-by":"publisher","DOI":"10.1145\/2597073.2597085"},{"key":"e_1_3_2_1_35_1","doi-asserted-by":"publisher","DOI":"10.1145\/2931037.2931072"},{"key":"e_1_3_2_1_36_1","volume-title":"Proceedings of the 14th Conference on USENIX Security Symposium -","volume":"14","author":"Benjamin Livshits V.","unstructured":"V. Benjamin Livshits and Monica S. Lam . 2005. Finding Security Vulnerabilities in Java Applications with Static Analysis . In Proceedings of the 14th Conference on USENIX Security Symposium - Volume 14 (SSYM\u201905). USENIX Association, Berkeley, CA, USA. 18\u201318. http:\/\/dl.acm.org\/citation.cfm?id=1251398.1251416 V. Benjamin Livshits and Monica S. Lam. 2005. Finding Security Vulnerabilities in Java Applications with Static Analysis. In Proceedings of the 14th Conference on USENIX Security Symposium - Volume 14 (SSYM\u201905). USENIX Association, Berkeley, CA, USA. 18\u201318. http:\/\/dl.acm.org\/citation.cfm?id=1251398.1251416"},{"key":"e_1_3_2_1_37_1","volume-title":"Quantifying the Performance Impact of SQL Antipatterns on Mobile Applications. In 2019 IEEE International Conference on Software Maintenance and Evolution (ICSME). 53\u201364","author":"Lyu Y.","year":"2019","unstructured":"Y. Lyu , A. Alotaibi , and W. G. J. Halfond . 2019 . Quantifying the Performance Impact of SQL Antipatterns on Mobile Applications. In 2019 IEEE International Conference on Software Maintenance and Evolution (ICSME). 53\u201364 . Y. Lyu, A. Alotaibi, and W. G. J. Halfond. 2019. Quantifying the Performance Impact of SQL Antipatterns on Mobile Applications. In 2019 IEEE International Conference on Software Maintenance and Evolution (ICSME). 53\u201364."},{"key":"e_1_3_2_1_38_1","doi-asserted-by":"publisher","DOI":"10.1109\/ICSME.2017.75"},{"key":"e_1_3_2_1_39_1","doi-asserted-by":"publisher","DOI":"10.1145\/3213846.3213865"},{"key":"e_1_3_2_1_40_1","doi-asserted-by":"publisher","DOI":"10.1109\/ICDE.2009.194"},{"key":"e_1_3_2_1_41_1","doi-asserted-by":"publisher","DOI":"10.1145\/1094811.1094840"},{"key":"e_1_3_2_1_42_1","doi-asserted-by":"publisher","DOI":"10.1109\/TSE.1976.233837"},{"key":"e_1_3_2_1_43_1","doi-asserted-by":"publisher","DOI":"10.1145\/2818639"},{"key":"e_1_3_2_1_44_1","doi-asserted-by":"publisher","DOI":"10.1145\/1218563.1218571"},{"key":"e_1_3_2_1_45_1","unstructured":"Steven S. Muchnick. 1997. Advanced Compiler Design Implementation. Morgan Kaufmann.  Steven S. Muchnick. 1997. Advanced Compiler Design Implementation. Morgan Kaufmann."},{"key":"e_1_3_2_1_46_1","doi-asserted-by":"publisher","DOI":"10.1109\/SCAM.2017.19"},{"key":"e_1_3_2_1_47_1","volume-title":"2018 IEEE\/ACM 40th International Conference on Software Engineering: Companion (ICSE-Companion). 93\u201396","author":"Nagy C.","unstructured":"C. Nagy and A. Cleve . 2018. SQLInspect: A Static Analyzer to Inspect Database Usage in Java Applications . In 2018 IEEE\/ACM 40th International Conference on Software Engineering: Companion (ICSE-Companion). 93\u201396 . C. Nagy and A. Cleve. 2018. SQLInspect: A Static Analyzer to Inspect Database Usage in Java Applications. In 2018 IEEE\/ACM 40th International Conference on Software Engineering: Companion (ICSE-Companion). 93\u201396."},{"key":"e_1_3_2_1_48_1","doi-asserted-by":"publisher","DOI":"10.1109\/SANER.2015.7081881"},{"key":"e_1_3_2_1_49_1","doi-asserted-by":"publisher","DOI":"10.1145\/2810103.2813680"},{"key":"e_1_3_2_1_50_1","unstructured":"Stack Overflow. 2018. 2018 Survey of StackOverflow. https:\/\/insights.stackoverflow.com\/survey\/2018.  Stack Overflow. 2018. 2018 Survey of StackOverflow. https:\/\/insights.stackoverflow.com\/survey\/2018."},{"key":"e_1_3_2_1_51_1","doi-asserted-by":"crossref","unstructured":"Abhinav Pathak Abhilash Jindal Y Charlie Hu and Samuel P Midkiff. 2012. What is keeping my phone awake?: characterizing and detecting no-sleep energy bugs in smartphone apps. In MobiSys.  Abhinav Pathak Abhilash Jindal Y Charlie Hu and Samuel P Midkiff. 2012. What is keeping my phone awake?: characterizing and detecting no-sleep energy bugs in smartphone apps. In MobiSys.","DOI":"10.1145\/2307636.2307661"},{"key":"e_1_3_2_1_52_1","doi-asserted-by":"publisher","DOI":"10.1109\/MOBILESoft.2017.28"},{"key":"e_1_3_2_1_53_1","doi-asserted-by":"publisher","DOI":"10.14722\/ndss.2014.23039"},{"key":"e_1_3_2_1_54_1","doi-asserted-by":"publisher","DOI":"10.1145\/199448.199462"},{"key":"e_1_3_2_1_55_1","doi-asserted-by":"publisher","DOI":"10.1145\/3093333.3009891"},{"key":"e_1_3_2_1_56_1","doi-asserted-by":"publisher","DOI":"10.1145\/3183519.3183529"},{"key":"e_1_3_2_1_57_1","doi-asserted-by":"publisher","DOI":"10.1145\/2384616.2384688"},{"key":"e_1_3_2_1_58_1","unstructured":"Tobias. 2017. JSQLParser. https:\/\/github.com\/JSQLParser\/JSqlParser  Tobias. 2017. JSQLParser. https:\/\/github.com\/JSQLParser\/JSqlParser"},{"key":"e_1_3_2_1_59_1","doi-asserted-by":"publisher","DOI":"10.1145\/1134285.1134311"},{"key":"e_1_3_2_1_60_1","volume-title":"US Department of Commerce, Technology Administration","author":"Watson Arthur Henry","unstructured":"Arthur Henry Watson , Dolores R Wallace , and Thomas J McCabe . 1996. Structured testing: A testing methodology using the cyclomatic complexity metric. 500 , US Department of Commerce, Technology Administration , National Institute of \u2026. Arthur Henry Watson, Dolores R Wallace, and Thomas J McCabe. 1996. Structured testing: A testing methodology using the cyclomatic complexity metric. 500, US Department of Commerce, Technology Administration, National Institute of \u2026."},{"key":"e_1_3_2_1_61_1","doi-asserted-by":"publisher","DOI":"10.1145\/3132847.3132954"},{"key":"e_1_3_2_1_62_1","doi-asserted-by":"publisher","DOI":"10.1109\/ICSE.2019.00104"},{"key":"e_1_3_2_1_63_1","doi-asserted-by":"publisher","DOI":"10.5555\/3288647.3288710"},{"key":"e_1_3_2_1_64_1","doi-asserted-by":"publisher","DOI":"10.1109\/ICSE.2015.31"},{"key":"e_1_3_2_1_65_1","doi-asserted-by":"publisher","DOI":"10.1109\/ICIME.2010.5477581"},{"key":"e_1_3_2_1_66_1","doi-asserted-by":"publisher","DOI":"10.14722\/ndss.2014.23255"}],"event":{"name":"ISSTA '21: 30th ACM SIGSOFT International Symposium on Software Testing and Analysis","location":"Virtual Denmark","acronym":"ISSTA '21","sponsor":["SIGSOFT ACM Special Interest Group on Software Engineering"]},"container-title":["Proceedings of the 30th ACM SIGSOFT International Symposium on Software Testing and Analysis"],"original-title":[],"link":[{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3460319.3464818","content-type":"unspecified","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/dl.acm.org\/doi\/abs\/10.1145\/3460319.3464818","content-type":"text\/html","content-version":"vor","intended-application":"syndication"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3460319.3464818","content-type":"application\/pdf","content-version":"vor","intended-application":"syndication"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3460319.3464818","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,6,17]],"date-time":"2025-06-17T20:48:31Z","timestamp":1750193311000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3460319.3464818"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2021,7,11]]},"references-count":66,"alternative-id":["10.1145\/3460319.3464818","10.1145\/3460319"],"URL":"https:\/\/doi.org\/10.1145\/3460319.3464818","relation":{},"subject":[],"published":{"date-parts":[[2021,7,11]]},"assertion":[{"value":"2021-07-11","order":2,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}