Developer Edition Does Not Cover Basic Vulnerabilities

I’m trying the Developer Edition and I’ve made a test to check if it all works properly but I see it doesn’t working.

null dereference
(it doesn’t let me upload two photos because im a new user)

memory leak

cppcheck and scan build detect the null derefence and the leaks,
but Sonar doesn’t.