HTML Logo by World Wide Web Consortium ( Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS. ocPortal 9 is superseded by Composr 10.

Head over to for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.

Code quality checker

The code quality checker is an advanced tool to check PHP code to ensure it is valid and compliant with ocProducts standards. As a full parser for PHP, the tool can find problems before code is even executed.
   It includes a strong type checker, unlike PHP which is weak typed: therefore this tool can be used to find problems that PHP would not report. The type checking is based upon the PHPDoc-style API documentation ocPortal uses throughout.
   Dozens of checks are included to find common mistakes that PHP would not detect, or would only detect when specific involved code paths are executed.
   There is a simple Windows frontend, with the main tool written in PHP.
   This tool is designed for ocPortal, but with a small amount of modification, could be used as a general tool. It is released under the ocProducts open source licence.