Code reviews in pull-based model are open to community users on GitHub. Various participants are taking part in the review discussions and the review topics are not only about the improvement of code contributions but...Code reviews in pull-based model are open to community users on GitHub. Various participants are taking part in the review discussions and the review topics are not only about the improvement of code contributions but also about project evolution and social interaction. A comprehensive understanding of the review topics in pull-based model would be useful to better organize the code review process and optimize review tasks such as reviewer recommendation and pull-request prioritization. In this paper, we first conduct a qualitative study on three popular open-source software projects hosted on GitHub and construct a fine-grained two-level taxonomy covering four level-1 categories (code correctness, pull- request decision-making, project management, and social interaction) and 11 level-2 subcategories (e.g., defect detecting, reviewer assigning, contribution encouraging). Second, we conduct preliminary quantitative analysis on a large set of review comments that were labeled by TSHC (a two-stage hybrid classification algorithm), which is able to automatically classify review comments by combining rule-based and machine-learning techniques. Through the quantitative study, we explore the typical review patterns. We find that the three projects present similar comments distribution on each subeategory. Pull-requests submitted by inexperienced contributors tend to contain potential issues even though they have passed the tests. Furthermore, external contributors are more likely to break project conventions in their early contributions.展开更多
Code review is an important process to reduce code defects and improve software quality. In social coding communities like GitHub, as everyone can submit Pull-Requests, code review plays a more important role than eve...Code review is an important process to reduce code defects and improve software quality. In social coding communities like GitHub, as everyone can submit Pull-Requests, code review plays a more important role than ever before, and the process is quite time-consuming. Therefore, finding and recommending proper reviewers for the emerging Pull-Requests becomes a vital task. However, most of the current studies mainly focus on recommending reviewers by checking whether they will participate or not without differentiating the participation types. In this paper, we develop a two-layer reviewer recommendation model to recommend reviewers for Pull-Requests (PRs) in GitHub projects from the technical and managerial perspectives. For the first layer, we recommend suitable developers to review the target PRs based on a hybrid recommendation method. For the second layer, after getting the recommendation results from the first layer, we specify whether the target developer will technically or managerially participate in the reviewing process. We conducted experiments on two popular projects in GitHub, and tested the approach using PRs created between February 2016 and February 2017. The results show that the first layer of our recommendation model performs better than the previous work, and the second layer can effectively differentiate the types of participation.展开更多
people used to be negative on the use of code-switching in English foreign language classroom.However,more and moreresearches begin to argue that code-switching does have its practical significance.Some basic concepts...people used to be negative on the use of code-switching in English foreign language classroom.However,more and moreresearches begin to argue that code-switching does have its practical significance.Some basic concepts of code-switching will first-ly be introduced in the article.Then,there is a literature review of the previous studies on the code-switching in English foreignlanguage class.By exposing detailed researches on it,some implications for teaching pedagogy will be explicated.From differentperspectives of the use of code-switching,this article aims to explore the necessity of code-switching in a context of foreign lan-guage teaching classroom by presenting some latest researches on it and reviewing different views on the use of code-switching inEnglish Foreign Language class.展开更多
全世界竹亚科(Bambusoideae)慈竹属(Neosinocalamus Keng f.)植物只有2种,均产自中国,主要分布于长江流域,以四川盆地最为丰富,分布面积约10万hm2。由于历史上慈竹与人类的生产生活关系密切,故其资源随着人类社会的不断发展而逐步扩大,...全世界竹亚科(Bambusoideae)慈竹属(Neosinocalamus Keng f.)植物只有2种,均产自中国,主要分布于长江流域,以四川盆地最为丰富,分布面积约10万hm2。由于历史上慈竹与人类的生产生活关系密切,故其资源随着人类社会的不断发展而逐步扩大,目前所见慈竹属植物大多为人工栽培。其中,慈竹N.affinis(Rendle)Keng f.有10个栽培品种,方城慈竹N.fangchengensis Yi et J.Y.Shi有2个栽培品种。文章整理了这些栽培品种及其相关信息,以便查阅和参考。展开更多
基金This work was supported by the National Key Research and Development Program of China under Grant No. 2016YFB1000805 and the National Natural Science Foundation of China under Grant Nos. 61432020, 61303064, 61472430 and 61502512.
文摘Code reviews in pull-based model are open to community users on GitHub. Various participants are taking part in the review discussions and the review topics are not only about the improvement of code contributions but also about project evolution and social interaction. A comprehensive understanding of the review topics in pull-based model would be useful to better organize the code review process and optimize review tasks such as reviewer recommendation and pull-request prioritization. In this paper, we first conduct a qualitative study on three popular open-source software projects hosted on GitHub and construct a fine-grained two-level taxonomy covering four level-1 categories (code correctness, pull- request decision-making, project management, and social interaction) and 11 level-2 subcategories (e.g., defect detecting, reviewer assigning, contribution encouraging). Second, we conduct preliminary quantitative analysis on a large set of review comments that were labeled by TSHC (a two-stage hybrid classification algorithm), which is able to automatically classify review comments by combining rule-based and machine-learning techniques. Through the quantitative study, we explore the typical review patterns. We find that the three projects present similar comments distribution on each subeategory. Pull-requests submitted by inexperienced contributors tend to contain potential issues even though they have passed the tests. Furthermore, external contributors are more likely to break project conventions in their early contributions.
基金Project(2016-YFB1000805)supported by the National Grand R&D Plan,ChinaProjects(61502512,61432020,61472430,61532004)supported by the National Natural Science Foundation of China
文摘Code review is an important process to reduce code defects and improve software quality. In social coding communities like GitHub, as everyone can submit Pull-Requests, code review plays a more important role than ever before, and the process is quite time-consuming. Therefore, finding and recommending proper reviewers for the emerging Pull-Requests becomes a vital task. However, most of the current studies mainly focus on recommending reviewers by checking whether they will participate or not without differentiating the participation types. In this paper, we develop a two-layer reviewer recommendation model to recommend reviewers for Pull-Requests (PRs) in GitHub projects from the technical and managerial perspectives. For the first layer, we recommend suitable developers to review the target PRs based on a hybrid recommendation method. For the second layer, after getting the recommendation results from the first layer, we specify whether the target developer will technically or managerially participate in the reviewing process. We conducted experiments on two popular projects in GitHub, and tested the approach using PRs created between February 2016 and February 2017. The results show that the first layer of our recommendation model performs better than the previous work, and the second layer can effectively differentiate the types of participation.
文摘people used to be negative on the use of code-switching in English foreign language classroom.However,more and moreresearches begin to argue that code-switching does have its practical significance.Some basic concepts of code-switching will first-ly be introduced in the article.Then,there is a literature review of the previous studies on the code-switching in English foreignlanguage class.By exposing detailed researches on it,some implications for teaching pedagogy will be explicated.From differentperspectives of the use of code-switching,this article aims to explore the necessity of code-switching in a context of foreign lan-guage teaching classroom by presenting some latest researches on it and reviewing different views on the use of code-switching inEnglish Foreign Language class.
文摘全世界竹亚科(Bambusoideae)慈竹属(Neosinocalamus Keng f.)植物只有2种,均产自中国,主要分布于长江流域,以四川盆地最为丰富,分布面积约10万hm2。由于历史上慈竹与人类的生产生活关系密切,故其资源随着人类社会的不断发展而逐步扩大,目前所见慈竹属植物大多为人工栽培。其中,慈竹N.affinis(Rendle)Keng f.有10个栽培品种,方城慈竹N.fangchengensis Yi et J.Y.Shi有2个栽培品种。文章整理了这些栽培品种及其相关信息,以便查阅和参考。