1)the sky is not the limit:
Response.Our response isLOCAdded, as a measure of
outputs produced per unit time (proxy for productivity).
It sums the count of lines of code added per commit, over
all commits by a developer in a given week. We also ex-
perimented with Commits and FileTouches. All are highly
correlated (rho≃0.82 in both cases).
2)Daniel, S., et al. The effects of diversity in global,
distributed collectives: A study of open source project
success.Inform. Syst. Res. 24, 2 (2013), 312–333.
Commits are the most encompassing form of coding contribution to
a GITHUBproject and a representative facet of developer
productivity in OSS [18].
xall<-as.data.frame(apply(all,2,function(x)(x-mean(x))/var(x)))
all<-as.data.frame(apply(all,2,function(x)(x-min(x))/(max(x)- min(x))))
all<-as.data.frame(apply(all,2,function(x)(x-min(x))/mean(x)))
https://github.com/BroadleafCommerce/BroadleafCommerce/commit/1a245b29a7686b7b336aff467683dc90f1cfe009这个BasicFieldPersistenceProvider.java48-49行有一个import和package断行的情况
code base的checkstyle中断后怎么补救:
1,先运行cb_cs_makeup.sh 将未完成的pr的most recentSha 拿到
eg:./cb_cs_makeup.sh cb_csOK cb_csFailed ../code_style/mostRecentSha
2,再如嘉爷服务器上跑run_cb_cs_bat.sh里那样跑数据
./run_cb_cs_bat.sh /home/wqzou/newStart /home/wqzou/code_style /home/wqzou/code_style/newRepo_list 40
2016-03-16
要注意checkstyle工具依赖的jdk版本。我们如果系统的版本不满足。可以直接安装jdk。我在自己的电脑上remove掉已有的jdk,jre,java-common后,安装了open-jdk。再运行checkstyle工具,就可以了!
sudo apt-get install openjdk-7-jdk
git log --pretty=oneline --author="jw@squareup.com" | cut -f1 -d " " | xargs -I {} git show {}
获取到特定某个人每次commit的内容
github上codestyle,这几个例子都是改code style的:
https://github.com/querydsl/querydsl/pull/1357
https://github.com/querydsl/querydsl/pull/1421
这个项目貌似一般都是通过pr来讨论问题,然后集中的几个人,集中的几个pr来配置修复checkstyle。
https://github.com/Jasig/cas/pull/1238
这个项目好像做review比较多
一个别人提pr加Eclipse的插件java formter,作者不喜欢拒绝的https://github.com/EngineHub/CommandHelper/pull/290