Report transformation can produce wrong results --
methods are erraneously not considered to be called.
This happesn when a class mentioned in the report is
also used as a paramter in function call of some other
class.
In this case CallChainer::followTheCall(Document,
Element, int) is getting confused because it receives
wrong results from function XmlUtil::findNode. The
nodes returned by this function are (sometimes?) PARAM
nodes instead of METHOD.
Possible solution -- new function
XmlUtil::findNodeOfType(Document, String, String,
String) which looks for nodes of particular type. In
our case -- METHOD has to be specified.
File attached is just a suggestion, is not supposed to
be taken directly into repository.
Patch suggestion