Find functions in a project that has a function call to a function but has no call to anotherone
In my situation, I would like to find out all the functions containing this function call

    DBase.CreateCommand();

But not include the following call

    DBase.CloseCommand(cmd);

In that function.

What I'm trying to do is to find out any not closed database connections.

A tool, plugin, regex etc. are all welcome.
Find functions in a project that has a function call to a function but has no call to anotherone
===

In my situation, I would like to find out all the functions containing this function call

    DBase.CreateCommand();

But not include the following call

    DBase.CloseCommand(cmd);

In that function.

What I'm trying to do is to find out any not closed database connections.

A tool, plugin, regex etc. are all welcome.