What's right.. hmm.. they used wirenuts.. beyond that, it looks pretty hopeless..
lots wrong with it..
poor workmanship romex lack of chase nipple/bushing lack of connector on flex improper phase color (assuming 3 phase) improper phase sequence improper grounding inoperative equipment improperly sized wiring? did I mention the poor workmanship?