Closes #28 by adding metric for local/static functions