Not really. In theory you can, but in practice there are parts written by a different team and you don't know the scope of there parts.
I also know someone who maintains some Clinton era encryption. that code is controlled who can know about it as obsecurity was all you were allowed. There are other pathalogical cases where you can't know everything about your program-