Path 1: 11697 calls (0.88)

Match (11697)

'argument' (2889) 'function' (1717) 'variable' (1599) 'class' (1519) 'method' (1309) 'module' (1081) 'attr' (427) 'class_attribute' (420) 'const' (319...

Confidence (11697)

False (11697)

1def _is_multi_naming_match(
2    match: re.Match[str] | None, node_type: str, confidence: interfaces.Confidence
3) -> bool:
4    return (
5        match is not None
6        and match.lastgroup is not None
7        and match.lastgroup not in EXEMPT_NAME_CATEGORIES
8        and (node_type != "method" or confidence != interfaces.INFERENCE_FAILURE)
9    )
            

Path 2: 1596 calls (0.12)

None (1596)

'variable' (787) 'const' (273) 'argument' (271) 'class' (95) 'function' (42) 'attr' (32) 'method' (29) 'module' (25) 'class_const' (23) 'typevar' (18)...

Confidence (1596)

False (1596)

1def _is_multi_naming_match(
2    match: re.Match[str] | None, node_type: str, confidence: interfaces.Confidence
3) -> bool:
4    return (
5        match is not None
6        and match.lastgroup is not None
7        and match.lastgroup not in EXEMPT_NAME_CATEGORIES
8        and (node_type != "method" or confidence != interfaces.INFERENCE_FAILURE)
9    )
            

Path 3: 12 calls (0.0)

Match (12)

'function' (6) 'class' (5) 'method' (1)

Confidence (12)

True (12)

1def _is_multi_naming_match(
2    match: re.Match[str] | None, node_type: str, confidence: interfaces.Confidence
3) -> bool:
4    return (
5        match is not None
6        and match.lastgroup is not None
7        and match.lastgroup not in EXEMPT_NAME_CATEGORIES
8        and (node_type != "method" or confidence != interfaces.INFERENCE_FAILURE)
9    )
            

Path 4: 2 calls (0.0)

Match (2)

'function' (2)

Confidence (2)

False (2)

1def _is_multi_naming_match(
2    match: re.Match[str] | None, node_type: str, confidence: interfaces.Confidence
3) -> bool:
4    return (
5        match is not None
6        and match.lastgroup is not None
7        and match.lastgroup not in EXEMPT_NAME_CATEGORIES
8        and (node_type != "method" or confidence != interfaces.INFERENCE_FAILURE)
9    )