{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2025,6,20]],"date-time":"2025-06-20T01:36:13Z","timestamp":1750383373896,"version":"3.41.0"},"reference-count":58,"publisher":"Association for Computing Machinery (ACM)","issue":"1","license":[{"start":{"date-parts":[[2023,1,31]],"date-time":"2023-01-31T00:00:00Z","timestamp":1675123200000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/www.acm.org\/publications\/policies\/copyright_policy#Background"}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["ACM Trans. Softw. Eng. Methodol."],"published-print":{"date-parts":[[2023,1,31]]},"abstract":"<jats:p>In the context of testing, descriptive test names are desirable because they document the purpose of tests and facilitate comprehension tasks during maintenance. Unfortunately, prior work has shown that tests often do not have descriptive names. To address this limitation, techniques have been developed to automatically generate descriptive names. However, they often generated names that are invalid or do not meet developer approval. To help address these limitations, we present a novel approach to extract the attributes of a given test that make it unique among its siblings. Because such attributes often serve as the basis for descriptive names, identifying them is an important first step towards improving test name generation approaches. To evaluate the approach, we created a prototype implementation for JUnit tests and compared its output with human judgment. The results of the evaluation demonstrate that the attributes identified by the approach are consistent with human judgment and are likely to be useful for future name generation techniques.<\/jats:p>","DOI":"10.1145\/3533313","type":"journal-article","created":{"date-parts":[[2022,5,24]],"date-time":"2022-05-24T07:10:54Z","timestamp":1653376254000},"page":"1-32","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":1,"title":["Automated Identification of Uniqueness in JUnit Tests"],"prefix":"10.1145","volume":"32","author":[{"ORCID":"https:\/\/orcid.org\/0000-0003-2035-4351","authenticated-orcid":false,"given":"Jianwei","family":"Wu","sequence":"first","affiliation":[{"name":"University of Delaware, Newark, DE"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-2728-3840","authenticated-orcid":false,"given":"James","family":"Clause","sequence":"additional","affiliation":[{"name":"University of Delaware, Newark, DE"}],"role":[{"role":"author","vocabulary":"crossref"}]}],"member":"320","published-online":{"date-parts":[[2023,2,13]]},"reference":[{"key":"e_1_3_1_2_2","first-page":"1","volume-title":"Proceedings of the ACM Symposium on Eye Tracking Research & Applications","author":"Abid Nahla J.","year":"2019","unstructured":"Nahla J. Abid, Jonathan I. Maletic, and Bonita Sharif. 2019a. Using developer eye movements to externalize the mental model used in code summarization tasks. In Proceedings of the ACM Symposium on Eye Tracking Research & Applications. ACM, Denver, Colorado,1\u20139."},{"key":"e_1_3_1_3_2","first-page":"384","volume-title":"Proceedings of the IEEE\/ACM 41st International Conference on Software Engineering","author":"Abid Nahla J.","year":"2019","unstructured":"Nahla J. Abid, Bonita Sharif, Natalia Dragan, Hend Alrasheed, and Jonathan I. Maletic. 2019b. Developer reading behavior while summarizing java methods: Size and context matters. In Proceedings of the IEEE\/ACM 41st International Conference on Software Engineering. IEEE, Montr\u00e9al, Canada, 384\u2013395."},{"key":"e_1_3_1_4_2","unstructured":"Alibaba. 2021. Sentinel: Throttling framework for distributed systems. Retrieved from https:\/\/developer.alibabacloud.com\/opensource\/project\/sentinel. Accessed: 2021-10-07."},{"key":"e_1_3_1_5_2","first-page":"38","volume-title":"Proceedings of the Joint Meeting on Foundations of Software Engineering","author":"Allamanis Miltiadis","year":"2015","unstructured":"Miltiadis Allamanis, Earl T. Barr, Christian Bird, and Charles Sutton. 2015. Suggesting accurate method and class names. In Proceedings of the Joint Meeting on Foundations of Software Engineering. ACM, Lombardy, Italy, 38\u201349."},{"key":"e_1_3_1_6_2","first-page":"2091","volume-title":"Proceedings of the International Conference on Machine Learning","author":"Allamanis Miltiadis","year":"2016","unstructured":"Miltiadis Allamanis, Hao Peng, and Charles Sutton. 2016. A convolutional attention network for extreme summarization of source code. In Proceedings of the International Conference on Machine Learning. PMLR, New York, NY,2091\u20132100."},{"key":"e_1_3_1_7_2","doi-asserted-by":"crossref","unstructured":"Uri Alon Shaked Brody Omer Levy and Eran Yahav. 2019. Code2seq: Generating Sequences from Structured Representations of Code. In Proceedings of the International Conference on Learning Representations . ICLR New Orleans Louisiana United States. https:\/\/openreview.net\/forum?id=H1gKYo09tX","DOI":"10.1145\/3290353"},{"key":"e_1_3_1_8_2","first-page":"40:1\u201340:29","article-title":"code2vec: Learning distributed representations of code","volume":"3","author":"Alon Uri","year":"2019","unstructured":"Uri Alon, Meital Zilberstein, Omer Levy, and Eran Yahav. 2019. code2vec: Learning distributed representations of code. Proceedings of the ACM on Programming Languages 3, POPL (2019), 40:1\u201340:29.","journal-title":"Proceedings of the ACM on Programming Languages"},{"key":"e_1_3_1_9_2","first-page":"3","volume-title":"Proceedings of the International Symposium on Search Based Software Engineering","author":"Arcuri Andrea","year":"2016","unstructured":"Andrea Arcuri and Gordon Fraser. 2016. Java enterprise edition support in search-based junit test generation. In Proceedings of the International Symposium on Search Based Software Engineering. Springer, Raleigh, North Carolina,3\u201317."},{"key":"e_1_3_1_10_2","doi-asserted-by":"publisher","DOI":"10.1109\/TSE.2014.2312942"},{"key":"e_1_3_1_11_2","doi-asserted-by":"crossref","first-page":"28","DOI":"10.1007\/978-3-642-38317-5_2","volume-title":"Proceedings of the International Conference on Formal Concept Analysis","author":"Atif Jamal","year":"2013","unstructured":"Jamal Atif, Isabelle Bloch, Felix Distel, and C\u00e9line Hudelot. 2013. Mathematical morphology operators over concept lattices. In Proceedings of the International Conference on Formal Concept Analysis. Springer, Dresden, Germany, 28\u201343."},{"key":"e_1_3_1_12_2","doi-asserted-by":"publisher","DOI":"10.1145\/3216723.3216727"},{"key":"e_1_3_1_13_2","first-page":"31","volume-title":"Proceedings of the Working Conference on Reverse Engineering","author":"Butler Simon","year":"2009","unstructured":"Simon Butler, Michel Wermelinger, Yijun Yu, and Helen Sharp. 2009. Relating identifier naming flaws and code quality: An empirical study. In Proceedings of the Working Conference on Reverse Engineering. IEEE, Lille, France, 31\u201335."},{"key":"e_1_3_1_14_2","first-page":"156","volume-title":"Proceedings of the European Conference on Software Maintenance and Reengineering","author":"Butler Simon","year":"2010","unstructured":"Simon Butler, Michel Wermelinger, Yijun Yu, and Helen Sharp. 2010. Exploring the influence of identifier names on code quality: An empirical study. In Proceedings of the European Conference on Software Maintenance and Reengineering. IEEE, Madrid, Spain, 156\u2013165."},{"key":"e_1_3_1_15_2","doi-asserted-by":"crossref","first-page":"273","DOI":"10.1007\/978-3-540-78137-0_20","volume-title":"Proceedings of the International Conference on Formal Concept Analysis","author":"Cellier Peggy","year":"2008","unstructured":"Peggy Cellier, Mireille Ducass\u00e9, S\u00e9bastien Ferr\u00e9, and Olivier Ridoux. 2008. Formal concept analysis enhances fault localization in software. In Proceedings of the International Conference on Formal Concept Analysis. Springer, Montr\u00e9al, Canada, 273\u2013288."},{"key":"e_1_3_1_16_2","doi-asserted-by":"publisher","DOI":"10.1145\/3092703.3092727"},{"key":"e_1_3_1_17_2","first-page":"71","volume-title":"Proceedings of the International Working Conference on Mining Software Repositories","author":"Enslen Eric","year":"2009","unstructured":"Eric Enslen, Emily Hill, Lori Pollock, and K. Vijay-Shanker. 2009. Mining source code to automatically split identifiers for software analysis. In Proceedings of the International Working Conference on Mining Software Repositories. IEEE, IEEE, Vancouver, Canada, 71\u201380."},{"key":"e_1_3_1_18_2","doi-asserted-by":"publisher","DOI":"10.1145\/2025113.2025179"},{"key":"e_1_3_1_19_2","unstructured":"Erich Gamma and Kent Beck. 1999. JUnit: A cook\u2019s tour. Java Report 4 5 (1999) 27\u201338."},{"key":"e_1_3_1_20_2","volume-title":"Formal Concept Analysis: Mathematical Foundations","author":"Ganter Bernhard","year":"2012","unstructured":"Bernhard Ganter and Rudolf Wille. 2012. Formal Concept Analysis: Mathematical Foundations. Springer Science & Business Media, TU Dresden."},{"key":"e_1_3_1_21_2","first-page":"61","volume-title":"Proceedings of the International Working Conference on Source Code Analysis and Manipulation","author":"Ghafari Mohammad","year":"2015","unstructured":"Mohammad Ghafari, Carlo Ghezzi, and Konstantin Rubinov. 2015. Automatically identifying focal methods under test in unit test cases. In Proceedings of the International Working Conference on Source Code Analysis and Manipulation. IEEE, Bremen, Germany, 61\u201370."},{"issue":"4","key":"e_1_3_1_22_2","first-page":"1","article-title":"The discovery of grounded theory. 1967","volume":"17","author":"Glaser Barney","year":"1967","unstructured":"Barney Glaser and Anselm Strauss. 1967. The discovery of grounded theory. 1967. Weidenfield & Nicolson, London 17, 4 (1967), 1\u201319.","journal-title":"Weidenfield & Nicolson, London"},{"key":"e_1_3_1_23_2","doi-asserted-by":"publisher","DOI":"10.1109\/MS.2008.109"},{"key":"e_1_3_1_24_2","doi-asserted-by":"publisher","DOI":"10.5555\/2137739.2137758"},{"key":"e_1_3_1_25_2","doi-asserted-by":"publisher","DOI":"10.5555\/2137739.2137757"},{"key":"e_1_3_1_26_2","first-page":"294","volume-title":"Proceedings of the European Conference on Object-oriented Programming","author":"H\u00f8st Einar W.","year":"2009","unstructured":"Einar W. H\u00f8st and Bjarte M. \u00d8stvold. 2009. Debugging method names. In Proceedings of the European Conference on Object-oriented Programming. Springer, Genoa, Italy, 294\u2013317."},{"key":"e_1_3_1_27_2","doi-asserted-by":"publisher","DOI":"10.1007\/s10270-019-00759-4"},{"key":"e_1_3_1_28_2","unstructured":"IssueHunt. 2019. 50 Top Java Projects on GitHub. Retrieved from https:\/\/medium.com\/issuehunt\/50-top-java-projects-on-github-adbfe9f67dbc. Accessed: 2019-06-24."},{"key":"e_1_3_1_29_2","doi-asserted-by":"publisher","DOI":"10.18653\/v1\/P16-1195"},{"key":"e_1_3_1_30_2","unstructured":"Jianwei Wu James Clause. 2021. Implementation of Approach. Retrieved from https:\/\/bitbucket.org\/udse\/concept-analysis-plugin\/src\/master\/. Accessed: 2021-11-06."},{"key":"e_1_3_1_31_2","unstructured":"Jianwei Wu James Clause. 2022. Supplemental documents. Retrieved from https:\/\/zenodo.org\/record\/6416043#.Ykysp27MJK0. Accessed: 2022-04-05."},{"key":"e_1_3_1_32_2","doi-asserted-by":"publisher","DOI":"10.1109\/ICPC.2006.51"},{"issue":"35","key":"e_1_3_1_33_2","first-page":"291","article-title":"An introduction to machine learning","volume":"1","author":"Lison Pierre","year":"2015","unstructured":"Pierre Lison. 2015. An introduction to machine learning. Language Technology Group (LTG) 1, 35 (2015), 291.","journal-title":"Language Technology Group (LTG)"},{"key":"e_1_3_1_34_2","doi-asserted-by":"publisher","DOI":"10.1075\/nlp.3"},{"key":"e_1_3_1_35_2","doi-asserted-by":"publisher","DOI":"10.1016\/j.cl.2004.11.004"},{"key":"e_1_3_1_36_2","first-page":"1","volume-title":"Proceedings of the Cocomo ii Forum","author":"Nguyen Vu","year":"2007","unstructured":"Vu Nguyen, Sophia Deeds-Rubin, Thomas Tan, and Barry Boehm. 2007. A SLOC counting standard. In Proceedings of the Cocomo ii Forum. Citeseer, Los Angeles, CA,1\u201316."},{"key":"e_1_3_1_37_2","doi-asserted-by":"publisher","DOI":"10.1145\/3145904"},{"key":"e_1_3_1_38_2","unstructured":"Oracle. 2020. Chapter 8. Classes. Retrieved from https:\/\/docs.oracle.com\/javase\/specs\/jls\/se14\/html\/jls-8.html#jls-8.4.7. Accessed: 2020-09-10."},{"key":"e_1_3_1_39_2","doi-asserted-by":"publisher","DOI":"10.1016\/S0164-1212(00)00036-4"},{"key":"e_1_3_1_40_2","doi-asserted-by":"publisher","DOI":"10.1109\/TSE.2015.2442238"},{"key":"e_1_3_1_41_2","first-page":"1","volume-title":"Proceedings of the ACM\/IEEE International Symposium on Empirical Software Engineering and Measurement","author":"Rodeghero Paige","year":"2015","unstructured":"Paige Rodeghero and Collin McMillan. 2015. An empirical study on the patterns of eye movement during summarization tasks. In Proceedings of the ACM\/IEEE International Symposium on Empirical Software Engineering and Measurement. IEEE, Beijing, China, 1\u201310."},{"key":"e_1_3_1_42_2","first-page":"277","volume-title":"Proceedings of the Sigplan Notices","volume":"43","author":"Sch\u00e4fer Max","year":"2008","unstructured":"Max Sch\u00e4fer, Torbj\u00f6rn Ekman, and Oege De Moor. 2008. Sound and extensible renaming for Java. In Proceedings of the Sigplan Notices, Vol. 43. ACM, Nashville, TN,277\u2013294."},{"key":"e_1_3_1_43_2","first-page":"201","volume-title":"Proceedings of the International Conference on Automated Software Engineering","author":"Shamshiri Sina","year":"2015","unstructured":"Sina Shamshiri, Rene Just, Jose Miguel Rojas, Gordon Fraser, Phil McMinn, and Andrea Arcuri. 2015. Do automatically generated unit tests find real faults? An empirical study of effectiveness and challenges. In Proceedings of the International Conference on Automated Software Engineering. IEEE, Lincoln, NE,201\u2013211."},{"key":"e_1_3_1_44_2","doi-asserted-by":"crossref","first-page":"845","DOI":"10.1007\/978-81-322-1771-8_73","volume-title":"Proceedings of the 3rd International Conference on Soft Computing for Problem Solving","author":"Singh Prem Kumar","year":"2014","unstructured":"Prem Kumar Singh and Aswani Kumar Ch. 2014. A note on constructing fuzzy homomorphism map for a given fuzzy formal context. In Proceedings of the 3rd International Conference on Soft Computing for Problem Solving. Springer, IIT Roorkee, India, 845\u2013855."},{"key":"e_1_3_1_45_2","doi-asserted-by":"publisher","DOI":"10.1145\/1858996.1859006"},{"key":"e_1_3_1_46_2","volume-title":"Basics of Qualitative Research Techniques","author":"Strauss Anselm","year":"1998","unstructured":"Anselm Strauss and Juliet Corbin. 1998. Basics of Qualitative Research Techniques. Sage publications, Thousand Oaks, CA."},{"issue":"3","key":"e_1_3_1_47_2","first-page":"143","article-title":"The effects of comments and identifier names on program comprehensibility: An experimental investigation","volume":"4","author":"Takang Armstrong A.","year":"1996","unstructured":"Armstrong A. Takang, Penny A. Grubb, and Robert D. Macredie. 1996. The effects of comments and identifier names on program comprehensibility: An experimental investigation. J. Prog. Lang. 4, 3 (1996), 143\u2013167.","journal-title":"J. Prog. Lang."},{"key":"e_1_3_1_48_2","first-page":"407","volume-title":"Proceedings of the IEEE\/ACM International Conference on Automated Software Engineering","author":"Taneja Kunal","year":"2008","unstructured":"Kunal Taneja and Tao Xie. 2008. DiffGen: Automated regression unit-test generation. In Proceedings of the IEEE\/ACM International Conference on Automated Software Engineering. IEEE, L\u2019Aquila, Italy, 407\u2013410."},{"key":"e_1_3_1_49_2","first-page":"193","volume-title":"Proceedings of the Joint Meeting of the European Software Engineering Conference and the SIGSOFT Symposium on the Foundations of Software Engineering","author":"Thummalapenta Suresh","year":"2009","unstructured":"Suresh Thummalapenta, Tao Xie, Nikolai Tillmann, Jonathan De Halleux, and Wolfram Schulte. 2009. MSeqGen: Object-oriented unit-test generation via mining source code. In Proceedings of the Joint Meeting of the European Software Engineering Conference and the SIGSOFT Symposium on the Foundations of Software Engineering. ACM, Amsterdam, Netherlands, 193\u2013202."},{"key":"e_1_3_1_50_2","doi-asserted-by":"publisher","DOI":"10.5555\/2137739.2137755"},{"key":"e_1_3_1_51_2","doi-asserted-by":"publisher","DOI":"10.1109\/tse.2003.1205178"},{"key":"e_1_3_1_52_2","doi-asserted-by":"crossref","first-page":"743","DOI":"10.1109\/ICSE.2004.1317515","volume-title":"Proceedings of the International Conference on Software Engineering","author":"Tonella Paolo","year":"2004","unstructured":"Paolo Tonella. 2004. Formal concept analysis in software engineering. In Proceedings of the International Conference on Software Engineering. IEEE, Edinburgh, UK, 743\u2013744."},{"key":"e_1_3_1_53_2","first-page":"1","volume-title":"Proceedings of the Formal Methods and Testing","author":"Tretmans Jan","year":"2008","unstructured":"Jan Tretmans. 2008. Model based testing with labelled transition systems. In Proceedings of the Formal Methods and Testing. Springer, UK, 1\u201338."},{"key":"e_1_3_1_54_2","doi-asserted-by":"publisher","DOI":"10.1016\/j.jss.2020.110639"},{"key":"e_1_3_1_55_2","doi-asserted-by":"crossref","first-page":"59","DOI":"10.1007\/978-3-540-25929-9_6","volume-title":"Proceedings of the International Conference on Rough Sets and Current Trends in Computing","author":"Yao Yiyu","year":"2004","unstructured":"Yiyu Yao. 2004. A comparative study of formal concept analysis and rough set theory in data analysis. In Proceedings of the International Conference on Rough Sets and Current Trends in Computing. Springer, Uppsala, Sweden, 59\u201368."},{"key":"e_1_3_1_56_2","first-page":"506","volume-title":"Proceedings of the IEEE\/ACM International Conference on Automated Software Engineering","author":"Zhang Benwen","year":"2015","unstructured":"Benwen Zhang, Emily Hill, and James Clause. 2015. Automatically generating test templates from test names. In Proceedings of the IEEE\/ACM International Conference on Automated Software Engineering. IEEE, Lincoln, NE, 506\u2013511."},{"key":"e_1_3_1_57_2","first-page":"625","volume-title":"Proceedings of the International Conference on Automated Software Engineering","author":"Zhang Benwen","year":"2016","unstructured":"Benwen Zhang, Emily Hill, and James Clause. 2016. Towards automatically generating descriptive names for unit tests. In Proceedings of the International Conference on Automated Software Engineering. ACM, Singapore, Singapore, 625\u2013636."},{"key":"e_1_3_1_58_2","first-page":"385","volume-title":"Proceedings of the International Symposium on Software Testing and Analysis","author":"Zhang Sai","year":"2014","unstructured":"Sai Zhang, Darioush Jalali, Jochen Wuttke, K\u0131van\u00e7 Mu\u015flu, Wing Lam, Michael D. Ernst, and David Notkin. 2014. Empirically revisiting the test independence assumption. In Proceedings of the International Symposium on Software Testing and Analysis. ACM, San Jose, CA,385\u2013396."},{"key":"e_1_3_1_59_2","doi-asserted-by":"publisher","DOI":"10.1016\/j.jss.2019.07.087"}],"container-title":["ACM Transactions on Software Engineering and Methodology"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3533313","content-type":"unspecified","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3533313","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,6,17]],"date-time":"2025-06-17T19:00:17Z","timestamp":1750186817000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3533313"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2023,1,31]]},"references-count":58,"journal-issue":{"issue":"1","published-print":{"date-parts":[[2023,1,31]]}},"alternative-id":["10.1145\/3533313"],"URL":"https:\/\/doi.org\/10.1145\/3533313","relation":{},"ISSN":["1049-331X","1557-7392"],"issn-type":[{"type":"print","value":"1049-331X"},{"type":"electronic","value":"1557-7392"}],"subject":[],"published":{"date-parts":[[2023,1,31]]},"assertion":[{"value":"2021-03-16","order":0,"name":"received","label":"Received","group":{"name":"publication_history","label":"Publication History"}},{"value":"2022-04-22","order":1,"name":"accepted","label":"Accepted","group":{"name":"publication_history","label":"Publication History"}},{"value":"2023-02-13","order":2,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}