Package naming convention

objectscriptQuality release 
3.3.0
Id 
OS0104
Rule type 
Code Smell
Severity 

Minor

Minor
SQALE characteristic 
  • Maintainability
    • Maintainability compliance
    • Readability
Tags 
clarity, coding-guidelines
Remediation function 
Constant/issue
Remediation cost 
5m

You should follow ObjectScript Package Naming Convention by using lowercase in package naming except for the class itself..

Non-compliant code

Following code does not follow package naming convention:

class Company.Project.SubPackage.TheClass
{
ClassMethod HelloWorld as %String {
return "Hello World!"
}
}

Compliant code

Following code follows package naming convention:

class company.project.subpackage.TheClass
{
ClassMethod HelloWorld as %String {
  return "Hello World!"
}
}