The most obvious code violation is that the hole for the ground prong is on the right side and everyone knows it belongs on the left. :-)'
Seriously though, the missing cover needs to be replaced, hopefully with one that will be rain tight while in use. The original cover was made for a vertical orientation and was not correctly installed. Also, it is possible that the gasket did not form a seal with the brick/mortar joint and it should be verified that this receptacle is GFI protected.
Thanks Tom, I will continue to add images of this type here with the NEC in mind, and if you answer, or another person answers the questions, let's give a specific code reference and text courtesy to: www.nfpa.org and preferably the 2005 edition.
Joe Tedesco, NEC Consultant
Best PictureI am attaching to this post or thread the best ... 22 REPLIES
Light switchIf you just have the one set of wires in switch... 3 REPLIES