On one major project I worked on, the documentation was virually non-existent, and the code looked like spagetti. In fact, most of the base classes needed to be rewritten, and ALL of the memory allocation and deletion calls had to be reimplemented.
The original code and accompanying "documentation" was written by off-shore "consultants" in India.
NEVER, repeat NEVER hire Russian programmers unless they have been successful in the states for a while.
Trust me on this one.