The frequency with which you should perform a secure code review or test depends on several factors such as industry regulations, compliance requirements, sensitivity of data being stored/used by the application etc. Regular testing (such as bi-annually) will help maintain system integrity over time while mitigating any unforeseen risks that may be encountered down-the-line.