There are some bugs in this sense and fill it to Jira may takes much time with no result. May be they already fixed in some way? May be they related?
Here the are:
Find usages for functions defined in ]]> and used in pages seems broken.
Function definition if it inside java function reffering section of definition takes 2 lines then it marked as error and not resolved. If it takes 1 line then all ok. (Even more line break often added by formatter and workaround to keep it one line not working)
I have some more of them which so minor too that's why may be postponed.
May be you will give us access for sources and we will do it ourself :) Or new kind of issue in Jira "Bug with fix" to faster process it. Or kind of online support of new Collaboration features and use it to demonstrate bugs without large project filling to Jira as examples of errors, by accepting user invite to look at bug.
By the way it may be fixed even for 5.1. ;) But hint with Demetra usage in title and posting to this forum was used to take your attention to such small and easy to fix, but annoying issue, and use right forum :)