gmit it really depends on what you mean, and what people are asking for here. Consider this example function:
void countMemoryUsedAndFreed(bool bParam)
{
CMyClass pData = NULL;
if(true == bParam)
{
pData = new CMyClass(true, 1, 1)
}
else
{
pData = new CMyClass()
}
// ...
delete pData;
}
I have been kind by calling delete explicitly. There is going to be a lot of code that does this even if there are alternate methods.
Now consider Find References, the correct count for "new" is 2. For the original request what is the correct count? I don't know, since it depends on the exact expectations for this tool.
I can make a case that new and delete can only be tracked at run time, due to conditional code and user interaction. Just looking at static analysis counting memory creation and deletion, when you consider copy constructors, over loaded operators, etc, is something that is well beyond VA's current scope. It raises problems we don't current even try to solve.