{"id":"https://openalex.org/W4320490961","doi":"https://doi.org/10.1145/3582570","title":"A Comparative Study on Method Comment and Inline Comment","display_name":"A Comparative Study on Method Comment and Inline Comment","publication_year":2023,"publication_date":"2023-02-13","ids":{"openalex":"https://openalex.org/W4320490961","doi":"https://doi.org/10.1145/3582570"},"language":"en","primary_location":{"id":"doi:10.1145/3582570","is_oa":true,"landing_page_url":"https://doi.org/10.1145/3582570","pdf_url":"https://dl.acm.org/doi/pdf/10.1145/3582570","source":{"id":"https://openalex.org/S142627899","display_name":"ACM Transactions on Software Engineering and Methodology","issn_l":"1049-331X","issn":["1049-331X","1557-7392"],"is_oa":false,"is_in_doaj":false,"is_core":true,"host_organization":"https://openalex.org/P4310319798","host_organization_name":"Association for Computing Machinery","host_organization_lineage":["https://openalex.org/P4310319798"],"host_organization_lineage_names":["Association for Computing Machinery"],"type":"journal"},"license":"cc-by-nc","license_id":"https://openalex.org/licenses/cc-by-nc","version":"publishedVersion","is_accepted":true,"is_published":true,"raw_source_name":"ACM Transactions on Software Engineering and Methodology","raw_type":"journal-article"},"type":"article","indexed_in":["crossref"],"open_access":{"is_oa":true,"oa_status":"hybrid","oa_url":"https://dl.acm.org/doi/pdf/10.1145/3582570","any_repository_has_fulltext":false},"authorships":[{"author_position":"first","author":{"id":"https://openalex.org/A5101812436","display_name":"Yuan Huang","orcid":"https://orcid.org/0000-0002-9548-0208"},"institutions":[{"id":"https://openalex.org/I157773358","display_name":"Sun Yat-sen University","ror":"https://ror.org/0064kty71","country_code":"CN","type":"education","lineage":["https://openalex.org/I157773358"]}],"countries":["CN"],"is_corresponding":false,"raw_author_name":"Yuan Huang","raw_affiliation_strings":["School of Software Engineering, Sun Yat-sen University"],"raw_orcid":"https://orcid.org/0000-0002-9548-0208","affiliations":[{"raw_affiliation_string":"School of Software Engineering, Sun Yat-sen University","institution_ids":["https://openalex.org/I157773358"]}]},{"author_position":"middle","author":{"id":"https://openalex.org/A5050963307","display_name":"Hanyang Guo","orcid":"https://orcid.org/0000-0002-5687-2655"},"institutions":[{"id":"https://openalex.org/I157773358","display_name":"Sun Yat-sen University","ror":"https://ror.org/0064kty71","country_code":"CN","type":"education","lineage":["https://openalex.org/I157773358"]}],"countries":["CN"],"is_corresponding":false,"raw_author_name":"Hanyang Guo","raw_affiliation_strings":["School of Software Engineering, Sun Yat-sen University"],"raw_orcid":"https://orcid.org/0000-0002-5687-2655","affiliations":[{"raw_affiliation_string":"School of Software Engineering, Sun Yat-sen University","institution_ids":["https://openalex.org/I157773358"]}]},{"author_position":"middle","author":{"id":"https://openalex.org/A5081809399","display_name":"Xi Ding","orcid":"https://orcid.org/0000-0002-3409-9382"},"institutions":[{"id":"https://openalex.org/I157773358","display_name":"Sun Yat-sen University","ror":"https://ror.org/0064kty71","country_code":"CN","type":"education","lineage":["https://openalex.org/I157773358"]}],"countries":["CN"],"is_corresponding":false,"raw_author_name":"Xi Ding","raw_affiliation_strings":["School of Computer Science and Engineering, Sun Yat-sen University"],"raw_orcid":"https://orcid.org/0000-0002-3409-9382","affiliations":[{"raw_affiliation_string":"School of Computer Science and Engineering, Sun Yat-sen University","institution_ids":["https://openalex.org/I157773358"]}]},{"author_position":"middle","author":{"id":"https://openalex.org/A5009413353","display_name":"Junhuai Shu","orcid":"https://orcid.org/0000-0001-5940-7719"},"institutions":[{"id":"https://openalex.org/I157773358","display_name":"Sun Yat-sen University","ror":"https://ror.org/0064kty71","country_code":"CN","type":"education","lineage":["https://openalex.org/I157773358"]}],"countries":["CN"],"is_corresponding":false,"raw_author_name":"Junhuai Shu","raw_affiliation_strings":["School of Computer Science and Engineering, Sun Yat-sen University"],"raw_orcid":"https://orcid.org/0000-0001-5940-7719","affiliations":[{"raw_affiliation_string":"School of Computer Science and Engineering, Sun Yat-sen University","institution_ids":["https://openalex.org/I157773358"]}]},{"author_position":"middle","author":{"id":"https://openalex.org/A5101601497","display_name":"Xiangping Chen","orcid":"https://orcid.org/0000-0001-8234-3186"},"institutions":[{"id":"https://openalex.org/I157773358","display_name":"Sun Yat-sen University","ror":"https://ror.org/0064kty71","country_code":"CN","type":"education","lineage":["https://openalex.org/I157773358"]}],"countries":["CN"],"is_corresponding":false,"raw_author_name":"Xiangping Chen","raw_affiliation_strings":["Guangdong Key Laboratory for Big Data Analysis and Simulation of Public Opinion, School of Communication and Design, Sun Yat-sen University"],"raw_orcid":"https://orcid.org/0000-0001-8234-3186","affiliations":[{"raw_affiliation_string":"Guangdong Key Laboratory for Big Data Analysis and Simulation of Public Opinion, School of Communication and Design, Sun Yat-sen University","institution_ids":["https://openalex.org/I157773358"]}]},{"author_position":"middle","author":{"id":"https://openalex.org/A5100400376","display_name":"Xiapu Luo","orcid":"https://orcid.org/0000-0002-9082-3208"},"institutions":[{"id":"https://openalex.org/I14243506","display_name":"Hong Kong Polytechnic University","ror":"https://ror.org/0030zas98","country_code":"HK","type":"education","lineage":["https://openalex.org/I14243506"]}],"countries":["HK"],"is_corresponding":false,"raw_author_name":"Xiapu Luo","raw_affiliation_strings":["Department of Computing, The Hong Kong Polytechnic University"],"raw_orcid":"https://orcid.org/0000-0002-9082-3208","affiliations":[{"raw_affiliation_string":"Department of Computing, The Hong Kong Polytechnic University","institution_ids":["https://openalex.org/I14243506"]}]},{"author_position":"middle","author":{"id":"https://openalex.org/A5000582109","display_name":"Zibin Zheng","orcid":"https://orcid.org/0000-0002-7878-4330"},"institutions":[{"id":"https://openalex.org/I157773358","display_name":"Sun Yat-sen University","ror":"https://ror.org/0064kty71","country_code":"CN","type":"education","lineage":["https://openalex.org/I157773358"]}],"countries":["CN"],"is_corresponding":false,"raw_author_name":"Zibin Zheng","raw_affiliation_strings":["School of Software Engineering, Sun Yat-sen University"],"raw_orcid":"https://orcid.org/0000-0002-7878-4330","affiliations":[{"raw_affiliation_string":"School of Software Engineering, Sun Yat-sen University","institution_ids":["https://openalex.org/I157773358"]}]},{"author_position":"last","author":{"id":"https://openalex.org/A5023904026","display_name":"Xiaocong Zhou","orcid":"https://orcid.org/0000-0003-3756-3483"},"institutions":[{"id":"https://openalex.org/I157773358","display_name":"Sun Yat-sen University","ror":"https://ror.org/0064kty71","country_code":"CN","type":"education","lineage":["https://openalex.org/I157773358"]}],"countries":["CN"],"is_corresponding":false,"raw_author_name":"Xiaocong Zhou","raw_affiliation_strings":["School of Computer Science and Engineering, Sun Yat-sen University"],"raw_orcid":"https://orcid.org/0000-0003-3756-3483","affiliations":[{"raw_affiliation_string":"School of Computer Science and Engineering, Sun Yat-sen University","institution_ids":["https://openalex.org/I157773358"]}]}],"institutions":[],"countries_distinct_count":2,"institutions_distinct_count":8,"corresponding_author_ids":[],"corresponding_institution_ids":[],"apc_list":null,"apc_paid":null,"fwci":8.627,"has_fulltext":true,"cited_by_count":20,"citation_normalized_percentile":{"value":0.97614299,"is_in_top_1_percent":false,"is_in_top_10_percent":true},"cited_by_percentile_year":{"min":95,"max":99},"biblio":{"volume":"32","issue":"5","first_page":"1","last_page":"26"},"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.9782000184059143,"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.9656999707221985,"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.8646508455276489},{"id":"https://openalex.org/keywords/code","display_name":"Code (set theory)","score":0.4945671260356903},{"id":"https://openalex.org/keywords/source-code","display_name":"Source code","score":0.4813316762447357},{"id":"https://openalex.org/keywords/task","display_name":"Task (project management)","score":0.44260379672050476},{"id":"https://openalex.org/keywords/header","display_name":"Header","score":0.4349307119846344},{"id":"https://openalex.org/keywords/artificial-intelligence","display_name":"Artificial intelligence","score":0.39598923921585083},{"id":"https://openalex.org/keywords/data-science","display_name":"Data science","score":0.36849159002304077},{"id":"https://openalex.org/keywords/programming-language","display_name":"Programming language","score":0.1830754280090332}],"concepts":[{"id":"https://openalex.org/C41008148","wikidata":"https://www.wikidata.org/wiki/Q21198","display_name":"Computer science","level":0,"score":0.8646508455276489},{"id":"https://openalex.org/C2776760102","wikidata":"https://www.wikidata.org/wiki/Q5139990","display_name":"Code (set theory)","level":3,"score":0.4945671260356903},{"id":"https://openalex.org/C43126263","wikidata":"https://www.wikidata.org/wiki/Q128751","display_name":"Source code","level":2,"score":0.4813316762447357},{"id":"https://openalex.org/C2780451532","wikidata":"https://www.wikidata.org/wiki/Q759676","display_name":"Task (project management)","level":2,"score":0.44260379672050476},{"id":"https://openalex.org/C48105269","wikidata":"https://www.wikidata.org/wiki/Q1141160","display_name":"Header","level":2,"score":0.4349307119846344},{"id":"https://openalex.org/C154945302","wikidata":"https://www.wikidata.org/wiki/Q11660","display_name":"Artificial intelligence","level":1,"score":0.39598923921585083},{"id":"https://openalex.org/C2522767166","wikidata":"https://www.wikidata.org/wiki/Q2374463","display_name":"Data science","level":1,"score":0.36849159002304077},{"id":"https://openalex.org/C199360897","wikidata":"https://www.wikidata.org/wiki/Q9143","display_name":"Programming language","level":1,"score":0.1830754280090332},{"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/C187736073","wikidata":"https://www.wikidata.org/wiki/Q2920921","display_name":"Management","level":1,"score":0.0},{"id":"https://openalex.org/C162324750","wikidata":"https://www.wikidata.org/wiki/Q8134","display_name":"Economics","level":0,"score":0.0},{"id":"https://openalex.org/C31258907","wikidata":"https://www.wikidata.org/wiki/Q1301371","display_name":"Computer network","level":1,"score":0.0}],"mesh":[],"locations_count":1,"locations":[{"id":"doi:10.1145/3582570","is_oa":true,"landing_page_url":"https://doi.org/10.1145/3582570","pdf_url":"https://dl.acm.org/doi/pdf/10.1145/3582570","source":{"id":"https://openalex.org/S142627899","display_name":"ACM Transactions on Software Engineering and Methodology","issn_l":"1049-331X","issn":["1049-331X","1557-7392"],"is_oa":false,"is_in_doaj":false,"is_core":true,"host_organization":"https://openalex.org/P4310319798","host_organization_name":"Association for Computing Machinery","host_organization_lineage":["https://openalex.org/P4310319798"],"host_organization_lineage_names":["Association for Computing Machinery"],"type":"journal"},"license":"cc-by-nc","license_id":"https://openalex.org/licenses/cc-by-nc","version":"publishedVersion","is_accepted":true,"is_published":true,"raw_source_name":"ACM Transactions on Software Engineering and Methodology","raw_type":"journal-article"}],"best_oa_location":{"id":"doi:10.1145/3582570","is_oa":true,"landing_page_url":"https://doi.org/10.1145/3582570","pdf_url":"https://dl.acm.org/doi/pdf/10.1145/3582570","source":{"id":"https://openalex.org/S142627899","display_name":"ACM Transactions on Software Engineering and Methodology","issn_l":"1049-331X","issn":["1049-331X","1557-7392"],"is_oa":false,"is_in_doaj":false,"is_core":true,"host_organization":"https://openalex.org/P4310319798","host_organization_name":"Association for Computing Machinery","host_organization_lineage":["https://openalex.org/P4310319798"],"host_organization_lineage_names":["Association for Computing Machinery"],"type":"journal"},"license":"cc-by-nc","license_id":"https://openalex.org/licenses/cc-by-nc","version":"publishedVersion","is_accepted":true,"is_published":true,"raw_source_name":"ACM Transactions on Software Engineering and Methodology","raw_type":"journal-article"},"sustainable_development_goals":[],"awards":[{"id":"https://openalex.org/G549291344","display_name":null,"funder_award_id":"61902441","funder_id":"https://openalex.org/F4320321001","funder_display_name":"National Natural Science Foundation of China"},{"id":"https://openalex.org/G6493258755","display_name":null,"funder_award_id":"61902441, 61902105, 62032025","funder_id":"https://openalex.org/F4320321001","funder_display_name":"National Natural Science Foundation of China"},{"id":"https://openalex.org/G7012338719","display_name":null,"funder_award_id":"61902105","funder_id":"https://openalex.org/F4320321001","funder_display_name":"National Natural Science Foundation of China"}],"funders":[{"id":"https://openalex.org/F4320321001","display_name":"National Natural Science Foundation of China","ror":"https://ror.org/01h0zpd94"},{"id":"https://openalex.org/F4320322598","display_name":"Hong Kong Polytechnic University","ror":"https://ror.org/0030zas98"}],"has_content":{"pdf":true,"grobid_xml":true},"content_urls":{"pdf":"https://content.openalex.org/works/W4320490961.pdf","grobid_xml":"https://content.openalex.org/works/W4320490961.grobid-xml"},"referenced_works_count":54,"referenced_works":["https://openalex.org/W185053887","https://openalex.org/W746762318","https://openalex.org/W1593271688","https://openalex.org/W1851202668","https://openalex.org/W1970407057","https://openalex.org/W1984561845","https://openalex.org/W1987089410","https://openalex.org/W2023925487","https://openalex.org/W2034209539","https://openalex.org/W2069798959","https://openalex.org/W2078922545","https://openalex.org/W2081749632","https://openalex.org/W2082160726","https://openalex.org/W2084173245","https://openalex.org/W2089779090","https://openalex.org/W2104915799","https://openalex.org/W2114728368","https://openalex.org/W2129476935","https://openalex.org/W2131453061","https://openalex.org/W2147296306","https://openalex.org/W2166879716","https://openalex.org/W2406602165","https://openalex.org/W2562533059","https://openalex.org/W2607303097","https://openalex.org/W2724503592","https://openalex.org/W2884276923","https://openalex.org/W2888312537","https://openalex.org/W2888651608","https://openalex.org/W2921106742","https://openalex.org/W2922099667","https://openalex.org/W2927392967","https://openalex.org/W2941068928","https://openalex.org/W2949297108","https://openalex.org/W2955426500","https://openalex.org/W2963381560","https://openalex.org/W2963979492","https://openalex.org/W2964150020","https://openalex.org/W2964194820","https://openalex.org/W2964268484","https://openalex.org/W2969773072","https://openalex.org/W2999553660","https://openalex.org/W3011632945","https://openalex.org/W3015080226","https://openalex.org/W3039512627","https://openalex.org/W3046805850","https://openalex.org/W3085939759","https://openalex.org/W3091730360","https://openalex.org/W3111903291","https://openalex.org/W3123545166","https://openalex.org/W3131328028","https://openalex.org/W3145013517","https://openalex.org/W4239854741","https://openalex.org/W4296660230","https://openalex.org/W4302978359"],"related_works":["https://openalex.org/W2171597999","https://openalex.org/W2189136227","https://openalex.org/W1866537546","https://openalex.org/W630850086","https://openalex.org/W3200508093","https://openalex.org/W4372053344","https://openalex.org/W3193978431","https://openalex.org/W2379752180","https://openalex.org/W2519240373","https://openalex.org/W3081644756"],"abstract_inverted_index":{"Code":[0],"comments":[1,31,41,86,99,146],"are":[2,50,140],"one":[3],"of":[4,96,116,131,143,187,204],"the":[5,28,43,69,79,84,88,93,101,114,124,148,154,160,175,185,188,202,212],"important":[6,52,170],"documents":[7],"to":[8,26,100,168],"help":[9],"developers":[10],"review":[11],"and":[12,77,81,87,127],"comprehend":[13],"source":[14],"code.":[15],"In":[16,72],"recent":[17],"studies,":[18],"researchers":[19],"have":[20,36,58],"proposed":[21],"many":[22],"deep":[23],"learning":[24],"models":[25,95,110,161],"generate":[27],"method":[29,33,70,85,98,155,205],"header":[30],"(i.e.,":[32,145],"comment),":[34],"which":[35,45,158,191],"achieved":[37],"encouraging":[38],"results.":[39],"The":[40],"in":[42,63,153,174,211],"method,":[44],"is":[46],"called":[47],"inline":[48,89,102,117,208],"comment,":[49],"also":[51],"for":[53,200],"program":[54],"comprehension.":[55],"Unfortunately,":[56],"they":[57],"not":[59,182],"received":[60],"enough":[61],"attention":[62],"automatic":[64],"generation":[65,177,210],"when":[66],"comparing":[67],"with":[68,147],"comments.":[71,90],"this":[73],"paper,":[74],"we":[75,105,136],"compare":[76],"analyze":[78],"similarities":[80],"differences":[82],"between":[83],"By":[91],"applying":[92],"existing":[94,109],"generating":[97],"comment":[103,118,156,176,206,209],"generation,":[104],"find":[106,137],"that":[107,138],"these":[108],"perform":[111,162],"worse":[112],"on":[113],"task":[115],"generation.":[119],"We":[120],"then":[121],"further":[122],"explore":[123],"possible":[125],"reasons":[126],"obtain":[128],"a":[129,141],"number":[130],"new":[132],"observations.":[133],"For":[134],"example,":[135],"there":[139],"lot":[142],"templates":[144],"same":[149],"or":[150,207],"similar":[151],"structures)":[152],"dataset,":[157],"makes":[159],"better.":[163],"Some":[164],"terms":[165],"were":[166],"thought":[167],"be":[169],"(e.g.,":[171],"API":[172],"calls)":[173],"by":[178],"previous":[179],"study":[180],"does":[181],"significantly":[183],"affect":[184],"quality":[186],"generated":[189],"comments,":[190],"seems":[192],"counter-intuitive.":[193],"Our":[194],"findings":[195],"may":[196],"give":[197],"some":[198],"implications":[199],"building":[201],"approaches":[203],"future.":[213]},"counts_by_year":[{"year":2026,"cited_by_count":1},{"year":2025,"cited_by_count":9},{"year":2024,"cited_by_count":7},{"year":2023,"cited_by_count":3}],"updated_date":"2026-06-11T09:08:48.828518","created_date":"2025-10-10T00:00:00"}
