Can I see the implementation of Nilness Analyzer?

已回答

hi~

Recently I am implementing some plugin inspections which is like nilness analyzer. It would be very helpfu to see how it implents in goland since my implementation seems redundant and inefficient. 

Is that possible to konw the detail of nilness analyzer in coding?

Thanks in advance

0
正式评论

Hi. GoLand is a commercial product, so we cannot show the sources. As for the nilness analyzer itself, it has a number of problems right now, its internal model is a bit inaccurate, and this leads to false positive detections. So, until we fix that, I wouldn't use it as a basis for your inspections.

请先登录再写评论。