When a plumber tries to be an electrician

This is what happens when someone other than a qualified electrician does electrical work. This was found in a breakfast bar electrical outlet. Instead of proper caps wires were soldered together. The new homeowners had no idea. Outlet is now fixed and up to code.