Method: pylint.checkers.design_analysis.MisdesignChecker.visit_default
Calls: 72701, Exceptions: 0, Paths: 2Back
Path 1: 61250 calls (0.84)
Name (16335) Const (11998) AssignName (9215) Call (5667) Arguments (3729) Attribute (3209) List (1587) Subscript (1198) Compare (1141) Module (1120)
1def visit_default(self, node: nodes.NodeNG) -> None:
2 """Default visit method -> increments the statements counter if
3 necessary.
4 """
5 if node.is_statement:
6 self._inc_all_stmts(1)
Path 2: 11451 calls (0.16)
Assign (3697) Expr (3221) Pass (1350) ImportFrom (632) Import (581) AnnAssign (421) ExceptHandler (357) Raise (348) AugAssign (268) With (168)
1def visit_default(self, node: nodes.NodeNG) -> None:
2 """Default visit method -> increments the statements counter if
3 necessary.
4 """
5 if node.is_statement:
6 self._inc_all_stmts(1)