Among several alternative viewpoints for building software quality metrics, evaluating the consistency between different modelsin a software specification or implementation appears to be fruitful.An obvious difficulty is that different models are usually expressedby means of different concepts, and then, confronting heterogeneousrepresentations is not straightforward.In this paper, we propose a solution for measuring theconsistency between the architecture and the communication models.After some sensible transformations, the information about bothmodels are captured trough hierarchical representations. We defineand discuss a similarity measure between hierarchies, that eventuallyfounds the software metric we propose. Lastly, we investigate how toscale and interpret the metric values and give an application examplewith SDL.