added code metric macros