Fixed code formatting and metric classification

Fixed code formatting and metric classification

Fixed problems with indentation, code formatting and changed condition
which detects the complexity of a page based on parser output