语码理解的混杂因素:智力和个人因素的研究
Code Comprehension Confounders: A Study of Intelligence and Personal
摘要:
文献和直觉表明,开发人员的智力和个性对他们理解源代码的表现有影响。研究人员在过去讨论对他们研究结果有效性的威胁时提出了这一建议。然而,缺乏研究调查的关系,智力和个性的表现在代码理解,使科学合理的推理,他们的影响很难。我们进行了第一次实证评估,与本科生的相关性研究,调查智力和人格的相关性与性能的代码理解,即与正确回答理解问题的代码片段。我们发现,人格特质不太可能影响代码理解性能,至少不会孤立地考虑。然而,尽责性与其他因素相结合,解释了代码理解性能的一些差异。对于智力,在测量的四个因素中,有三个因素对代码理解表现有显著的小到中等的积极影响,即,流体智力、视觉感知和认知速度。结晶智力对代码理解表现有积极的但统计上不显著的影响。根据我们的研究结果,几个智力方面以及人格特质的复杂性是潜在的混杂因素,不应该被忽视的代码理解研究的个人表现,并应通过适当的研究设计进行控制。我们呼吁对智力和人格与代码理解之间的关系进行进一步研究,部分原因是代码理解涉及的方面比我们在一项研究中可以测量的更多,并且因为我们的回归模型只能解释代码理解性能差异的一小部分。
英文摘要:
Literature and intuition suggest that a developer's intelligence and personality have an impact on their performance in comprehending source code. Researchers made this suggestion in the past when discussing threats to validity of their study results. However, the lack of studies investigating the relationship of intelligence and personality to performance in code comprehension makes scientifically sound reasoning about their influence difficult. We conduct the first empirical evaluation, a correlational study with undergraduates, to investigate the correlation of intelligence and personality with performance in code comprehension, that is with correctness in answering comprehension questions on code snippets. We found that personality traits are unlikely to impact code comprehension performance, at least not considered in isolation. Conscientiousness, in combination with other factors, however, explains some of the variance in code comprehension performance. For intelligence, significant small to moderate positive effects on code comprehension performance were found for three of four factors measured, i.e., fluid intelligence, visual perception, and cognitive speed. Crystallized intelligence has a positive but statistically insignificant effect on code comprehension performance. According to our results, several intelligence facets as well as the personality trait conscientiousness are potential confounders that should not be neglected in code comprehension studies of individual performance and should be controlled for via an appropriate study design. We call for the conduct of further studies on the relationship between intelligence and personality with code comprehension, in part because code comprehension involves more facets than we can measure in a single study and because our regression model explains only a small portion of the variance in code comprehension performance.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。