Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲6.21MB] [CPU: ▲42.54ms] 50% from 4 tests
This is a short check of server-side resources used by Qode Essential Addons
Please take the time to fix the following items
- RAM: The total memory usage must be kept under 10MB (currently 12.28MB on /wp-admin/post-new.php?post_type=portfolio-item)
- Extra RAM: Extra memory usage must be kept under 5MB (currently 6.21MB on /wp-admin/edit-tags.php?taxonomy=portfolio-category&post_type=portfolio-item)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 9.83 ▲6.36 | 86.77 ▲44.46 |
Dashboard /wp-admin | 9.50 ▲6.19 | 92.60 ▲43.60 |
Posts /wp-admin/edit.php | 9.53 ▲6.16 | 96.66 ▲51.94 |
Add New Post /wp-admin/post-new.php | 12.28 ▲6.39 | 139.92 ▲35.48 |
Media Library /wp-admin/upload.php | 9.34 ▲6.11 | 81.89 ▲46.61 |
Portfolio Tags /wp-admin/edit-tags.php?taxonomy=portfolio-tag&post_type=portfolio-item | 9.34 | 79.23 |
Qode Portfolio /wp-admin/edit.php?post_type=portfolio-item | 9.46 | 76.22 |
Add New /wp-admin/post-new.php?post_type=portfolio-item | 12.28 | 125.78 |
Portfolio Categories /wp-admin/edit-tags.php?taxonomy=portfolio-category&post_type=portfolio-item | 9.34 | 90.79 |
Server storage [IO: ▲6.57MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 594 new files
Database: no new tables, 9 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_qode_essential_addons_side_area_opener |
widget_recent-posts |
widget_qode_essential_addons_search_opener |
widget_recent-comments |
widget_qode_essential_addons_spacer |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Qode Essential Addons: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,033 ▲271 | 14.22 ▼0.14 | 15.96 ▲14.03 | 36.38 ▼7.67 |
Dashboard /wp-admin | 2,242 ▲62 | 5.69 ▲0.09 | 92.91 ▲3.27 | 76.37 ▲35.31 |
Posts /wp-admin/edit.php | 2,170 ▲70 | 1.96 ▼0.05 | 37.85 ▲1.25 | 34.45 ▼2.05 |
Add New Post /wp-admin/post-new.php | 1,738 ▲212 | 21.77 ▼1.59 | 808.96 ▲156.86 | 53.05 ▼6.41 |
Media Library /wp-admin/upload.php | 1,447 ▲47 | 4.15 ▼0.05 | 104.11 ▼3.37 | 73.41 ▲28.95 |
Portfolio Tags /wp-admin/edit-tags.php?taxonomy=portfolio-tag&post_type=portfolio-item | 1,324 | 2.12 | 30.41 | 31.05 |
Qode Portfolio /wp-admin/edit.php?post_type=portfolio-item | 1,181 | 1.95 | 33.89 | 30.89 |
Add New /wp-admin/post-new.php?post_type=portfolio-item | 6,281 | 23.38 | 862.88 | 31.66 |
Portfolio Categories /wp-admin/edit-tags.php?taxonomy=portfolio-category&post_type=portfolio-item | 1,327 | 2.12 | 31.16 | 28.98 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- The uninstall procedure has failed, leaving 9 options in the database
- widget_qode_essential_addons_spacer
- widget_qode_essential_addons_search_opener
- can_compress_scripts
- widget_recent-comments
- widget_qode_essential_addons_side_area_opener
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
- 3× PHP files output text when accessed directly:
- > /wp-content/plugins/qode-essential-addons/inc/admin/inc/common/modules/admin/templates/navigation.php
- > /wp-content/plugins/qode-essential-addons/inc/content/templates/swiper-pag.php
- > /wp-content/plugins/qode-essential-addons/inc/admin/inc/common/modules/admin/templates/content.php
- 836× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/qode-essential-addons/inc/header/layouts/centered/helper.php:16
- > PHP Warning
include_once(QODE_ESSENTIAL_ADDONS_CPT_PATH/portfolio/variations/slider-small/slider-small.php): failed to open stream: No such file or directory in wp-content/plugins/qode-essential-addons/inc/post-types/portfolio/variations/slider-small/include.php on line 3
- > PHP Warning
Use of undefined constant QODE_ESSENTIAL_ADDONS_INC_PATH - assumed 'QODE_ESSENTIAL_ADDONS_INC_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/qode-essential-addons/inc/header/top-area/include.php on line 3
- > PHP Warning
include_once(): Failed opening 'QODE_ESSENTIAL_ADDONS_INC_PATH/header/layouts/vertical/class-qodeessentialaddons-vertical-header.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/qode-essential-addons/inc/header/layouts/vertical/include.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function qode_essential_addons_render_header_logo_image() in wp-content/plugins/qode-essential-addons/inc/header/layouts/minimal/templates/minimal.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/qode-essential-addons/inc/admin/inc/admin-notice/templates/admin-deactivation-form.php:16
- > PHP Fatal error
Uncaught Error: Class 'QodeEssentialAddons_Framework_Page' not found in wp-content/plugins/qode-essential-addons/inc/admin/inc/common/modules/attachment/core/class-qodeessentialaddons-framework-page-attachment.php:3
- > PHP Warning
include_once(QODE_ESSENTIAL_ADDONS_CPT_PATH/portfolio/variations/images-big/images-big.php): failed to open stream: No such file or directory in wp-content/plugins/qode-essential-addons/inc/post-types/portfolio/variations/images-big/include.php on line 3
- > PHP Warning
include_once(): Failed opening 'QODE_ESSENTIAL_ADDONS_PLUGINS_PATH/wp-forms/class-qodeessentialaddons-wp-forms.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/qode-essential-addons/inc/plugins/wp-forms/include.php on line 3
- > PHP Warning
Use of undefined constant QODE_ESSENTIAL_ADDONS_INC_PATH - assumed 'QODE_ESSENTIAL_ADDONS_INC_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/qode-essential-addons/inc/mobile-header/include.php on line 5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
6 plugin tags: qode interactive addons, qode, elementor, addons, qode interactive...
qode-essential-addons/class-qodeessentialaddons.php 85% from 13 tests
The entry point to "Qode Essential Addons" version 1.5.3 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("qode-essential-addons.php" instead of "class-qodeessentialaddons.php")
- Description: Please keep the plugin description shorter than 140 characters (currently 150 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin76,258 lines of code in 540 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 494 | 6,171 | 3,564 | 58,444 |
CSS | 19 | 1,805 | 615 | 11,323 |
JavaScript | 25 | 1,237 | 202 | 6,311 |
XML | 1 | 0 | 0 | 160 |
SVG | 1 | 0 | 1 | 20 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 16.56 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 219.00 |
Average method complexity | 3.08 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 55.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 2 | |
Traits | 0 | |
Classes | 115 | |
▷ Abstract classes | 18 | 15.65% |
▷ Concrete classes | 97 | 84.35% |
▷ Final classes | 0 | 0.00% |
Methods | 866 | |
▷ Static methods | 38 | 4.39% |
▷ Public methods | 845 | 97.58% |
▷ Protected methods | 5 | 0.58% |
▷ Private methods | 16 | 1.85% |
Functions | 411 | |
▷ Named functions | 405 | 98.54% |
▷ Anonymous functions | 6 | 1.46% |
Constants | 27 | |
▷ Global constants | 27 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
35 PNG files occupy 0.86MB with 0.49MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
inc/plugins/woocommerce/shortcodes/product-list/assets/img/dashboard_icon.png | 1.17KB | 0.22KB | ▼ 81.55% |
inc/admin/inc/admin-pages/assets/img/qi-addons-sidebar.png | 25.33KB | 8.61KB | ▼ 66.02% |
assets/img/side-area-bg.png | 9.65KB | 5.96KB | ▼ 38.21% |
inc/admin/inc/admin-pages/assets/img/logo-qode-interactive.png | 5.68KB | 3.37KB | ▼ 40.68% |
inc/admin/inc/admin-pages/assets/img/qi-addons-for-elementor.png | 19.42KB | 7.84KB | ▼ 59.63% |