Path 1: 114 calls (1.0)

'specialization' (25) 'implements' (25) 'association' (25) 'aggregation' (25) 'depends' (14)

list (72) [] (42)

1def get_relationships(self, role: str) -> Iterable[Relationship]:
2        # sorted to get predictable (hence testable) results
3        return sorted(
4            self.relationships.get(role, ()),
5            key=lambda x: (x.from_object.fig_id, x.to_object.fig_id),
6        )