Documenting Implementation Decisions with Code Annotations
Documenting Implementation Decisions with Code Annotations
复制标题
使用代码注释记录实施决策
DOI:
--
复制
发表时间:
2015
期刊:
影响因子:
--
通讯作者:
B. Brügge
中科院分区:
文献类型:
--
作者:
Tom;Arthur Kühlwein;B. Paech;T. Roehm;B. Brügge
Software developers make various decisions when implementing software. For instance, they decide on how to implement an algorithm most efficiently or in which way to process user input. When code is revisited during maintenance, the underlying decisions need to be understood and possibly adjusted to the current situation. Common documentation approaches like JavaDoc neither cover knowledge related to decisions explicitly, nor are they integrated closely with knowledge management. In consequence, decision knowledge is rarely documented and therefore inaccessible, especially when developers have left the team. So, effective maintenance is hindered. We have developed an annotation model for decision knowledge and integrated it with the knowledge management tool UNICASE. The approach enables developers to document decisions within code without tool switches to lower their documentation effort. Afterwards, maintainers can exploit the embedded decision knowledge and follow links to external knowledge. This paper presents the approach and evaluation results of a first case study, which indicate its practicability.