I am trying to run lizardio extensions (fan-in and fan-out) with other extensions, however, it is failing to calculate the fan-in and fan-out in the following example:
from lizard import FileAnalyzer, get_extensions
if __name__ == '__main__':
lizard_object = FileAnalyzer(
get_extensions(["io", "ns", "nd"])).analyze_source_code("a.cpp", """int foo(){bar();
if(a){ b;}
}
int bar(){foo();};""")
print lizard_object.function_list[0].__dict__
print lizard_object.function_list[1].__dict__
It seems that lizardio cannot be activated with the help of get_extensions while other extensions are working correctly. Is there any alternative to run the lizardio with other via analyze_source_code?
Hi!
I am trying to run lizardio extensions (fan-in and fan-out) with other extensions, however, it is failing to calculate the fan-in and fan-out in the following example:
the output:
It seems that lizardio cannot be activated with the help of
get_extensions
while other extensions are working correctly. Is there any alternative to run the lizardio with other viaanalyze_source_code
?