This is a python script for calculating maintainability index for C/C++ source code. It is based on lizard code complexity analyzer ( http://www.lizard.ws/ )
I tried contacting the original author of lizard to incorporate the maintainability index computation into the primary distribution but got no reply, hence this fork.
This is a simple command-line utility. No guarantee is made about the validity of the calculation.