Path 1: 115 calls (0.36)

Const (93) Tuple (19) Dict (2) Instance (1)

ClassEntity (115)

'_prop2' (18) '_prop1' (18) 'attr' (18) '__implements__' (18) 'TYPE' (17) 'top' (17) 'name' (3) 'msgs' (2) 'options' (1) 'number_of_bananas' (1)

'association' (115)

None (115)

KeyError (115)

1def assign_association_relationship(
2        self, value: astroid.NodeNG, obj: ClassEntity, name: str, type_relationship: str
3    ) -> None:
4        if value is astroid.Uninferable:
5            return
6        if isinstance(value, astroid.Instance):
7            value = value._proxied
8        try:
9            associated_obj = self.object_from_node(value)
10            self.add_relationship(associated_obj, obj, type_relationship, name)
11        except KeyError:
12            return
            

Path 2: 92 calls (0.29)

Subscript (32) ClassDef (21) Name (18) Property (18) BinOp (3)

ClassEntity (92)

'prop1' (18) 'my_string' (17) 'my_int' (17) 'my_int_2' (17) 'param' (3) 'union' (3) 'alternative_union_syntax' (3) 'optional' (3) 'class_attr' (3) '_e...

'aggregation' (54) 'association' (38)

None (92)

KeyError (92)

1def assign_association_relationship(
2        self, value: astroid.NodeNG, obj: ClassEntity, name: str, type_relationship: str
3    ) -> None:
4        if value is astroid.Uninferable:
5            return
6        if isinstance(value, astroid.Instance):
7            value = value._proxied
8        try:
9            associated_obj = self.object_from_node(value)
10            self.add_relationship(associated_obj, obj, type_relationship, name)
11        except KeyError:
12            return
            

Path 3: 57 calls (0.18)

Uninferable (57)

ClassEntity (57)

'_prop2' (18) '__value' (18) '_id' (17) '_builtin_exceptions' (1) '_elifs' (1) 'a' (1) 'b' (1)

'aggregation' (35) 'association' (22)

None (57)

1def assign_association_relationship(
2        self, value: astroid.NodeNG, obj: ClassEntity, name: str, type_relationship: str
3    ) -> None:
4        if value is astroid.Uninferable:
5            return
6        if isinstance(value, astroid.Instance):
7            value = value._proxied
8        try:
9            associated_obj = self.object_from_node(value)
10            self.add_relationship(associated_obj, obj, type_relationship, name)
11        except KeyError:
12            return
            

Path 4: 38 calls (0.12)

Instance (38)

ClassEntity (38)

'cls_member' (18) 'relation' (17) 'checker1' (1) 'checker2' (1) 'checker3' (1)

'association' (38)

1def assign_association_relationship(
2        self, value: astroid.NodeNG, obj: ClassEntity, name: str, type_relationship: str
3    ) -> None:
4        if value is astroid.Uninferable:
5            return
6        if isinstance(value, astroid.Instance):
7            value = value._proxied
8        try:
9            associated_obj = self.object_from_node(value)
10            self.add_relationship(associated_obj, obj, type_relationship, name)
11        except KeyError:
12            return
            

Path 5: 17 calls (0.05)

ClassDef (17)

ClassEntity (17)

'relation2' (17)

'aggregation' (17)

1def assign_association_relationship(
2        self, value: astroid.NodeNG, obj: ClassEntity, name: str, type_relationship: str
3    ) -> None:
4        if value is astroid.Uninferable:
5            return
6        if isinstance(value, astroid.Instance):
7            value = value._proxied
8        try:
9            associated_obj = self.object_from_node(value)
10            self.add_relationship(associated_obj, obj, type_relationship, name)
11        except KeyError:
12            return