While trying to map Delphi to FAMIX, we ran into some issues:
- Delphi has definitions of a.o. methods split over the interface and
the implementation part of a unit. Where do I put the second sourcetextanchor?
This might be similar to the situation with c header files.
- Being a hybrid of structured and oo, functions seem to be best modeled as
scopingentities too. What does it mean that scopingentities represent an entity
defining a scope at a global level? Units in Delphi can be local to another unit.
- The class comment of behaviouralentity is a bit sloppy in describing which
metrics we should provide: is cylomatic complexity, numberOfStatements &
numberOfConditionals enough?
I am not sure I like the deep inheritance hierarchy of FAMIX. It seems
rather brittle. Is Delphi a special case?
Stephan