{"id":"https://openalex.org/W4399668074","doi":"https://doi.org/10.1145/3661167.3661216","title":"Using Large Language Models to Generate JUnit Tests: An Empirical Study","display_name":"Using Large Language Models to Generate JUnit Tests: An Empirical Study","publication_year":2024,"publication_date":"2024-06-14","ids":{"openalex":"https://openalex.org/W4399668074","doi":"https://doi.org/10.1145/3661167.3661216"},"language":"en","primary_location":{"id":"doi:10.1145/3661167.3661216","is_oa":false,"landing_page_url":"https://doi.org/10.1145/3661167.3661216","pdf_url":null,"source":null,"license":null,"license_id":null,"version":"publishedVersion","is_accepted":true,"is_published":true,"raw_source_name":"Proceedings of the 28th International Conference on Evaluation and Assessment in Software Engineering","raw_type":"proceedings-article"},"type":"article","indexed_in":["crossref"],"open_access":{"is_oa":false,"oa_status":"closed","oa_url":null,"any_repository_has_fulltext":false},"authorships":[{"author_position":"first","author":{"id":"https://openalex.org/A5083926745","display_name":"Mohammed Latif Siddiq","orcid":"https://orcid.org/0000-0002-7984-3611"},"institutions":[{"id":"https://openalex.org/I107639228","display_name":"University of Notre Dame","ror":"https://ror.org/00mkhxb43","country_code":"US","type":"education","lineage":["https://openalex.org/I107639228"]}],"countries":["US"],"is_corresponding":true,"raw_author_name":"Mohammed Latif Siddiq","raw_affiliation_strings":["Computer Science and Engineering, University of Notre Dame, USA"],"affiliations":[{"raw_affiliation_string":"Computer Science and Engineering, University of Notre Dame, USA","institution_ids":["https://openalex.org/I107639228"]}]},{"author_position":"middle","author":{"id":"https://openalex.org/A5043541139","display_name":"Joanna C. S. Santos","orcid":"https://orcid.org/0000-0001-8743-2516"},"institutions":[{"id":"https://openalex.org/I107639228","display_name":"University of Notre Dame","ror":"https://ror.org/00mkhxb43","country_code":"US","type":"education","lineage":["https://openalex.org/I107639228"]}],"countries":["US"],"is_corresponding":false,"raw_author_name":"Joanna Cecilia Da Silva Santos","raw_affiliation_strings":["Computer Science and Engineering, University of Notre Dame, USA"],"affiliations":[{"raw_affiliation_string":"Computer Science and Engineering, University of Notre Dame, USA","institution_ids":["https://openalex.org/I107639228"]}]},{"author_position":"middle","author":{"id":"https://openalex.org/A5024810782","display_name":"Ridwanul Hasan Tanvir","orcid":"https://orcid.org/0009-0002-1931-1469"},"institutions":[{"id":"https://openalex.org/I130769515","display_name":"Pennsylvania State University","ror":"https://ror.org/04p491231","country_code":"US","type":"education","lineage":["https://openalex.org/I130769515"]}],"countries":["US"],"is_corresponding":false,"raw_author_name":"Ridwanul Hasan Tanvir","raw_affiliation_strings":["Computer Science and Engineering, Pennsylvania State University, USA"],"affiliations":[{"raw_affiliation_string":"Computer Science and Engineering, Pennsylvania State University, USA","institution_ids":["https://openalex.org/I130769515"]}]},{"author_position":"middle","author":{"id":"https://openalex.org/A5015177586","display_name":"Noshin Ulfat","orcid":"https://orcid.org/0000-0003-3883-4433"},"institutions":[],"countries":[],"is_corresponding":false,"raw_author_name":"Noshin Ulfat","raw_affiliation_strings":["IQVIA Inc., Bangladesh"],"affiliations":[{"raw_affiliation_string":"IQVIA Inc., Bangladesh","institution_ids":[]}]},{"author_position":"middle","author":{"id":"https://openalex.org/A5080746666","display_name":"Fahmid Al Rifat","orcid":"https://orcid.org/0009-0005-3531-2375"},"institutions":[{"id":"https://openalex.org/I63169043","display_name":"United International University","ror":"https://ror.org/01tqv1p28","country_code":"BD","type":"education","lineage":["https://openalex.org/I63169043"]}],"countries":["BD"],"is_corresponding":false,"raw_author_name":"Fahmid Al Rifat","raw_affiliation_strings":["Computer Science and Engineering, United International University, Bangladesh"],"affiliations":[{"raw_affiliation_string":"Computer Science and Engineering, United International University, Bangladesh","institution_ids":["https://openalex.org/I63169043"]}]},{"author_position":"last","author":{"id":"https://openalex.org/A5026347831","display_name":"Vin\u00edcius Carvalho Lopes","orcid":"https://orcid.org/0000-0002-7980-8488"},"institutions":[{"id":"https://openalex.org/I107639228","display_name":"University of Notre Dame","ror":"https://ror.org/00mkhxb43","country_code":"US","type":"education","lineage":["https://openalex.org/I107639228"]}],"countries":["US"],"is_corresponding":false,"raw_author_name":"Vin\u00edcius Carvalho Lopes","raw_affiliation_strings":["Computer Science and Engineering, University of Notre Dame, USA"],"affiliations":[{"raw_affiliation_string":"Computer Science and Engineering, University of Notre Dame, USA","institution_ids":["https://openalex.org/I107639228"]}]}],"institutions":[],"countries_distinct_count":2,"institutions_distinct_count":6,"corresponding_author_ids":["https://openalex.org/A5083926745"],"corresponding_institution_ids":["https://openalex.org/I107639228"],"apc_list":null,"apc_paid":null,"fwci":29.1318,"has_fulltext":false,"cited_by_count":61,"citation_normalized_percentile":{"value":0.99694856,"is_in_top_1_percent":true,"is_in_top_10_percent":true},"cited_by_percentile_year":{"min":94,"max":100},"biblio":{"volume":null,"issue":null,"first_page":"313","last_page":"322"},"is_retracted":false,"is_paratext":false,"is_xpac":false,"primary_topic":{"id":"https://openalex.org/T10743","display_name":"Software Testing and Debugging Techniques","score":0.9991000294685364,"subfield":{"id":"https://openalex.org/subfields/1712","display_name":"Software"},"field":{"id":"https://openalex.org/fields/17","display_name":"Computer Science"},"domain":{"id":"https://openalex.org/domains/3","display_name":"Physical Sciences"}},"topics":[{"id":"https://openalex.org/T10743","display_name":"Software Testing and Debugging Techniques","score":0.9991000294685364,"subfield":{"id":"https://openalex.org/subfields/1712","display_name":"Software"},"field":{"id":"https://openalex.org/fields/17","display_name":"Computer Science"},"domain":{"id":"https://openalex.org/domains/3","display_name":"Physical Sciences"}},{"id":"https://openalex.org/T10260","display_name":"Software Engineering Research","score":0.9908000230789185,"subfield":{"id":"https://openalex.org/subfields/1710","display_name":"Information Systems"},"field":{"id":"https://openalex.org/fields/17","display_name":"Computer Science"},"domain":{"id":"https://openalex.org/domains/3","display_name":"Physical Sciences"}},{"id":"https://openalex.org/T10181","display_name":"Natural Language Processing Techniques","score":0.9828000068664551,"subfield":{"id":"https://openalex.org/subfields/1702","display_name":"Artificial Intelligence"},"field":{"id":"https://openalex.org/fields/17","display_name":"Computer Science"},"domain":{"id":"https://openalex.org/domains/3","display_name":"Physical Sciences"}}],"keywords":[{"id":"https://openalex.org/keywords/computer-science","display_name":"Computer science","score":0.7341591715812683},{"id":"https://openalex.org/keywords/programming-language","display_name":"Programming language","score":0.5040634870529175},{"id":"https://openalex.org/keywords/empirical-research","display_name":"Empirical research","score":0.45809656381607056},{"id":"https://openalex.org/keywords/statistics","display_name":"Statistics","score":0.07225188612937927},{"id":"https://openalex.org/keywords/mathematics","display_name":"Mathematics","score":0.06910598278045654}],"concepts":[{"id":"https://openalex.org/C41008148","wikidata":"https://www.wikidata.org/wiki/Q21198","display_name":"Computer science","level":0,"score":0.7341591715812683},{"id":"https://openalex.org/C199360897","wikidata":"https://www.wikidata.org/wiki/Q9143","display_name":"Programming language","level":1,"score":0.5040634870529175},{"id":"https://openalex.org/C120936955","wikidata":"https://www.wikidata.org/wiki/Q2155640","display_name":"Empirical research","level":2,"score":0.45809656381607056},{"id":"https://openalex.org/C105795698","wikidata":"https://www.wikidata.org/wiki/Q12483","display_name":"Statistics","level":1,"score":0.07225188612937927},{"id":"https://openalex.org/C33923547","wikidata":"https://www.wikidata.org/wiki/Q395","display_name":"Mathematics","level":0,"score":0.06910598278045654}],"mesh":[],"locations_count":1,"locations":[{"id":"doi:10.1145/3661167.3661216","is_oa":false,"landing_page_url":"https://doi.org/10.1145/3661167.3661216","pdf_url":null,"source":null,"license":null,"license_id":null,"version":"publishedVersion","is_accepted":true,"is_published":true,"raw_source_name":"Proceedings of the 28th International Conference on Evaluation and Assessment in Software Engineering","raw_type":"proceedings-article"}],"best_oa_location":null,"sustainable_development_goals":[{"display_name":"Quality Education","id":"https://metadata.un.org/sdg/4","score":0.6800000071525574}],"awards":[],"funders":[],"has_content":{"grobid_xml":false,"pdf":false},"content_urls":null,"referenced_works_count":25,"referenced_works":["https://openalex.org/W1538216099","https://openalex.org/W1964730672","https://openalex.org/W1987971958","https://openalex.org/W2014309790","https://openalex.org/W2056514427","https://openalex.org/W2133414060","https://openalex.org/W2146511370","https://openalex.org/W2147002252","https://openalex.org/W2150593711","https://openalex.org/W2294635146","https://openalex.org/W2395052532","https://openalex.org/W2623752963","https://openalex.org/W2888078871","https://openalex.org/W2963935794","https://openalex.org/W2969467935","https://openalex.org/W3198685994","https://openalex.org/W3210416950","https://openalex.org/W4236387090","https://openalex.org/W4307479317","https://openalex.org/W4312994886","https://openalex.org/W4366204357","https://openalex.org/W4382653968","https://openalex.org/W4384302749","https://openalex.org/W6778883912","https://openalex.org/W6811020836"],"related_works":["https://openalex.org/W4391375266","https://openalex.org/W2748952813","https://openalex.org/W2390279801","https://openalex.org/W2358668433","https://openalex.org/W4396701345","https://openalex.org/W2376932109","https://openalex.org/W2001405890","https://openalex.org/W4396696052","https://openalex.org/W4402327032","https://openalex.org/W2382290278"],"abstract_inverted_index":{"A":[0],"code":[1,5,12,22],"generation":[2,23,46,88,93],"model":[3,115,126],"generates":[4],"by":[6],"taking":[7],"a":[8,11,17,50],"prompt":[9],"from":[10,142],"comment,":[13],"existing":[14],"code,":[15],"or":[16],"combination":[18],"of":[19,86],"both.":[20],"Although":[21],"models":[24,65,98],"(e.g.,":[25],"GitHub":[26],"Copilot)":[27],"are":[28],"increasingly":[29],"being":[30],"adopted":[31],"in":[32],"practice,":[33],"it":[34],"is":[35],"unclear":[36],"whether":[37],"they":[38],"can":[39,70],"successfully":[40],"be":[41],"used":[42,75],"for":[43,49,120,132],"unit":[44,72,91],"test":[45,92,103,105,108,143],"without":[47],"fine-tuning":[48],"strongly":[51],"typed":[52],"language":[53],"like":[54],"Java.":[55],"To":[56],"fill":[57],"this":[58],"gap,":[59],"we":[60],"investigated":[61],"how":[62],"well":[63],"three":[64],"(Codex,":[66],"GPT-3.5-Turbo,":[67],"and":[68,79,107,149],"StarCoder)":[69],"generate":[71],"tests.":[73],"We":[74,95,110],"two":[76],"benchmarks":[77],"(HumanEval":[78],"Evosuite":[80],"SF110)":[81],"to":[82],"investigate":[83],"the":[84,90,97,113,121,133],"effect":[85],"context":[87],"on":[89,100],"process.":[94],"evaluated":[96],"based":[99],"compilation":[101],"rates,":[102],"correctness,":[104],"coverage,":[106],"smells.":[109],"found":[111],"that":[112],"Codex":[114],"achieved":[116],"above":[117],"80%":[118],"coverage":[119,131],"HumanEval":[122],"dataset,":[123],"but":[124],"no":[125],"had":[127],"more":[128],"than":[129],"2%":[130],"EvoSuite":[134],"SF110":[135],"benchmark.":[136],"The":[137],"generated":[138],"tests":[139],"also":[140],"suffered":[141],"smells,":[144],"such":[145],"as":[146],"Duplicated":[147],"Asserts":[148],"Empty":[150],"Tests.":[151]},"counts_by_year":[{"year":2026,"cited_by_count":1},{"year":2025,"cited_by_count":42},{"year":2024,"cited_by_count":16},{"year":2023,"cited_by_count":2}],"updated_date":"2026-02-25T23:00:34.991745","created_date":"2025-10-10T00:00:00"}
