Hint: Inferior exterior wiring
Scroll down to see the answer
What you’re looking at is an underground feeder (UF) cable poking out of the bottom of this weatherproof box. It’s installed under this building’s exterior canopy. Using UF cable for this above ground location is permitted by Sec. 340.10(3). Section 225.10(18) also specifically permits UF to be used as outside wiring on the surface of buildings or other structures. However, just poking the UF into the box without the use of a cable connector is a violation of Sec. 314.17(B), which requires any raceways or cables installed with a metal box to be secured to the box. As for securing and supporting the UF, Sec. 340.10(4) directs us to the rules for NM cable in Art. 334. Per Sec. 334.10(B)(1), NMC cable would be permitted in this outdoor damp location too. Section 334.30 requires this cable to be secured within 12 in. of the box and at intervals of 4½ ft maximum. This UF cable has zero supports or securements! Installing a cable connector and using some cable supports would go a long way towards making this installation Code compliant.