more simplecov config
parser: function definitions; refactor defs