Jump to content

Python and fan-out

- - - - -

  • Please log in to reply
No replies to this topic

#1
denarced

denarced

    Programmer

  • Members
  • PipPipPipPip
  • 182 posts
Hei,

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 ?
Have you guys ever heard of any quick and somewhat easy method. Some of type of a wrapper or something?

Responses are always welcome, this is a brainstorm when the answer is elusive :)




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users