You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am having problems in calculating fan_in and fan_out of the methods. I tried different languages, different approaches (analyze recursively a directory, analyze only one file, etc.), but the result is always the same: fan_in and fan_out = 0.
What am I doing wrong?
This is the code I am using:
import lizard
an = lizard.analyze_file("/path/to/HTTP.c")
# also tried analyze, analyze_file and giving the directory
print(an.filename)
for func in an.function_list:
print(func.fan_in)
print(func.fan_out)
the output is always 0.
The text was updated successfully, but these errors were encountered:
On 22 Jan 2019, at 5:24 PM, Spadini Davide ***@***.***> wrote:
I am having problems in calculating fan_in and fan_out of the methods. I tried different languages, different approaches (analyze recursively a directory, analyze only one file, etc.), but the result is always the same: fan_in and fan_out = 0.
What am I doing wrong?
This is the code I am using:
import lizard
an = lizard.analyze_file("/path/to/HTTP.c")
# also tried analyze, analyze_file and giving the directory
print(an.filename)
for func in an.function_list:
print(func.fan_in)
print(func.fan_out)
the output is always 0.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub <#250>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AAwJYkrATk1i3AsH-bbwCeu_qjTNII2yks5vFtiwgaJpZM4aMP1h>.
I am having problems in calculating
fan_in
andfan_out
of the methods. I tried different languages, different approaches (analyze recursively a directory, analyze only one file, etc.), but the result is always the same:fan_in
andfan_out
= 0.What am I doing wrong?
This is the code I am using:
the output is always 0.
The text was updated successfully, but these errors were encountered: