Path 1: 44 calls (0.79)

1def _set_default_options(self) -> None:
2        """Set different default options with _default dictionary."""
3        self.module_names = self._set_option(self.config.module_names)
4        all_ancestors = self._set_option(self.config.all_ancestors)
5        all_associated = self._set_option(self.config.all_associated)
6        anc_level, association_level = (0, 0)
7        if all_ancestors:
8            anc_level = -1
9        if all_associated:
10            association_level = -1
11        if self.config.show_ancestors is not None:
12            anc_level = self.config.show_ancestors
13        if self.config.show_associated is not None:
14            association_level = self.config.show_associated
15        self.anc_level, self.association_level = anc_level, association_level
            

Path 2: 8 calls (0.14)

1def _set_default_options(self) -> None:
2        """Set different default options with _default dictionary."""
3        self.module_names = self._set_option(self.config.module_names)
4        all_ancestors = self._set_option(self.config.all_ancestors)
5        all_associated = self._set_option(self.config.all_associated)
6        anc_level, association_level = (0, 0)
7        if all_ancestors:
8            anc_level = -1
9        if all_associated:
10            association_level = -1
11        if self.config.show_ancestors is not None:
12            anc_level = self.config.show_ancestors
13        if self.config.show_associated is not None:
14            association_level = self.config.show_associated
15        self.anc_level, self.association_level = anc_level, association_level
            

Path 3: 2 calls (0.04)

1def _set_default_options(self) -> None:
2        """Set different default options with _default dictionary."""
3        self.module_names = self._set_option(self.config.module_names)
4        all_ancestors = self._set_option(self.config.all_ancestors)
5        all_associated = self._set_option(self.config.all_associated)
6        anc_level, association_level = (0, 0)
7        if all_ancestors:
8            anc_level = -1
9        if all_associated:
10            association_level = -1
11        if self.config.show_ancestors is not None:
12            anc_level = self.config.show_ancestors
13        if self.config.show_associated is not None:
14            association_level = self.config.show_associated
15        self.anc_level, self.association_level = anc_level, association_level
            

Path 4: 2 calls (0.04)

1def _set_default_options(self) -> None:
2        """Set different default options with _default dictionary."""
3        self.module_names = self._set_option(self.config.module_names)
4        all_ancestors = self._set_option(self.config.all_ancestors)
5        all_associated = self._set_option(self.config.all_associated)
6        anc_level, association_level = (0, 0)
7        if all_ancestors:
8            anc_level = -1
9        if all_associated:
10            association_level = -1
11        if self.config.show_ancestors is not None:
12            anc_level = self.config.show_ancestors
13        if self.config.show_associated is not None:
14            association_level = self.config.show_associated
15        self.anc_level, self.association_level = anc_level, association_level