But no-way would I accept that flashing"job".
First what hit me right off was how they used the bright galv.A dark color(more the color of your shingles)should have been used.
The flashing on the top is supposed to be on top of the shingles but should have inbeded in the mortar.The sides also should be in the mortar in a stepdown fashion covering the baby tins that should be under each course of shingles.
Don't know about code violation but definitely a violation of ethic.
Were I the builder,I would be ashamed to put my name on that job.:/
Make them do it right!Luck