SandroLuck/SonarDelphi

Unused functions

jbabijczuk opened this issue · 1 comments

Source.zip

Hello,

There is something wrong with metric "Unused functions".
I have declarated global function F2 in unit u1 and I used this function in unit2 but Sonar says that the function is not used :(

The same situation occurs when I don't add () at the end of the function call.

example in attachment

best regards
Jarek
screen1

Are you running the analysis on one big project or two small?
Generally over more complex projects i found a false positive rate of around 50%(see it more as an indicator at the moment)