Why you should care
Having illegal expressions in the code can decrease code reliability which can cause the code to be prone to errors.
Illegal exceptions are highly risky to the code as they are considered to be a warning that needs to be addressed quickly. They cause the code to be greatly unproductive.
How we detect
This code insight does not recommend declaring standard exceptions.
About CAST and Highlight’s Code Insights
Over the last 25 years, CAST has leveraged unique knowledge on software quality measurement by analyzing thousands of applications and billions of lines of code. Based on this experience and community standards on programming best practices, Highlight implements hundreds of code insights across 15+ technologies to calculate health factors of a software.