Closed werifu closed 1 year ago
Btw, if there are multiple methods with the same name like method()
in both class MyLib1_1
and class MyLib1_2
in mylib1.js, this bug still occurs.
This is not a bug but an imprecise result. Some objects, including class instances, are modeled using field-based analysis, which means that methods with the same name in neighboring packages are mixed together in the abstraction.
I have 3 files: index.js, mylib1.js and mylib2.js
After analyzing the index.js with
jelly --callgraph-html cg.html index.js
There is a redundant edge [index.js => MyLib2.method] which is not called. This may only happen when exporting a class, while another functionmethod
exported in mylib2.js is ignored correctly.