code analysis improvements