Class not found

CachéQuality release 
1.3.0
Id 
OS0077
Rule type 
Severity 

Critical

Critical
SQALE characteristic 
  • Reliability
    • Resource
Tags 
runtime-failure
Remediation function 
Constant/issue
Remediation cost 
3h

The class must exists.

Noncompliant Code Example

Following code will raise a "CLASS NOT FOUND error" message on runtime for any call to the foo class method.

Class Sample.Foobar
{
    ClassMethod foo()
    {
        do ##class(Violated).bar() // CLASS NOT FOUND error
    }
}