CRITICAL
Rule Definition
Every Function that throws an exception must have an @Throws tag.
Remediation
Modify the source code to reduce the number of Functions that throw exceptions without using an @Throws tag.
Violation Code Sample
class CastTest {
public function __construct($a, $b) {
parent::__construct($a, $b);
}
}
Reference
PHPMD - http://phpmd.org/rules/codesize.html#excessiveclasslength
Related Technologies
Technical Criterion
CWE-1080 - Source Code File with Excessive Number of Lines of Code
About CAST Appmarq
CAST Appmarq is by far the biggest repository of data about real IT systems. It's built on thousands of analyzed applications, made of 35 different technologies, by over 300 business organizations across major verticals. It provides IT Leaders with factual key analytics to let them know if their applications are on track.