Let's ask the other way round: what of the stuff we see here is actually acceptable according to the NEC and to your local code?

Stapling cable to the wall would be perfectly acceptable here, feeding fixed installations with cord and plug too, although only if proper strain relief is provided. Of course the angle plug with half-torn cord is inacceptable just about anywhere.