Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Please fix the following installer errors
- Install procedure validation failed for this plugin
- > Warning in wp-content/plugins/adec-app/redux-framework/ReduxCore/inc/class.redux_filesystem.php+29
Creating default object from empty value
Server metrics [RAM: ▼2.43MB] [CPU: ▼354.62ms] Passed 4 tests
Analyzing server-side resources used by ADEC (Advance Dynamic E-Commerce)
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 1.93 ▼1.58 | 5.73 ▼45.14 |
Dashboard /wp-admin | 1.95 ▼1.45 | 8.46 ▼26.45 |
Posts /wp-admin/edit.php | 1.95 ▼1.69 | 6.05 ▼39.04 |
Add New Post /wp-admin/post-new.php | 1.95 ▼5.02 | 5.04 ▼1,307.83 |
Media Library /wp-admin/upload.php | 1.95 ▼1.34 | 5.81 ▼20.46 |
Store Configuration /wp-admin/admin.php?page=ADECPlugin&tab=1 | 1.95 | 6.31 |
Options Object /wp-admin/admin.php?page=ADECPlugin&tab=3 | 1.95 | 6.44 |
Server storage [IO: ▲11.75MB] [DB: ▲0.06MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 725 new files
Database: no new tables, 2 new options
New WordPress options |
---|
obs_mobile_store-transients |
redux_version_upgraded_from |
Browser metrics Passed 4 tests
ADEC (Advance Dynamic E-Commerce): an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 4,107 ▲353 | 17.77 ▲2.52 | 9.65 ▲3.89 | 2.49 ▼0.01 |
Dashboard /wp-admin | 3,104 ▲243 | 7.63 ▲1.48 | 135.05 ▼3.71 | 192.98 ▲30.58 |
Posts /wp-admin/edit.php | 2,820 ▲129 | 4.33 ▲1.09 | 79.45 ▲16.89 | 169.48 ▲22.18 |
Add New Post /wp-admin/post-new.php | 1,666 ▲11 | 17.99 ▼2.90 | 414.18 ▼14.99 | 188.82 ▼9.60 |
Media Library /wp-admin/upload.php | 1,824 ▲130 | 6.88 ▲1.36 | 134.45 ▼8.25 | 205.58 ▼14.82 |
Store Configuration /wp-admin/admin.php?page=ADECPlugin&tab=1 | 1,615 | 4.64 | 97.66 | 200.60 |
Options Object /wp-admin/admin.php?page=ADECPlugin&tab=3 | 1,586 | 5.08 | 91.24 | 172.12 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.06MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- This plugin cannot be uninstalled
- > Warning in wp-content/plugins/adec-app/redux-framework/ReduxCore/inc/class.redux_filesystem.php+29
Creating default object from empty value
- Zombie WordPress options detected upon uninstall: 2 options
- redux_version_upgraded_from
- obs_mobile_store-transients
Smoke tests 0% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Almost there, just fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=ADECPlugin&tab=3
- > Warning in wp-content/plugins/adec-app/redux-framework/ReduxCore/inc/class.redux_filesystem.php+29
Creating default object from empty value
- 16 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=ADECPlugin&tab=3
- > Notice in wp-content/plugins/adec-app/redux-framework/sample/config.php+307
Trying to access array offset on value of type bool
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=ADECPlugin&tab=3
- > Notice in wp-content/plugins/adec-app/redux-framework/sample/config.php+319
Trying to get property 'section_one' of non-object
- 6 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=ADECPlugin&tab=3
- > Notice in wp-content/plugins/adec-app/redux-framework/sample/config.php+321
Trying to get property 'permission' of non-object
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=ADECPlugin&tab=3
- > Notice in wp-content/plugins/adec-app/redux-framework/sample/config.php+320
Trying to get property 'section_two' of non-object
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=ADECPlugin&tab=3
- > Notice in wp-content/plugins/adec-app/redux-framework/sample/config.php+321
Trying to get property 'section_three' of non-object
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 take a closer look at the following
- 30× PHP files perform the action of outputting non-empty strings when accessed directly (only 10 are shown):
- > /wp-content/plugins/adec-app/redux-framework/sample/adec_welcome_text.php
- > /wp-content/plugins/adec-app/redux-framework/sample/adec_contact_us.php
- > /wp-content/plugins/adec-app/redux-framework/sample/adec_google_analytics.php
- > /wp-content/plugins/adec-app/public/partials/plugin-name-public-display.php
- > /wp-content/plugins/adec-app/redux-framework/sample/adec_check_permission.php
- > /wp-content/plugins/adec-app/redux-framework/sample/adec_store_settings.php
- > /wp-content/plugins/adec-app/redux-framework/sample/adec_slider_permission.php
- > /wp-content/plugins/adec-app/redux-framework/sample/adec_layout_select.php
- > /wp-content/plugins/adec-app/redux-framework/sample/adec_section_one.php
- > /wp-content/plugins/adec-app/redux-framework/sample/adec_banner_permission.php
- 22× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'WP_Customize_Panel' not found in wp-content/plugins/adec-app/redux-framework/ReduxCore/inc/extensions/customizer/inc/customizer_panel.php:11
- > PHP Fatal error
Uncaught Error: Interface 'themecheck' not found in wp-content/plugins/adec-app/redux-framework/ReduxCore/inc/themecheck/checks/full_package.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/adec-app/redux-framework/ReduxCore/templates/panel/header.tpl.php:11
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/adec-app/redux-framework/ReduxCore/templates/panel/footer.tpl.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/adec-app/redux-framework/ReduxCore/inc/welcome/views/support.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function has_action() in wp-content/plugins/adec-app/redux-framework/ReduxCore/inc/class.thirdparty.fixes.php:4
- > PHP Fatal error
Uncaught Error: Class 'WP_Customize_Section' not found in wp-content/plugins/adec-app/redux-framework/ReduxCore/inc/extensions/customizer/inc/customizer_section.php:12
- > PHP Fatal error
Uncaught Error: Class 'WP_Customize_Control' not found in wp-content/plugins/adec-app/redux-framework/ReduxCore/inc/extensions/customizer/inc/customizer_control.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/adec-app/redux-framework/ReduxCore/templates/panel/header_stickybar.tpl.php:14
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/adec-app/redux-framework/ReduxCore/templates/panel/menu_container.tpl.php:16
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please fix the following browser errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=ADECPlugin&tab=3
- > Javascript (severe) in unknown
/wp-content/plugins/adec-app/redux-framework/ReduxCore/inc/extensions/options_object/options_object/field_options_object.js?ver=4.0 5:4 Uncaught ReferenceError: redux is not defined
- > GET request to /wp-admin/admin.php?page=ADECPlugin&tab=1
- > Javascript (severe) in unknown
/wp-admin/admin.php?page=ADECPlugin&tab=1 0:0 Uncaught pe: initMap is not a function
- > GET request to /wp-admin/admin.php?page=ADECPlugin&tab=3
- > Javascript (severe) in unknown
/wp-admin/admin.php?page=ADECPlugin&tab=3 0:0 Uncaught pe: initMap is not a function
Optimizations
Plugin configuration 90% 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
4 plugin tags: wordpress mobile app, mobile app, android app, mobile store
adec-app/adec.php 77% from 13 tests
"ADEC (Advance Dynamic E-Commerce)" version 1.0.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
It is important to fix the following:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Description: Please don't use more than 140 characters for the plugin description (currently 257 characters long)
- Main file name: Name the main plugin file the same as the plugin slug ("adec-app.php" instead of "adec.php")
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin75,135 lines of code in 474 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 173 | 3,494 | 4,376 | 32,835 |
PHP | 155 | 5,212 | 6,975 | 23,944 |
Sass | 63 | 650 | 94 | 7,161 |
CSS | 52 | 379 | 217 | 5,223 |
LESS | 17 | 116 | 123 | 2,361 |
Markdown | 5 | 553 | 0 | 1,673 |
SVG | 2 | 0 | 0 | 1,619 |
JSON | 3 | 0 | 0 | 107 |
XML | 2 | 1 | 0 | 97 |
HTML | 1 | 7 | 0 | 60 |
Bourne Shell | 1 | 24 | 0 | 55 |
PHP code 50% from 2 tests
An overview of cyclomatic complexity and code structure
Please tend to the following items
- Cyclomatic complexity of methods should be reduced to less than 100 (currently 113)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.56 |
Average class complexity | 35.13 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 851.00 |
Average method complexity | 5.82 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 113.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 119 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 119 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 843 | |
▷ Static methods | 111 | 13.17% |
▷ Public methods | 509 | 60.38% |
▷ Protected methods | 275 | 32.62% |
▷ Private methods | 59 | 7.00% |
Functions | 53 | |
▷ Named functions | 53 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 58 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 58 | 100.00% |
▷ Public constants | 58 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
49 PNG files occupy 0.51MB with 0.12MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
redux-framework/ReduxCore/assets/img/1col.png | 2.83KB | 0.14KB | ▼ 95.13% |
redux-framework/ReduxCore/assets/css/vendor/jquery-ui-bootstrap/images/ui-icons_ffffff_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
redux-framework/ReduxCore/assets/css/vendor/jquery-ui-bootstrap/images/ui-icons_454545_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
vendor_support/vendor/select2/select2.png | 0.60KB | 0.99KB | 0.00% |
redux-framework/ReduxCore/inc/fields/spinner/arrow_right.png | 0.15KB | 0.12KB | ▼ 18.18% |