git数据实验细节

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

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • 我于七十年代末,生在一个普通的农民家庭,地处江苏南部,是个江南小镇,也算是鱼米之乡吧!我的家乡,虽不同于那些偏远山...
    桐叶佳音阅读 595评论 4 3
  • 青春的小鸟啊,说飞就飞。 就像刚吃饱的肚子,说胖就胖。 还好,好好的爷们没有说弯就弯。 几年没码字,说写就写,估计...
    天蓝蓝少爷阅读 509评论 0 2
  • 博客网址整理: 1.UIAlertView 的使用详解: http://blog.sina.com.cn/s/bl...
    阳光的大男孩儿阅读 1,234评论 1 2