TY - GEN
T1 - A metric extraction framework based on a high-level description language
AU - Alikacem, El Hachemi
AU - Sahraoui, Houari A.
PY - 2009
Y1 - 2009
N2 - Nowadays, many tools are available for metric extraction. However, extending these tools with new metrics or modifying the calculation of existing ones is often difficult, sometimes impossible. Indeed, many of them are black box tools. Others can be extended only by modifying third-party code. Moreover, metric specifications often lack precision, which leads to implementations that do not correspond necessarily to users' expectations. In this paper, we propose a flexible approach for metric collection based on a metric description language that allows manipulating basic data extracted from the code. These data are mapped to a generic object-oriented meta-model that is language agnostic. This makes it easy to focus on the metric specification rather than language specific constructs. Metric specifications are interpreted automatically to extract their corresponding values for a target program.
AB - Nowadays, many tools are available for metric extraction. However, extending these tools with new metrics or modifying the calculation of existing ones is often difficult, sometimes impossible. Indeed, many of them are black box tools. Others can be extended only by modifying third-party code. Moreover, metric specifications often lack precision, which leads to implementations that do not correspond necessarily to users' expectations. In this paper, we propose a flexible approach for metric collection based on a metric description language that allows manipulating basic data extracted from the code. These data are mapped to a generic object-oriented meta-model that is language agnostic. This makes it easy to focus on the metric specification rather than language specific constructs. Metric specifications are interpreted automatically to extract their corresponding values for a target program.
KW - Meta-model
KW - Metric extraction
KW - Object-oriented metrics
KW - Source code representation
UR - https://www.scopus.com/pages/publications/72349085047
U2 - 10.1109/SCAM.2009.27
DO - 10.1109/SCAM.2009.27
M3 - Contribution to conference proceedings
AN - SCOPUS:72349085047
SN - 9780769537931
T3 - 9th IEEE International Working Conference on Source Code Analysis and Manipulation, SCAM 2009
SP - 159
EP - 167
BT - 9th IEEE International Working Conference on Source Code Analysis and Manipulation, SCAM 2009
T2 - 9th IEEE International Working Conference on Source Code Analysis and Manipulation, SCAM 2009
Y2 - 20 September 2009 through 21 September 2009
ER -