Namespace QA Rules

From Koha Wiki
Jump to navigation Jump to search

QA Rules For Koha:: Namespace

In order for a module to be included in Koha:: or patches submitted against an existing module in Koha:: to be committed, the code must adhere to the following QA standards:

  • use "strict" and "warning" pragmata
  • include valid POD
  • include complete and functioning documented test cases
  • not create circular dependencies
  • use Object Oriented (OO) style everywhere it makes sense
  • minimize exports
  • maintain mod_perl, etc. compatibility
  • separate data access methods from business logic