Added rest API for lines of code, complexity and documentation