{"id":"https://openalex.org/W4323065189","doi":"https://doi.org/10.1109/tse.2023.3252442","title":"Automatically Tagging the \u201cAAA\u201d Pattern in Unit Test Cases Using Machine Learning Models","display_name":"Automatically Tagging the \u201cAAA\u201d Pattern in Unit Test Cases Using Machine Learning Models","publication_year":2023,"publication_date":"2023-03-03","ids":{"openalex":"https://openalex.org/W4323065189","doi":"https://doi.org/10.1109/tse.2023.3252442"},"language":"en","primary_location":{"id":"doi:10.1109/tse.2023.3252442","is_oa":false,"landing_page_url":"https://doi.org/10.1109/tse.2023.3252442","pdf_url":null,"source":{"id":"https://openalex.org/S8351582","display_name":"IEEE Transactions on Software Engineering","issn_l":"0098-5589","issn":["0098-5589","1939-3520","2326-3881"],"is_oa":false,"is_in_doaj":false,"is_core":true,"host_organization":"https://openalex.org/P4310320439","host_organization_name":"IEEE Computer Society","host_organization_lineage":["https://openalex.org/P4310320439","https://openalex.org/P4310319808"],"host_organization_lineage_names":["IEEE Computer Society","Institute of Electrical and Electronics Engineers"],"type":"journal"},"license":null,"license_id":null,"version":"publishedVersion","is_accepted":true,"is_published":true,"raw_source_name":"IEEE Transactions on Software Engineering","raw_type":"journal-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/A5033109788","display_name":"Chenhao Wei","orcid":"https://orcid.org/0000-0002-2707-120X"},"institutions":[{"id":"https://openalex.org/I108468826","display_name":"Stevens Institute of Technology","ror":"https://ror.org/02z43xh36","country_code":"US","type":"education","lineage":["https://openalex.org/I108468826"]}],"countries":["US"],"is_corresponding":true,"raw_author_name":"Chenhao Wei","raw_affiliation_strings":["School of Systems and Enterprises, Stevens Institute of Technology, Hoboken, NJ, USA"],"raw_orcid":"https://orcid.org/0000-0002-2707-120X","affiliations":[{"raw_affiliation_string":"School of Systems and Enterprises, Stevens Institute of Technology, Hoboken, NJ, USA","institution_ids":["https://openalex.org/I108468826"]}]},{"author_position":"middle","author":{"id":"https://openalex.org/A5000773809","display_name":"Lu Xiao","orcid":"https://orcid.org/0000-0002-3202-3077"},"institutions":[{"id":"https://openalex.org/I108468826","display_name":"Stevens Institute of Technology","ror":"https://ror.org/02z43xh36","country_code":"US","type":"education","lineage":["https://openalex.org/I108468826"]}],"countries":["US"],"is_corresponding":false,"raw_author_name":"Lu Xiao","raw_affiliation_strings":["School of Systems and Enterprises, Stevens Institute of Technology, Hoboken, NJ, USA"],"raw_orcid":"https://orcid.org/0000-0002-3202-3077","affiliations":[{"raw_affiliation_string":"School of Systems and Enterprises, Stevens Institute of Technology, Hoboken, NJ, USA","institution_ids":["https://openalex.org/I108468826"]}]},{"author_position":"middle","author":{"id":"https://openalex.org/A5072070511","display_name":"Tingting Yu","orcid":"https://orcid.org/0000-0002-9461-4251"},"institutions":[{"id":"https://openalex.org/I63135867","display_name":"University of Cincinnati","ror":"https://ror.org/01e3m7079","country_code":"US","type":"education","lineage":["https://openalex.org/I63135867"]}],"countries":["US"],"is_corresponding":false,"raw_author_name":"Tingting Yu","raw_affiliation_strings":["Department of EECS, University of Cincinnati, Cincinnati, OH, USA"],"raw_orcid":"https://orcid.org/0000-0002-9461-4251","affiliations":[{"raw_affiliation_string":"Department of EECS, University of Cincinnati, Cincinnati, OH, USA","institution_ids":["https://openalex.org/I63135867"]}]},{"author_position":"middle","author":{"id":null,"display_name":"Xinyu Chen","orcid":"https://orcid.org/0009-0007-6229-3602"},"institutions":[],"countries":[],"is_corresponding":false,"raw_author_name":"Xinyu Chen","raw_affiliation_strings":["HSBC Software Development (Guangdong) Limited, Guangzhou, Guangdong Province, China"],"raw_orcid":"https://orcid.org/0009-0007-6229-3602","affiliations":[{"raw_affiliation_string":"HSBC Software Development (Guangdong) Limited, Guangzhou, Guangdong Province, China","institution_ids":[]}]},{"author_position":"middle","author":{"id":"https://openalex.org/A5078461457","display_name":"Xiao Wang","orcid":"https://orcid.org/0000-0001-7766-441X"},"institutions":[{"id":"https://openalex.org/I108468826","display_name":"Stevens Institute of Technology","ror":"https://ror.org/02z43xh36","country_code":"US","type":"education","lineage":["https://openalex.org/I108468826"]}],"countries":["US"],"is_corresponding":false,"raw_author_name":"Xiao Wang","raw_affiliation_strings":["School of Systems and Enterprises, Stevens Institute of Technology, Hoboken, NJ, USA"],"raw_orcid":"https://orcid.org/0000-0001-7766-441X","affiliations":[{"raw_affiliation_string":"School of Systems and Enterprises, Stevens Institute of Technology, Hoboken, NJ, USA","institution_ids":["https://openalex.org/I108468826"]}]},{"author_position":"middle","author":{"id":"https://openalex.org/A5101630133","display_name":"Sunny Wong","orcid":"https://orcid.org/0000-0002-1508-7095"},"institutions":[],"countries":[],"is_corresponding":false,"raw_author_name":"Sunny Wong","raw_affiliation_strings":["Envestnet, Inc., Berwyn, PA, USA"],"raw_orcid":"https://orcid.org/0000-0002-1508-7095","affiliations":[{"raw_affiliation_string":"Envestnet, Inc., Berwyn, PA, USA","institution_ids":[]}]},{"author_position":"last","author":{"id":"https://openalex.org/A5011120227","display_name":"Abigail Clune","orcid":null},"institutions":[{"id":"https://openalex.org/I21160419","display_name":"Ansys (United States)","ror":"https://ror.org/05cf5b117","country_code":"US","type":"company","lineage":["https://openalex.org/I21160419"]}],"countries":["US"],"is_corresponding":false,"raw_author_name":"Abigail Clune","raw_affiliation_strings":["AGI, Ansys Company, Exton, PA, USA"],"raw_orcid":null,"affiliations":[{"raw_affiliation_string":"AGI, Ansys Company, Exton, PA, USA","institution_ids":["https://openalex.org/I21160419"]}]}],"institutions":[],"countries_distinct_count":1,"institutions_distinct_count":7,"corresponding_author_ids":["https://openalex.org/A5033109788"],"corresponding_institution_ids":["https://openalex.org/I108468826"],"apc_list":null,"apc_paid":null,"fwci":1.3453,"has_fulltext":false,"cited_by_count":3,"citation_normalized_percentile":{"value":0.83502457,"is_in_top_1_percent":false,"is_in_top_10_percent":false},"cited_by_percentile_year":{"min":90,"max":96},"biblio":{"volume":"49","issue":"5","first_page":"3305","last_page":"3324"},"is_retracted":false,"is_paratext":false,"is_xpac":false,"primary_topic":{"id":"https://openalex.org/T10260","display_name":"Software Engineering Research","score":0.9998999834060669,"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"}},"topics":[{"id":"https://openalex.org/T10260","display_name":"Software Engineering Research","score":0.9998999834060669,"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/T10743","display_name":"Software Testing and Debugging Techniques","score":0.9994000196456909,"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/T12423","display_name":"Software Reliability and Analysis Research","score":0.9965000152587891,"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"}}],"keywords":[{"id":"https://openalex.org/keywords/computer-science","display_name":"Computer science","score":0.7211047410964966},{"id":"https://openalex.org/keywords/artificial-intelligence","display_name":"Artificial intelligence","score":0.5977910757064819},{"id":"https://openalex.org/keywords/context","display_name":"Context (archaeology)","score":0.4961932301521301},{"id":"https://openalex.org/keywords/syntax","display_name":"Syntax","score":0.46841660141944885},{"id":"https://openalex.org/keywords/test","display_name":"Test (biology)","score":0.449482798576355},{"id":"https://openalex.org/keywords/natural-language-processing","display_name":"Natural language processing","score":0.4290623068809509},{"id":"https://openalex.org/keywords/information-retrieval","display_name":"Information retrieval","score":0.390455424785614},{"id":"https://openalex.org/keywords/programming-language","display_name":"Programming language","score":0.3800044059753418},{"id":"https://openalex.org/keywords/machine-learning","display_name":"Machine learning","score":0.33771294355392456}],"concepts":[{"id":"https://openalex.org/C41008148","wikidata":"https://www.wikidata.org/wiki/Q21198","display_name":"Computer science","level":0,"score":0.7211047410964966},{"id":"https://openalex.org/C154945302","wikidata":"https://www.wikidata.org/wiki/Q11660","display_name":"Artificial intelligence","level":1,"score":0.5977910757064819},{"id":"https://openalex.org/C2779343474","wikidata":"https://www.wikidata.org/wiki/Q3109175","display_name":"Context (archaeology)","level":2,"score":0.4961932301521301},{"id":"https://openalex.org/C60048249","wikidata":"https://www.wikidata.org/wiki/Q37437","display_name":"Syntax","level":2,"score":0.46841660141944885},{"id":"https://openalex.org/C2777267654","wikidata":"https://www.wikidata.org/wiki/Q3519023","display_name":"Test (biology)","level":2,"score":0.449482798576355},{"id":"https://openalex.org/C204321447","wikidata":"https://www.wikidata.org/wiki/Q30642","display_name":"Natural language processing","level":1,"score":0.4290623068809509},{"id":"https://openalex.org/C23123220","wikidata":"https://www.wikidata.org/wiki/Q816826","display_name":"Information retrieval","level":1,"score":0.390455424785614},{"id":"https://openalex.org/C199360897","wikidata":"https://www.wikidata.org/wiki/Q9143","display_name":"Programming language","level":1,"score":0.3800044059753418},{"id":"https://openalex.org/C119857082","wikidata":"https://www.wikidata.org/wiki/Q2539","display_name":"Machine learning","level":1,"score":0.33771294355392456},{"id":"https://openalex.org/C151730666","wikidata":"https://www.wikidata.org/wiki/Q7205","display_name":"Paleontology","level":1,"score":0.0},{"id":"https://openalex.org/C86803240","wikidata":"https://www.wikidata.org/wiki/Q420","display_name":"Biology","level":0,"score":0.0}],"mesh":[],"locations_count":1,"locations":[{"id":"doi:10.1109/tse.2023.3252442","is_oa":false,"landing_page_url":"https://doi.org/10.1109/tse.2023.3252442","pdf_url":null,"source":{"id":"https://openalex.org/S8351582","display_name":"IEEE Transactions on Software Engineering","issn_l":"0098-5589","issn":["0098-5589","1939-3520","2326-3881"],"is_oa":false,"is_in_doaj":false,"is_core":true,"host_organization":"https://openalex.org/P4310320439","host_organization_name":"IEEE Computer Society","host_organization_lineage":["https://openalex.org/P4310320439","https://openalex.org/P4310319808"],"host_organization_lineage_names":["IEEE Computer Society","Institute of Electrical and Electronics Engineers"],"type":"journal"},"license":null,"license_id":null,"version":"publishedVersion","is_accepted":true,"is_published":true,"raw_source_name":"IEEE Transactions on Software Engineering","raw_type":"journal-article"}],"best_oa_location":null,"sustainable_development_goals":[],"awards":[{"id":"https://openalex.org/G5408289385","display_name":null,"funder_award_id":"CCF-1909085","funder_id":"https://openalex.org/F4320335353","funder_display_name":"National Science Foundation of Sri Lanka"},{"id":"https://openalex.org/G6269010078","display_name":null,"funder_award_id":"CCF-1909763","funder_id":"https://openalex.org/F4320335353","funder_display_name":"National Science Foundation of Sri Lanka"}],"funders":[{"id":"https://openalex.org/F4320335353","display_name":"National Science Foundation of Sri Lanka","ror":"https://ror.org/010xaa060"}],"has_content":{"grobid_xml":false,"pdf":false},"content_urls":null,"referenced_works_count":86,"referenced_works":["https://openalex.org/W1541128807","https://openalex.org/W1567017503","https://openalex.org/W1599004321","https://openalex.org/W1604953524","https://openalex.org/W1614298861","https://openalex.org/W1623006543","https://openalex.org/W1736726159","https://openalex.org/W1916584426","https://openalex.org/W1964940342","https://openalex.org/W1964962870","https://openalex.org/W1965658570","https://openalex.org/W1988510359","https://openalex.org/W2003148182","https://openalex.org/W2010981136","https://openalex.org/W2018704474","https://openalex.org/W2023511777","https://openalex.org/W2027095886","https://openalex.org/W2028897749","https://openalex.org/W2056952837","https://openalex.org/W2057312371","https://openalex.org/W2070411409","https://openalex.org/W2077303393","https://openalex.org/W2091680554","https://openalex.org/W2099919734","https://openalex.org/W2100945416","https://openalex.org/W2106686451","https://openalex.org/W2111517663","https://openalex.org/W2127833339","https://openalex.org/W2143797720","https://openalex.org/W2144211451","https://openalex.org/W2148143831","https://openalex.org/W2148568787","https://openalex.org/W2154897437","https://openalex.org/W2155632266","https://openalex.org/W2158744032","https://openalex.org/W2158864412","https://openalex.org/W2165022036","https://openalex.org/W2180748755","https://openalex.org/W2251166296","https://openalex.org/W2251491951","https://openalex.org/W2295598076","https://openalex.org/W2508117657","https://openalex.org/W2604881091","https://openalex.org/W2620994026","https://openalex.org/W2767981550","https://openalex.org/W2769614055","https://openalex.org/W2770290320","https://openalex.org/W2791812915","https://openalex.org/W2808595449","https://openalex.org/W2884229567","https://openalex.org/W2886589485","https://openalex.org/W2891736869","https://openalex.org/W2892809998","https://openalex.org/W2897824921","https://openalex.org/W2900961173","https://openalex.org/W2912899164","https://openalex.org/W2920376357","https://openalex.org/W2951099895","https://openalex.org/W2968919339","https://openalex.org/W2974603634","https://openalex.org/W2976801044","https://openalex.org/W2997945246","https://openalex.org/W3017201198","https://openalex.org/W3047659624","https://openalex.org/W3097082872","https://openalex.org/W3164684695","https://openalex.org/W3186629732","https://openalex.org/W3201942531","https://openalex.org/W3215182545","https://openalex.org/W4213102919","https://openalex.org/W4236137412","https://openalex.org/W4245239680","https://openalex.org/W4294170691","https://openalex.org/W4294214983","https://openalex.org/W4297747360","https://openalex.org/W4301003819","https://openalex.org/W6636166248","https://openalex.org/W6636510571","https://openalex.org/W6636749155","https://openalex.org/W6674712254","https://openalex.org/W6682691769","https://openalex.org/W6684316721","https://openalex.org/W6739097378","https://openalex.org/W6753778646","https://openalex.org/W6772349474","https://openalex.org/W6783413383"],"related_works":["https://openalex.org/W4388713123","https://openalex.org/W3194438104","https://openalex.org/W2570592793","https://openalex.org/W2753140600","https://openalex.org/W2354135050","https://openalex.org/W1979017339","https://openalex.org/W4237266227","https://openalex.org/W2372239957","https://openalex.org/W3206149139","https://openalex.org/W4317460504"],"abstract_inverted_index":{"The":[0,33,105,225],"<italic":[1,6,34,54,72,147,234,238,243],"xmlns:mml=\"http://www.w3.org/1998/Math/MathML\"":[2,7,35,55,73,148,235,239,244],"xmlns:xlink=\"http://www.w3.org/1999/xlink\">AAA</i>":[3,36,56,74,149],"pattern":[4,23,150],"(i.e.,":[5],"xmlns:xlink=\"http://www.w3.org/1999/xlink\">Arrange-Act-Assert</i>":[8],")":[9],"is":[10,61,111,230],"a":[11,18,112,152,248],"common":[12],"and":[13,31,84,91,125,160,213,242,253,276],"natural":[14],"layout":[15],"to":[16,48,232,256,285],"create":[17],"test":[19,25,40,59,78,129,153,169],"case.":[20,154],"Following":[21],"this":[22,109],"in":[24,58,76,128,186],"cases":[26,60,79],"may":[27,43,143],"benefit":[28,81],"comprehension,":[29],"debugging,":[30],"maintenance.":[32],"structure":[37],"of":[38,108,114,151,163,193,200,208,216,251,269],"real-life":[39],"cases,":[41,130,170],"however,":[42],"not":[44],"be":[45],"clear":[46],"due":[47],"their":[49],"high":[50],"complexity.":[51],"Manually":[52],"labeling":[53,71],"statements":[57,75,246],"tedious.":[62],"Thus,":[63,137],"we":[64,189],"envision":[65],"that":[66,86,118],"an":[67,97],"automated":[68],"approach":[69,99,110,139,165,229],"for":[70,220],"existing":[77],"could":[80,280],"new":[82],"developers":[83,142],"projects":[85],"practice":[87],"collective":[88],"code":[89],"ownership":[90],"test-driven":[92],"development.":[93],"This":[94],"paper":[95],"contributes":[96],"automatic":[98],"based":[100,120,166,263],"on":[101,121,167,264],"machine":[102,195,270],"learning":[103,116,196,211,271],"models.":[104],"\u201csecret":[106],"sauce\u201d":[107],"set":[113],"three":[115,210],"features":[117],"are":[119],"the":[122,133,146,157,183,191,198,201,206,209,214,222,267],"semantic,":[123],"syntax,":[124],"context":[126],"information":[127],"derived":[131],"from":[132],"manual":[134],"tagging":[135],"process.":[136],"our":[138,164,187,228,265],"mimics":[140],"how":[141],"manually":[144],"tag":[145],"We":[155,258],"assess":[156],"precision,":[158],"recall,":[159],"F-1":[161],"score":[162],"449":[168],"containing":[171],"about":[172],"16,612":[173],"statements,":[174],"across":[175],"4":[176],"Apache":[177],"open":[178],"source":[179],"projects.":[180],"To":[181],"achieve":[182],"best":[184],"performance":[185],"approach,":[188],"explore":[190],"usage":[192],"six":[194],"models;":[197],"contribution":[199],"SMOTE":[202],"data":[203,273],"balancing":[204,274],"technique;":[205],"comparison":[207,215],"features;":[212],"five":[217],"different":[218],"methods":[219],"calculating":[221],"semantic":[223],"feature.":[224],"results":[226],"show":[227],"able":[231],"identify":[233],"xmlns:xlink=\"http://www.w3.org/1999/xlink\">Arrangement</i>":[236],",":[237,241],"xmlns:xlink=\"http://www.w3.org/1999/xlink\">Action</i>":[240],"xmlns:xlink=\"http://www.w3.org/1999/xlink\">Assertion</i>":[245],"with":[247],"precision":[249],"upwards":[250],"92%,":[252],"recall":[254],"up":[255],"74%.":[257],"also":[259],"summarize":[260],"some":[261,283],"experience":[262],"experiments\u2014regarding":[266],"choice":[268],"models,":[272],"algorithm,":[275],"feature":[277],"engineering":[278],"methods\u2014which":[279],"potentially":[281],"provide":[282],"reference":[284],"related":[286],"future":[287],"research.":[288]},"counts_by_year":[{"year":2025,"cited_by_count":2},{"year":2024,"cited_by_count":1}],"updated_date":"2026-03-27T05:58:40.876381","created_date":"2025-10-10T00:00:00"}
