arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2601.16009cs.SE
收藏

认知能力在需求检查中的作用:比较UML和文本表示

The Role of Cognitive Abilities in Requirements Inspection: Comparing UML and Textual Representations

CNR–ISTI(意大利国家研究委员会信息技术与科学研究所);Universidad Politecnica de Madrid(马德里理工大学);University College Dublin(都柏林大学学院)

Giovanna Broccia, Sira Vegas, Alessio Ferrari

AI总结:

本研究比较UML和文本表示在需求检查中的效果,发现认知能力影响UML辅助检查的准确性。

摘要:

需求的表示在需求检查的准确性方面起着关键作用。尽管UML图等视觉表示与基于文本的需求广泛并用,但其在支持检查方面的有效性仍存在争议。认知能力,如工作记忆和空间旋转技能,也可能影响检查的准确性。本研究旨在评估在基于文本的需求上使用UML顺序图是否能提高需求检查的准确性,与仅使用基于文本的需求相比,并探讨认知能力是否与在两种处理(文本 vs 文本加UML支持)中的表现差异有关。我们与38名参与者进行了交叉实验,以评估在两种处理下发现的问题和提供的理由的准确性。线性混合效应模型和广义线性模型用于分析处理、时期、序列和认知能力的影响。结果表明,表示类型、工作记忆容量和空间旋转能力之间存在显著的三重交互作用。这一发现表明,UML支持的有效性在个体之间并不统一:在UML中检测违规时,工作记忆和空间旋转能力得分高的参与者表现下降。相反,相同的认知特征在UML辅助检查中与更高的准确性相关,表明较高的认知能力可能在处理多模态信息(即图表和文本)时支持更深入的推理过程。

英文摘要:

The representation of requirements plays a critical role in the accuracy of requirements inspection. While visual representations, such as UML diagrams, are widely used alongside text-based requirements, their effectiveness in supporting inspection is still debated. Cognitive abilities, such as working memory and mental rotation skills, may also influence inspection accuracy. This study aims to evaluate whether the use of UML sequence diagrams alongside text-based requirements improves the accuracy of requirements inspection compared to text-based requirements alone and to explore whether cognitive abilities are associated with differences in performance across the two treatments (text vs text with UML support). We conducted a crossover experiment with 38 participants to assess the accuracy of requirements inspection under the two treatments in terms of issues found and justifications provided. Linear mixed-effects and generalized linear models were used to analyse the effects of treatment, period, sequence, and cognitive abilities. The results indicate a significant three-way interaction between representation type, working memory capacity, and mental rotation ability. This finding suggests that the effectiveness of UML support is not uniform across individuals: participants with high scores in both cognitive abilities experienced reduced performance when using UML for violation detection. Conversely, the same cognitive profile was associated with improved justification accuracy under UML-aided inspection, indicating that higher cognitive abilities may support deeper reasoning processes when dealing with multi-modal information, i.e., diagrams and text.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑