Fixed issues in code analyser.