Tex:
None of what is in the pic is compliant with the NEC.
NM as in the pic must be protected from physical damage. Using cord for permanent wiring methods is non-compliant. The EGC (Equipment ground conductor) must be present and connected properly. Polarity must be correct.
'Cord caps' do not provide proper strain relief and are not listed for #12 NM (solid conductors). The angle plug is a factory item on the microwave.
Going deeper into it, box fill, cable entry, etc. could be addressed, but....why beat a dead horse.
This is in the laundry area; others are in vending areas, and guest laundry areas & fitness room of a 100+ room hotel.
All is the "quality" electrical work of the maintenance guys!
It will be corrected to compliance, as the property is being sold.