I'm finishing up my thesis and I'm considering the software's fan-out as it's considered a big enough factor in predicting errors, at least in part due to high coupling. For my paper, it'll probably be enough to roughly estimate with imports the extent of fan-out.
But I was thinking that unlike in languages such as C, with no reflection, in Python it's probably possible to exactly calculate the fan-out. Anyone agree? Any ideas on how to do it since to me it seems I'd have to take several factors into consideration:
- imports. This is a simple one since I'm using only straight-up imports, no fancy stuff.
- method parameters. I built the thing so with a quick review I can probably spot the references passed in and used.
- there might be some method or class references returned from routines, this might harder to check out.
- something else ?
Responses are always welcome, this is a brainstorm when the answer is elusive :)


Sign In
Create Account


Back to top









