walk_code function

Static code analysis