2 ms·
It looks like it works only on function bodies[1]. I'm not sure I understand why you would want to look at invoked callables code, though. Calling the same set
by klibertp 3mo ago
It looks like it works only on function bodies[1]. I'm not sure I understand why you would want to look at invoked callables code, though. Calling the same set of helper functions is already flagged; repeated code in helpers is flagged as well when those helpers are analyzed. Do you have a specific example where you'd like a function flagged as a duplicate based on the code it calls out to?
[1] https://github.com/rafal-qa/slopo/blob/main/src/slopo/indexing/parsing/lang/python.py#L19-L37 https://github.com/rafal-qa/slopo/blob/main/src/slopo/indexi...