Open surli opened 10 years ago
Oh nice! I didn't know this class. Then is it usable only through the API or is there a language element to call these operations?
Only with the API... Is it a problem?
Actually yes. I often want to compute metrics on my FMs and it seems a little bit tedious to create a program calling the familiar API to do so. Then it should be great to be able to call directly this class with the familiar language, eventually only to display the toString which seems rather complete.
It would be great to have access with Familiar to all metrics described in the paper of Bagheri and Gasevic "Assessing the Maintenability of Software Product Line Feature Model using Structural Metrics". For now, Familiar is able to compute the CTC ratio, but I'd like to see the total number of features involved in constraints, the number of leaves, the depth of the FM, the cyclomatic complexity and so one.