The reason professionals of any trade can alway spot DIY work is because even if the DIY work meets code they do not follow accepted trade practices or procedures.
It's easy to tell DIY framing from professional new construction, too. If you put a level and a square on the wall and it's square and plumb, it's DIY!