Bubble Code Review for Magento



Similar documents
Bubble Full Page Cache for Magento

Bubble Full Page Cache for Magento

X-POS GUIDE. v3.4 INSTALLATION SmartOSC and X-POS

ProxiBlue Dynamic Category Products

Official Amazon Checkout Extension for Magento Commerce. Documentation

ultimo theme Update Guide Copyright Infortis All rights reserved

ultimo theme Update Guide Copyright Infortis All rights reserved

Installation Manual for Catalog Infinite Scroll extension

LICENTIA. InvoiceXpress Integration

Shop by Manufacturer Custom Module for Magento

Top Navigation menu - Tabs. User Guide 1. &

SFC Featured Categories, Magento Extension Documentation

JOINUS AG. PowerPay Checkout. Magento Module User Manual. Support:

The importance of Drupal Cache. Luis F. Ribeiro Ci&T Inc. 2013

Version USER GUIDE

Content Management System

CheckItOut Developer Manual

Product Name: Size Chart Popup Version: Document Type: Help doc Author: Milople Inc.

ProxiBlue Gift Promotions

SMSNotify Extension. User Documentation. Automated SMS sender and customer relationship tool. SMSNotify User Documentation 1

Product Name: ANZ egate Connect Version: Document Type: Help doc Author: Milople Inc.

AUDIT REPORT EXAMPLE

M-Turbo: Magento E-Commerce Accelerator Documentation. Michal Unzeitig Jiří Chmiel

Altima Lookbook Free Extension v

install the extension:

Dashboard Builder TM for Microsoft Access

HOW TO CREATE THEME IN MAGENTO 2

MAGEJAM PLUGIN INSTALLATION GUIDE

Installing Drupal on Your Local Computer

Morningtime Ogone Pro Manual (manual v1.0) Step 1 - Preparations Step 2 - unpack and copy files... 2

Version 4.0 MageB2B Pricesystem ReadMe AIRBYTES GmbH

Installation, Configuration, and Usage

MAGENTO Migration Tools

Mage AW Blog Integrated Search

USER GUIDE Slink for Magento

ekomimeetsmage Manual for version 1.0.0, 1.1.0, 1.2.0, 1.3.0, 1.4.0

TAO Installation Guide v0.1. September 2012

Upgrading MySQL from 32-bit to 64-bit

Digital Downloads Pro

Multivendor Extension User Guide

Openbravo ERP Magento. Installation Guide

GPMD CheckoutSuite for Magento Documentation

GX/GP Firmware Upgrade Procedure

Installing Magento Extensions

Payment module integration for Magento 2. Version 2.0.0

Magento Extension Point of Sales User Manual Version 1.0

The easy way to a nice looking website design. By a total non-designer (Me!)

CN=Monitor Installation and Configuration v2.0

Installation Tutorial Script: The Real Estate Script. 1. Please login to download script. On PHP Classifieds Script web site.

Publish Joomla! Article

Content Management Systems: Drupal Vs Jahia

Sugar Open Source Installation Guide. Version 4.5.1

XCloner Official User Manual

Installing LearningBay Enterprise Part 2

Solr Bridge Search Installation Guide

Site Store Pro. INSTALLATION GUIDE WPCartPro Wordpress Plugin Version

skype ID: store.belvg US phone number:

FORTIS. User Guide. Fully responsive flexible Magento theme by Infortis. Copyright Infortis. All rights reserved

EMC Documentum Connector for Microsoft SharePoint

FileMaker Server 14. FileMaker Server Help

CROWNPEAK C# API SYSTEM CONFIGURATION GUIDE VERSION 3.0.1

Migrating helpdesk to a new server

Hitachi PaybyFinance Magento Plugin

WordPress Security Scan Configuration

About This Document 3. About the Migration Process 4. Requirements and Prerequisites 5. Requirements... 5 Prerequisites... 5

SafeGuard Enterprise upgrade guide. Product version: 7

Web Technologies Week 4 Hosting, Servers and Databases. Context. Contents. MSc in Computing Computing - IBITE Liverpool Hope University College

GpsGate Server. Installation and Administration Guide. Version: 2.2 Rev: 2

Elgg 1.8 Social Networking

Integrate Rails into an Existing IIS Web infrastructure using Mongrel

Important Notice. All company and brand products and service names are trademarks or registered trademarks of their respective holders.

To install Multifront you need to have familiarity with Internet Information Services (IIS), Microsoft.NET Framework and SQL Server 2008.

shweclassifieds v 3.3 Php Classifieds Script (Joomla Extension) User Manual (Revision 2.0)

Define and Configure an Application Request Routing Server Farm

vtiger CRM 4.2 Installation Guide for Linux OS

PORTAL ADMINISTRATION

Installing and Using the Zimbra Reporting Tool

Umbraco Courier 2.0. Installation guide. Per Ploug Hansen 5/24/2011

skype ID: store.belvg US phone number:

About This Document 3. Integration Overview 4. Prerequisites and Requirements 6

IIS SECURE ACCESS FILTER 1.3

Criteo Tags & Feed Extension for Magento

Secure Messaging Server Console... 2

MAMP 3 User Guide! March 2014 (c) appsolute GmbH!

MySQL Quick Start Guide

SETTING UP AND RUNNING A WEB SITE ON YOUR LENOVO STORAGE DEVICE WORKING WITH WEB SERVER TOOLS

SecureAware on IIS8 on Windows Server 2008/- 12 R2-64bit

PHP on IBM i: What s New with Zend Server 5 for IBM i

How To Install Storegrid Server On Linux On A Microsoft Ubuntu 7.5 (Amd64) Or Ubuntu (Amd86) (Amd77) (Orchestra) (For Ubuntu) (Permanent) (Powerpoint

WorkSite 8.5 imanage Certified Systems Engineer

INSTALLATION GUIDE MC

TARGETPROCESS INSTALLATION GUIDE

Transcription:

User Guide Author: Version: Website: Support: Johann Reinke 1.1 https://www.bubbleshop.net bubbleshop.net@gmail.com

Table of Contents 1 Introducing Bubble Code Review... 3 1.1 Features... 3 1.2 Compatibility... 3 2 Installation... 3 3 How to use... 3 3.1 Launch review from browser... 3 3.2 Launch review from the command line... 3 4 Analyze results... 4 4.1 Server and Magento configuration... 4 4.2 Pages load time and cache strategy... 4 4.3 SQL debugging... 5 4.4 Class rewrites... 5 4.5 Bad practices (specific modules and templates)... 6 5 Customize code review... 7 5.1 Specific store... 7 5.2 Specific URL... 7 5.3 Script parameters... 7 5.3.1 SQL queries count... 7 5.3.2 Disable reports... 8 5.3.3 Help... 8 6 Reports... 8 2

1 Introducing Bubble Code Review 1.1 Features Here are the main features of Bubble Code Review extension for Magento: Calculate pages load time Count and show SQL queries List all classes rewrites (models, blocks, helpers) and prevent potential conflicts Show cache strategy of rendered blocks Check server configuration (PHP, APC, MySQL,...) Check Magento configuration Inspect local modules and theme templates to find potential bad practices Automatic debugging of homepage, category view and product view Count active and disabled modules Count entities (products, categories, customers, URL rewrites,...) Check forbidden URLs Run code review from browser or from command line Custom stores and URLs debugging Automatic report generation 1.2 Compatibility Bubble CMS Tree has been tested successfully on the following Magento versions: Magento Community Edition 1.6.x, 1.7.x, 1.8.x, 1.9.x. Magento Enterprise Edition 1.11.x, 1.12.x, 1.13.x, 1.14.x. 2 Installation Backup your existing database Download and unzip extension in your Magento root folder Clear cache via System > Cache Management > Flush Magento Cache Important! The module is not supposed to stay in a production environment indefinitely since there is a debug mode available showing information that should not be retrieved by public users. 3 How to use 3.1 Launch review from browser Once extension is installed, you just have to launch your favorite browser and to call your Magento store with the following URL: http://mystore.com/shell/review.php 3.2 Launch review from the command line You can also run the script from the command line by running the following command: php shell/review.php 3

4 Analyze results 4.1 Server and Magento configuration The first thing the script does is showing information about the server and Magento configuration. It is important to try following the recommendations about the configuration for better performances of your Magento store. 4.2 Pages load time and cache strategy One important section is load times of each rendered blocks of a page. The script also retrieves the cache strategy for each block. 4

The list is displayed as a tree structure in order to see blocks children easily. 4.3 SQL debugging Another important section is the SQL queries debugging that allows you to see SQL queries that are run on each page. You can also see the queries per template or how often a same query is run. Note: you can customize from how many queries count you want to display queries. Default is 2, more information on how to define queries count parameter below. 4.4 Class rewrites The list of class rewrites is particularly useful to see in a second how many and which core classes are rewritten by the custom modules. It s also possible to see the core classes that are rewritten twice or more and thus prevent potential conflicts. 5

4.5 Bad practices (specific modules and templates) Best practices that Magento development implies must be respected in order to upgrade easily to a new version and to facilitate the source code understanding. The script checks automatically the custom modules (community and local) and the templates of the specified store view. 6

5 Customize code review 5.1 Specific store The default behaviour is to run the code review on the default store view. In order to run the script on a specific store, you just have to add the store code as a parameter like this: Running from browser: /shell/review?store=french Running from CLI: php shell/review.php -- --store french 5.2 Specific URL 3 URLs are checked by default: The homepage A random category page A random product page You can specify which page you want to debug by adding the URL as a parameter: Running from browser: /shell/review?url=http://mystore.com/my-custom-page.html Running from CLI: php shell/review.php -- --url http://mystore.com/my-custom-page.html If you specify a custom URL, the default pages will not be added to the code review. 5.3 Script parameters 5.3.1 SQL queries count By default, only SQL queries that are run more than twice are displayed. If you want to modify this behavior, just add a count parameter to the script command: Running from browser: /shell/review?count=1 Running from CLI: php shell/review.php -- --count 1 7

5.3.2 Disable reports A report is automatically generated and saved after each review. You can disable this by adding a parameter like this: Running from browser: /shell/review?no-report=1 Running from CLI: php shell/review.php -- --no-report 5.3.3 Help To show script help, just do: Running from browser: /shell/review?help Running from CLI: php shell/review.php -- -h 6 Reports Reports are generated each time a review is run (unless you disable it). They are simple text files located in var/review/ folder and are identical if you run the review from the browser or from the command line. 8