lightweight c++ code smell detector