The economic incentive of science is for your work to be replicated and cited. Not publishing the code and data means your work is harder to reuse for subsequent studies and will hurt citations.
If it's uncommon to release code then I'd doubt anyone in the peer review will review it.
If it's uncommon to release code then I'd doubt anyone in the peer review will review it.