Developer Pre-Launch QA

Before the launching of a site, always check these code items in the repository directory:

  • Verify version number is updated and matches in css-dev/style.scss, functions.php, & package.json.
  • Verify that Responsive Foundation points to an actual release not the develop branch of responsive-foundation in bower.json
  • Verify readme.md file has been updated with theme specific information.
  • Verify that all TODO‘s have been completed, removed, and/or issues opened for anything remaining.
  • Verify that all Test Code has been removed.
  • Remove any // commented out code.
  • Verify that all php-dev/ templates and hooks from the starter theme have been removed and Delete the php-dev/ folder and related filters in functions.php.
  • Complete final code formatting.
  • Look for any micro-optimizations ( Example: removing close ?> tags or unnecessary variable assignments. )
  • Look for complicated code and consider refactoring.
  • Consider ‘function-alizing’ any repeated or repeating code.
  • Verify each function has a doc bloc comment.
  • Deactivate Query Monitor and other plugins not needed on Production[Live].
  • Verify all images inserted via code have a size associated to prevent extra large several MB images from outputting.