If the house was built in an unincorporated area, there probably wasn't much inspection (if any) done. That is one of the many downfalls of buying a "used" home. The house the wife and I bought about 10 years ago was an electricians nightmare. Fixtures wired about ceiling, no box, wires twisted together with electrical tape. The real killer was, we were replacing the electric range and oven, I pulled it out to unplug the unit. Once out, there was a black ball of electrical tape connecting the house wiring (solid strand to the range wiring, multi strand) no box. I shut the power down, cut out the ball and installed the proper electrical box to plug in the new unit. I think I've finally gotten all of the electrical issues sorted and fixe, but I'm not holding my breath.