{"id":"https://openalex.org/W4391766365","doi":"https://doi.org/10.48550/arxiv.2402.06013","title":"How to Refactor this Code? An Exploratory Study on Developer-ChatGPT\n Refactoring Conversations","display_name":"How to Refactor this Code? An Exploratory Study on Developer-ChatGPT\n Refactoring Conversations","publication_year":2024,"publication_date":"2024-02-08","ids":{"openalex":"https://openalex.org/W4391766365","doi":"https://doi.org/10.48550/arxiv.2402.06013"},"language":"en","primary_location":{"is_oa":true,"landing_page_url":"https://arxiv.org/abs/2402.06013","pdf_url":"https://arxiv.org/pdf/2402.06013","source":{"id":"https://openalex.org/S4306400194","display_name":"arXiv (Cornell University)","issn_l":null,"issn":null,"is_oa":true,"is_in_doaj":false,"is_core":false,"host_organization":"https://openalex.org/I205783295","host_organization_name":"Cornell University","host_organization_lineage":["https://openalex.org/I205783295"],"host_organization_lineage_names":["Cornell University"],"type":"repository"},"license":null,"license_id":null,"version":"submittedVersion","is_accepted":false,"is_published":false},"type":"preprint","type_crossref":"posted-content","indexed_in":["arxiv"],"open_access":{"is_oa":true,"oa_status":"green","oa_url":"https://arxiv.org/pdf/2402.06013","any_repository_has_fulltext":true},"authorships":[{"author_position":"first","author":{"id":"https://openalex.org/A5084727991","display_name":"Eman Abdullah AlOmar","orcid":"https://orcid.org/0000-0003-1800-9268"},"institutions":[],"countries":[],"is_corresponding":false,"raw_author_name":"AlOmar, Eman Abdullah","raw_affiliation_strings":[],"affiliations":[]},{"author_position":"middle","author":{"id":"https://openalex.org/A5093917257","display_name":"Anushkrishna Venkatakrishnan","orcid":"https://orcid.org/0009-0003-5370-6285"},"institutions":[],"countries":[],"is_corresponding":false,"raw_author_name":"Venkatakrishnan, Anushkrishna","raw_affiliation_strings":[],"affiliations":[]},{"author_position":"middle","author":{"id":"https://openalex.org/A5067869262","display_name":"Mohamed Wiem Mkaouer","orcid":"https://orcid.org/0000-0001-6010-7561"},"institutions":[],"countries":[],"is_corresponding":false,"raw_author_name":"Mkaouer, Mohamed Wiem","raw_affiliation_strings":[],"affiliations":[]},{"author_position":"middle","author":{"id":"https://openalex.org/A5025493324","display_name":"Christian D. Newman","orcid":"https://orcid.org/0000-0002-8838-4074"},"institutions":[],"countries":[],"is_corresponding":false,"raw_author_name":"Newman, Christian D.","raw_affiliation_strings":[],"affiliations":[]},{"author_position":"last","author":{"id":"https://openalex.org/A5090942200","display_name":"Ali Ouni","orcid":"https://orcid.org/0000-0003-4708-0362"},"institutions":[],"countries":[],"is_corresponding":false,"raw_author_name":"Ouni, Ali","raw_affiliation_strings":[],"affiliations":[]}],"institution_assertions":[],"countries_distinct_count":0,"institutions_distinct_count":0,"corresponding_author_ids":[],"corresponding_institution_ids":[],"apc_list":null,"apc_paid":null,"fwci":null,"has_fulltext":false,"cited_by_count":0,"citation_normalized_percentile":{"value":0.997795,"is_in_top_1_percent":true,"is_in_top_10_percent":true},"cited_by_percentile_year":{"min":0,"max":84},"biblio":{"volume":null,"issue":null,"first_page":null,"last_page":null},"is_retracted":false,"is_paratext":false,"primary_topic":{"id":"https://openalex.org/T11636","display_name":"Artificial Intelligence in Healthcare and Education","score":0.9876,"subfield":{"id":"https://openalex.org/subfields/2718","display_name":"Health Informatics"},"field":{"id":"https://openalex.org/fields/27","display_name":"Medicine"},"domain":{"id":"https://openalex.org/domains/4","display_name":"Health Sciences"}},"topics":[{"id":"https://openalex.org/T11636","display_name":"Artificial Intelligence in Healthcare and Education","score":0.9876,"subfield":{"id":"https://openalex.org/subfields/2718","display_name":"Health Informatics"},"field":{"id":"https://openalex.org/fields/27","display_name":"Medicine"},"domain":{"id":"https://openalex.org/domains/4","display_name":"Health Sciences"}},{"id":"https://openalex.org/T12128","display_name":"AI in Service Interactions","score":0.9802,"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"}},{"id":"https://openalex.org/T11122","display_name":"Online Learning and Analytics","score":0.974,"subfield":{"id":"https://openalex.org/subfields/1706","display_name":"Computer Science Applications"},"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/code-refactoring","display_name":"Code refactoring","score":0.9939709},{"id":"https://openalex.org/keywords/code","display_name":"Code (set theory)","score":0.6049351},{"id":"https://openalex.org/keywords/exploratory-research","display_name":"Exploratory research","score":0.53617674},{"id":"https://openalex.org/keywords/chatbots","display_name":"Chatbots","score":0.504404}],"concepts":[{"id":"https://openalex.org/C152752567","wikidata":"https://www.wikidata.org/wiki/Q116877","display_name":"Code refactoring","level":3,"score":0.9939709},{"id":"https://openalex.org/C2776760102","wikidata":"https://www.wikidata.org/wiki/Q5139990","display_name":"Code (set theory)","level":3,"score":0.6049351},{"id":"https://openalex.org/C41008148","wikidata":"https://www.wikidata.org/wiki/Q21198","display_name":"Computer science","level":0,"score":0.5474416},{"id":"https://openalex.org/C85973986","wikidata":"https://www.wikidata.org/wiki/Q1091731","display_name":"Exploratory research","level":2,"score":0.53617674},{"id":"https://openalex.org/C199360897","wikidata":"https://www.wikidata.org/wiki/Q9143","display_name":"Programming language","level":1,"score":0.505476},{"id":"https://openalex.org/C115903868","wikidata":"https://www.wikidata.org/wiki/Q80993","display_name":"Software engineering","level":1,"score":0.35036495},{"id":"https://openalex.org/C144024400","wikidata":"https://www.wikidata.org/wiki/Q21201","display_name":"Sociology","level":0,"score":0.2699048},{"id":"https://openalex.org/C2777904410","wikidata":"https://www.wikidata.org/wiki/Q7397","display_name":"Software","level":2,"score":0.10116938},{"id":"https://openalex.org/C177264268","wikidata":"https://www.wikidata.org/wiki/Q1514741","display_name":"Set (abstract data type)","level":2,"score":0.0},{"id":"https://openalex.org/C19165224","wikidata":"https://www.wikidata.org/wiki/Q23404","display_name":"Anthropology","level":1,"score":0.0}],"mesh":[],"locations_count":1,"locations":[{"is_oa":true,"landing_page_url":"https://arxiv.org/abs/2402.06013","pdf_url":"https://arxiv.org/pdf/2402.06013","source":{"id":"https://openalex.org/S4306400194","display_name":"arXiv (Cornell University)","issn_l":null,"issn":null,"is_oa":true,"is_in_doaj":false,"is_core":false,"host_organization":"https://openalex.org/I205783295","host_organization_name":"Cornell University","host_organization_lineage":["https://openalex.org/I205783295"],"host_organization_lineage_names":["Cornell University"],"type":"repository"},"license":null,"license_id":null,"version":"submittedVersion","is_accepted":false,"is_published":false}],"best_oa_location":{"is_oa":true,"landing_page_url":"https://arxiv.org/abs/2402.06013","pdf_url":"https://arxiv.org/pdf/2402.06013","source":{"id":"https://openalex.org/S4306400194","display_name":"arXiv (Cornell University)","issn_l":null,"issn":null,"is_oa":true,"is_in_doaj":false,"is_core":false,"host_organization":"https://openalex.org/I205783295","host_organization_name":"Cornell University","host_organization_lineage":["https://openalex.org/I205783295"],"host_organization_lineage_names":["Cornell University"],"type":"repository"},"license":null,"license_id":null,"version":"submittedVersion","is_accepted":false,"is_published":false},"sustainable_development_goals":[],"grants":[],"datasets":[],"versions":[],"referenced_works_count":0,"referenced_works":[],"related_works":["https://openalex.org/W4313549863","https://openalex.org/W4312761314","https://openalex.org/W4296534969","https://openalex.org/W4231266416","https://openalex.org/W3194667890","https://openalex.org/W3176957927","https://openalex.org/W3161551626","https://openalex.org/W2395465245","https://openalex.org/W2096877983","https://openalex.org/W2072205733"],"abstract_inverted_index":{"Large":[0],"Language":[1],"Models":[2],"(LLMs),":[3],"like":[4],"ChatGPT,":[5],"have":[6],"gained":[7],"widespread":[8],"popularity":[9],"and":[10,22,36,64,80,98,100,116,133,161,177],"usage":[11],"in":[12,32,78,141,164,180],"various":[13,135],"software":[14,181],"engineering":[15],"tasks,":[16],"including":[17],"refactoring,":[18,169],"testing,":[19],"code":[20,37,79,168],"review,":[21,38],"program":[23],"comprehension.":[24],"Despite":[25],"recent":[26],"studies":[27],"delving":[28],"into":[29],"refactoring":[30,47,68,104,124,131],"documentation":[31],"commit":[33],"messages,":[34],"issues,":[35],"little":[39],"is":[40,58],"known":[41],"about":[42],"how":[43,72,81],"developers":[44,63,73,120,160],"articulate":[45],"their":[46],"needs":[48],"when":[49,138],"interacting":[50],"with":[51,170],"ChatGPT.":[52],"In":[53],"this":[54],"paper,":[55],"our":[56,149],"goal":[57],"to":[59,67,69,152],"explore":[60],"conversations":[61,93,112],"between":[62,159],"ChatGPT":[65,82,96,127,140],"related":[66],"better":[70],"understand":[71],"identify":[74],"areas":[75],"for":[76,172],"improvement":[77],"addresses":[83],"developers'":[84,102],"needs.":[85],"Our":[86,106],"approach":[87],"relies":[88],"on":[89],"text":[90],"mining":[91],"refactoring-related":[92],"from":[94],"17,913":[95],"prompts":[97],"responses,":[99],"investigating":[101],"explicit":[103],"intention.":[105],"results":[107],"reveal":[108],"that":[109,148],"(1)":[110],"developer-ChatGPT":[111],"commonly":[113],"involve":[114],"generic":[115,123],"specific":[117],"terms/phrases;":[118],"(2)":[119],"often":[121],"make":[122],"requests,":[125],"while":[126],"typically":[128],"includes":[129],"the":[130,142,157,165],"intention;":[132],"(3)":[134],"learning":[136],"settings":[137],"prompting":[139],"context":[143,166],"of":[144,156,167],"refactoring.":[145],"We":[146],"envision":[147],"findings":[150],"contribute":[151],"a":[153],"broader":[154],"understanding":[155],"collaboration":[158],"AI":[162],"models,":[163],"implications":[171],"model":[173],"improvement,":[174],"tool":[175],"development,":[176],"best":[178],"practices":[179],"engineering.":[182]},"cited_by_api_url":"https://api.openalex.org/works?filter=cites:W4391766365","counts_by_year":[],"updated_date":"2024-12-05T08:32:31.047902","created_date":"2024-02-13"}