The Classification and Propagation of Program CommentsSecond place SRC - Undergraduate
Natural language comments are like bridges between human logic and software semantics. Developers use comments to describe the function, implementation, and property of code snippets. This kind of connections contains rich information, like the potential types of a variable and the pre-condition of a method, among other things. In this paper, we categorize comments and use natural language processing techniques to extract information from them. Based on the semantics of programming languages, different rules are built for each comment category to systematically propagate comments among code entities. Then we use the propagated comments to check the code usage and comments consistency. Our demo system finds 37 bugs in real-world projects, 30 of which have been confirmed by the developers. Except for bugs in the code, we also find 304 pieces of defected comments. The 12 of them are misleading and 292 of them are not correct. Moreover, among the 41573 pieces of comments we propagate, 87 comments are for private native methods which had neither code nor comments. We also conduct a user study where we find that propagated comments are as good as human-written comments in three dimensions of consistency, naturalness, and meaningfulness.
Wed 23 Sep Times are displayed in time zone: (UTC) Coordinated Universal Time
02:20 - 03:20: SRC Poster (1)Student Research Competition at Koala Chair(s): Chunyang ChenMonash University | |||
02:20 - 02:25 Poster | Dynamic Algorithm Selection for SMT Student Research Competition Nikhil PimpalkhareUniversity of California, Berkeley | ||
02:25 - 02:30 Poster | CrossPriv: User Privacy Preservation Model for Cross-Silo Federated Software Student Research Competition Harshita DiddeeGuru Gobind Singh Indraprastha University, Bhrigu KansraGuru Gobind Singh Indraprastha University | ||
02:30 - 02:35 Poster | Scalability and Precision Improvement of Neural Program Synthesis Student Research Competition Yating ZhangNational University of Defense Technology | ||
02:35 - 02:40 Poster | The Classification and Propagation of Program CommentsSecond place SRC - Undergraduate Student Research Competition Xiangzhe XuNanjing University | ||
02:40 - 02:45 Poster | Source Code and Binary Level Vulnerability Detection and Hot PatchingThird place SRC - Graduate Student Research Competition Zhengzi XuNanyang Technological University | ||
02:45 - 02:50 Poster | FLUX: From SQL to GQL query translation tool Student Research Competition Chandan SharmaAuckland University of Technology | ||
02:50 - 02:55 Poster | Discovering UI Display Issues with Visual UnderstandingWinner SRC - Graduate Student Research Competition Zhe LiuLaboratory for Internet Software Technologies, Institute of Software Chinese Academy of Sciences, University of Chinese Academy of Sciences |