Post
FollowIncorrect 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:
https://doc.castsoftware.com/display/TECHNOS/.NET+-+Technical+notes+and+limitations#id-.NETTechnicalnotesandlimitations-.NETWebServices
The analyzer has not been conceived to create links from C# objects back to JS functions. You can open a feature request as per:
https://help.castsoftware.com/hc/en-us/articles/205009417-How-to-submit-suggestions-for-product-improvements
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.