diff --git a/1_introduction.tex b/1_introduction.tex index 7ff9376..e9e5975 100755 --- a/1_introduction.tex +++ b/1_introduction.tex @@ -46,17 +46,28 @@ a MCR process with more social features. % 对每一个项目中的每一个pr, % 找出 1) desc中的cc % 2) comment中的cc -% 然后观察 执行cc的人是谁,被cc的人是谁,被cc的是否响应了,以及过了多长时间响应, + +% RQ0: +% 首先统计 cc的人在role上的分布,被cc的人在角色上的分布 + % RQ1: 执行cc的人 按其角色,经验等 看 被cc的是否响应了,以及过了多长时间响应,都接受了哪些评论 -RQ1: What feedback does CC performer get? +RQ1: What is the feedback of CC? +% 两个指标 rate 和 delay +% 首先分析 +% 先统计分析 feedback在cc的role和position上是否有区分? -% RQ2: 被cc的人 按其角色经验等 看 被cc的是否响应了,以及过了多长时间响应 +% 然后分析,cc的 和 被cc的 收到feedback 和 没收到 feedbakc的 群体间的差异 + +% 被cc的人其workload等因素是如何影响的 +% 比如 word load重的人不易回复,这个的指导意义:提供每一个审阅者的workload状态,以方便别人cc。 % 被CC的人角色,经验(贡献,审阅),对该pr中某一个文件的修改次数,对该pr中某一文件的审阅次数等。 -% work load -RQ2: What feedback does CC responder give? +% RQ2: cc是如何影响pr的审阅质量的 +RQ2: What is the effect of CC? +% 在pr——desc中包含cc是否能提高 第一次review响应率,参与人数,评论数等 +% % Investigating Code Review Quality: Do People and Participation Matter? % RQ3 的回答中涉及到了CC diff --git a/4_result.tex b/4_result.tex index 9dd4dc5..fb4d88a 100755 --- a/4_result.tex +++ b/4_result.tex @@ -1,2 +1,159 @@ \section{RESULT} \label{sec:result} + +% RQ0: +% 首先统计 cc的人在role上的分布,被cc的人在角色上的分布 +% 共有多少个CC, 核心开发者 和 非核心开发者占比 +% cc发生在 cc者的哪些成长阶段(新手成长的历程中,累计分布图) +% 有可能的指导意义:新手/外围开发者 不太会cc,因此需要自动化工具, + + +\subsection{RQ1: Feedback of CC} + +\subsubsection{RQ1.1: Response rate} + +% 从两方面进行对比 +% 不管角色,比较位置的区别 +% 不管位置,比较角色的区别 +\begin{table}[ht!] + + \centering + \renewcommand\arraystretch{1.2} + \caption{Response rate of CC} + \begin{tabular}{|r |c |c |c|} + \hline + &\textbf{Pr\_desc} &\textbf{Comment} &\textbf{Total} \\ \hline + + \textbf{Core} & 0.72/0.65& 0.72/0.65&0.72/0.65\\ \hline + \textbf{Peripheral} & 0.72/0.65& 0.72/0.65& 0.72/0.65\\ \hline + \textbf{Total} & 0.72/0.65& 0.72/0.65& 0.72/0.65\\\hline + \end{tabular} + \label{tab:fb_rate} +\end{table} + +\subsubsection{RQ1.2: Response delay} +\begin{figure}[ht!] + \centering + \includegraphics[width=8.5cm]{resources/fd_delay.png} + \caption{Response delay of cc} + \label{fig:fd_delay} +\end{figure} + + +\subsubsection{RQ1.3 Factors that affect the feedback of CC} +% !!!!!!! 因为feedback rate 很低 以及 delay很高,因此想研究到底是什么因素影响了cc的feedback + +% \begin{table*}[ht] +% \centering +% \caption{Overview of factors} +% \begin{tabular}{c c p{5cm} p{5cm} } + +% \bottomrule +% \multicolumn{2}{c}{\textbf{Statistic}} &\textbf{Description} &\textbf{rationality} \\ + +% \midrule +% \multirow{4}*{\rotatebox{90}{Social familiarity}} +% &Core team & & \\ +% &First\_pr & & \\ +% &\#Prev\_pr & & \\ +% &\#Review & & \\ + +% \midrule +% \multirow{3}*{\rotatebox{90}{Technical familiarity}} +% &Prj\_age & & \\ +% &\#Contributor & & \\ +% &Pr\_growth & & \\ + +% \midrule +% \multirow{3}*{\rotatebox{90}{Personal information}} +% &Churn & & \\ +% &\#Files & & \\ +% &Src\_touched & & \\ + +% \toprule +% \end{tabular} +% \label{tab:factors} +% \end{table*} + +\begin{table*}[ht] + \centering + \caption{Overview of factors} + \begin{tabular}{r p{5cm}<{\centering} p{5cm}<{\centering} } + + \bottomrule + \textbf{Statistic} &\textbf{Description} &\textbf{rationality} \\ + + \midrule + \textbf{Social familiarity}\hspace{1em} \\ + Core team & & \\ + First\_pr & & \\ + \#Prev\_pr & & \\ + \#Review & & \\ + + \midrule + \textbf{Technical familiarity}\hspace{1em} \\ + Prj\_age & & \\ + \#Contributor & & \\ + Pr\_growth & & \\ + + \midrule + \textbf{Personal information}\hspace{1em} \\ + Churn & & \\ + \#Files & & \\ + Src\_touched & & \\ + Config\_ touched & & \\ + Test\_touched & & \\ + Is\_night & & \\ + Is\_weekend & & \\ + + \toprule + \end{tabular} + \label{tab:factors} +\end{table*} + +\begin{table*}[ht] + \centering + \caption{Overview of factors} + \begin{tabular}{r c c c c c} + + \bottomrule + \textbf{Statistic} &\textbf{Mean} &\textbf{St.} &\textbf{Min} &\textbf{Median} &\textbf{Max} \\ + + \midrule + \textbf{Social familiarity}\hspace{1em} \\ + Core team & & & & & \\ + First\_pr & & & & & \\ + \#Prev\_pr & & & & & \\ + \#Review & & & & & \\ + + \midrule + \textbf{Technical familiarity}\hspace{1em} \\ + Prj\_age & & & & & \\ + \#Contributor & & & & & \\ + Pr\_growth & & & & & \\ + + \midrule + \textbf{Personal information}\hspace{1em} \\ + Churn & & & & & \\ + \#Files & & & & & \\ + Src\_touched & & & & & \\ + Config\_ touched & & & & & \\ + Test\_touched & & & & & \\ + Is\_night & & & & & \\ + Is\_weekend & & & & & \\ + + \toprule + \end{tabular} + \label{tab:factors} +\end{table*} + +\subsection{RQ2: Effect of CC} + +\subsubsection{RQ2.1: How CC affect code review participant} +% CC 是否影响了review的参与度 +% 如果在 pr_desc中有cc,其第一次反馈是否是更及时(反馈者应该是被cc的) +% 如果在 pr_desc或者cmt中有cc,其参与的人数 和 cmt数 是否更多 + +\subsubsection{RQ2.2: How CC affect code review acceptance / quality} +% 包含了cc的是否更容易被接受,(被cc的人是很合适的人,有利于pr的改进) +% 或者 被cc的是cc的熟悉的人,从而导致由于考虑到面子的问题,不好意思拒绝 diff --git a/main.tex b/main.tex index ce6a7df..eea3769 100755 --- a/main.tex +++ b/main.tex @@ -16,7 +16,7 @@ \usepackage{framed} \usepackage{hhline} \usepackage{setspace} - +\usepackage{tabularx} \newcommand{\ie}{{\emph{i.e.}},\xspace} \newcommand{\eg}{{\emph{e.g.}},\xspace} diff --git a/resources/fd_delay.png b/resources/fd_delay.png new file mode 100644 index 0000000..8018898 Binary files /dev/null and b/resources/fd_delay.png differ