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 SepDisplayed time zone: (UTC) Coordinated Universal Time change
02:20 - 03:20 | |||
02:20 5mPoster | Dynamic Algorithm Selection for SMT Student Research Competition Nikhil Pimpalkhare University of California, Berkeley | ||
02:25 5mPoster | CrossPriv: User Privacy Preservation Model for Cross-Silo Federated Software Student Research Competition Harshita Diddee Guru Gobind Singh Indraprastha University, Bhrigu Kansra Guru Gobind Singh Indraprastha University | ||
02:30 5mPoster | Scalability and Precision Improvement of Neural Program Synthesis Student Research Competition Yating Zhang National University of Defense Technology | ||
02:35 5mPoster | The Classification and Propagation of Program CommentsSecond place SRC - Undergraduate Student Research Competition Xiangzhe Xu Nanjing University | ||
02:40 5mPoster | Source Code and Binary Level Vulnerability Detection and Hot PatchingThird place SRC - Graduate Student Research Competition Zhengzi Xu Nanyang Technological University | ||
02:45 5mPoster | FLUX: From SQL to GQL query translation tool Student Research Competition Chandan Sharma Auckland University of Technology | ||
02:50 5mPoster | Discovering UI Display Issues with Visual UnderstandingWinner SRC - Graduate Student Research Competition Zhe Liu Laboratory for Internet Software Technologies, Institute of Software Chinese Academy of Sciences, University of Chinese Academy of Sciences |