ZnunyCodePolicy
Checked by AI · 31 Oct 2026Freeby Znuny GmbHcompany
A development utility for Znuny and OTRS that checks extension packages for compliance with coding standards and best practices.
znunycodepolicy Install the Open ITSM Hub repository package, then use this ID in the OTOBO or Znuny Package Manager.
Features
Perl Code Quality
Checks Perl files for syntax errors and compliance with the Znuny coding style using Perl::Tidy.
SOPM Validation
Validates .sopm files for correct structure and required tags (e.g., transition from otrs_package to package).
XML SysConfig Check
Verifies XML configuration files for well-formedness and adherence to SysConfig schemas.
Translation Check
Ensures that translation files (.pot) are complete and correctly formatted.
Git Integration
Can be configured as a git pre-commit hook to enforce code checks before every commit.