SonarDelphi icon indicating copy to clipboard operation
SonarDelphi copied to clipboard

Unused functions

Open jbabijczuk opened this issue 8 years ago • 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

jbabijczuk avatar Oct 03 '16 21:10 jbabijczuk

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)

SandroLuck avatar Oct 05 '16 08:10 SandroLuck