Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲3.61MB] [CPU: ▼127.47ms] Passed 4 tests
This is a short check of server-side resources used by Page Builder with Image Map by AZEXO
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 6.31 ▲3.58 | 80.55 ▲59.84 |
Dashboard /wp-admin | 6.72 ▲3.66 | 53.73 ▲8.25 |
Posts /wp-admin/edit.php | 6.73 ▲3.61 | 61.33 ▲19.47 |
Add New Post /wp-admin/post-new.php | 9.10 ▲3.67 | 99.95 ▼554.40 |
Media Library /wp-admin/upload.php | 6.61 ▲3.60 | 49.15 ▲16.82 |
AZH Widgets /wp-admin/edit.php?post_type=azh_widget | 6.68 | 51.66 |
Add AZH Widget /wp-admin/post-new.php?post_type=azh_widget | 7.57 | 69.86 |
Forms Settings /wp-admin/admin.php?page=azh-forms-settings | 6.61 | 50.93 |
AZEXO Builder /wp-admin/admin.php?page=azh-settings | 6.52 | 50.96 |
Widget type /wp-admin/edit-tags.php?taxonomy=widget_type&post_type=azh_widget | 6.64 | 51.90 |
Server storage [IO: ▲12.81MB] [DB: ▲0.04MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 671 new files
Database: no new tables, 8 new options
New WordPress options |
---|
azh-content-settings |
azh-elements-library-shortcode |
widget_azh_widget |
azh-get-content-scripts |
azh-library |
azh-all-settings |
azh-settings |
azh-sections-library-shortcode |
Browser metrics Passed 4 tests
A check of browser resources used by Page Builder with Image Map by AZEXO
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 4,321 ▲725 | 23.87 ▲8.28 | 39.83 ▲30.63 | 48.04 ▼6.12 |
Dashboard /wp-admin | 3,322 ▲391 | 10.87 ▲4.89 | 192.62 ▲49.39 | 105.34 ▼5.95 |
Posts /wp-admin/edit.php | 3,362 ▲623 | 7.39 ▲4.67 | 102.47 ▲40.19 | 96.55 ▲6.87 |
Add New Post /wp-admin/post-new.php | 1,770 ▲85 | 20.37 ▲1.25 | 266.50 ▼107.01 | 103.49 ▲0.97 |
Media Library /wp-admin/upload.php | 2,152 ▲345 | 7.76 ▲2.72 | 141.67 ▼1.31 | 117.13 ▲0.46 |
AZH Widgets /wp-admin/edit.php?post_type=azh_widget | 2,043 | 7.27 | 102.85 | 79.19 |
Add AZH Widget /wp-admin/post-new.php?post_type=azh_widget | 2,701 | 8.69 | 261.67 | 191.86 |
Forms Settings /wp-admin/admin.php?page=azh-forms-settings | 1,810 | 6.96 | 94.97 | 92.15 |
AZEXO Builder /wp-admin/admin.php?page=azh-settings | 1,912 | 7.33 | 98.36 | 94.70 |
Widget type /wp-admin/edit-tags.php?taxonomy=widget_type&post_type=azh_widget | 2,390 | 7.29 | 102.28 | 85.17 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.04MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 8 options in the database
- azh-settings
- azh-get-content-scripts
- azh-all-settings
- widget_azh_widget
- azh-elements-library-shortcode
- azh-content-settings
- azh-library
- azh-sections-library-shortcode
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Smoke test failed, please fix the following
- > GET request to /wp-admin/admin.php?page=azh-settings
- > Notice in wp-content/plugins/page-builder-by-azexo/settings.php+369
Undefined index: post
- > GET request to /wp-admin/admin.php?page=azh-settings
- > Notice in wp-content/plugins/page-builder-by-azexo/settings.php+369
Undefined index: attachment
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/page-builder-by-azexo/envato/server-script.php
- 25× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/page-builder-by-azexo/integrations/woocommerce.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/page-builder-by-azexo/integrations/siteorigin.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function language_attributes() in wp-content/plugins/page-builder-by-azexo/azexo-html-template.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/page-builder-by-azexo/envato/updater.php:209
- > PHP Fatal error
Uncaught Error: Call to undefined function azh_get_library() in wp-content/plugins/page-builder-by-azexo/shortcodes/azh_elements_library_grouped.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/page-builder-by-azexo/integrations/wpbakery.php:34
- > PHP Warning
session_start(): open(wp-content/plugins/page-builder-by-azexo/envato/sessions//sess_1rtmqmo2efrgsvpqt3sd11cfd0, O_RDWR) failed: No such file or directory (2) in /var/www/wordpress/wp-content/plugins/page-builder-by-azexo/envato/server-script.php on line 21
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/page-builder-by-azexo/settings.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/page-builder-by-azexo/options-translation.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/page-builder-by-azexo/customizer.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
5 plugin tags: floor plans, svg map, hotspot map, image map, lookbook
page-builder-by-azexo/azexo_html.php 85% from 13 tests
The primary PHP file in "Page Builder with Image Map by AZEXO" version 1.27.133 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("page-builder-by-azexo.php" instead of "azexo_html.php")
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected86,850 lines of code in 543 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 368 | 5,603 | 4,377 | 45,670 |
PHP | 33 | 1,247 | 1,304 | 14,554 |
CSS | 20 | 609 | 424 | 11,479 |
LESS | 6 | 404 | 56 | 7,543 |
SVG | 47 | 0 | 2 | 5,905 |
HTML | 65 | 4 | 0 | 893 |
Sass | 1 | 104 | 0 | 538 |
JSON | 2 | 0 | 0 | 195 |
Markdown | 1 | 19 | 0 | 73 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.52 |
Average class complexity | 41.31 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 199.00 |
Average method complexity | 3.96 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 58.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 13 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 13 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 177 | |
▷ Static methods | 5 | 2.82% |
▷ Public methods | 135 | 76.27% |
▷ Protected methods | 21 | 11.86% |
▷ Private methods | 21 | 11.86% |
Functions | 329 | |
▷ Named functions | 315 | 95.74% |
▷ Anonymous functions | 14 | 4.26% |
Constants | 35 | |
▷ Global constants | 35 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
103 PNG files occupy 0.14MB with 0.08MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
azh/layout/accordion.png | 1.03KB | 0.41KB | ▼ 60.70% |
azh/layout/hover-trigger.png | 1.61KB | 0.77KB | ▼ 51.97% |
azh/forms/recaptcha.png | 1.01KB | 0.53KB | ▼ 47.44% |
azh/layout/background.png | 1.91KB | 0.90KB | ▼ 52.72% |
azh/content/gmap.png | 3.01KB | 1.50KB | ▼ 50.19% |