1 follower Follow

Incorrect dead code violation in the ED Dashboard

Checking the source code we can see that C# source creates HTML/JS pages dynamically and then assigns the javascript fucntion on the onclick Event. This kind of links are not supported by the analyzer as they are not part of typical Frontend/Backend scenarios:

The analyzer has not been conceived to create links from C# objects back to JS functions. You can open a feature request as per:

Hence the violations will appear in this case as there are no links created in the first place. If you only use product for Quality  Rules, I suggest you disable rule as the specific application architecture is likely to produce false positives.

Please refer the ticket 31817

Please sign in to leave a comment.