Class Metric Examples, using class parser and metric implementation. I have found this code useful. I think we can take some help and make our own.