Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼2.85ms] Passed 4 tests
This is a short check of server-side resources used by Elite Licenser addon-lite for WooCommerce
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.07 | 38.58 ▲0.05 |
Dashboard /wp-admin | 3.37 ▲0.07 | 46.52 ▼2.18 |
Posts /wp-admin/edit.php | 3.48 ▲0.13 | 48.10 ▲2.24 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.07 | 86.20 ▼10.83 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 36.65 ▲1.56 |
Elite Licenser Settings /wp-admin/admin.php?page=woocommerce-elite-licenser-addon | 3.27 | 31.00 |
Server storage [IO: ▲3.62MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 81 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Elite Licenser addon-lite for WooCommerce
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,794 ▲8 | 14.32 ▼0.21 | 1.81 ▼0.04 | 38.64 ▼2.14 |
Dashboard /wp-admin | 2,198 ▲18 | 5.53 ▼0.13 | 82.50 ▼3.40 | 37.99 ▼6.33 |
Posts /wp-admin/edit.php | 2,103 ▲6 | 1.96 ▼0.02 | 35.82 ▼4.25 | 33.18 ▼1.38 |
Add New Post /wp-admin/post-new.php | 1,531 ▲5 | 23.58 ▲0.50 | 682.11 ▼18.97 | 52.33 ▲1.52 |
Media Library /wp-admin/upload.php | 1,403 ▲6 | 4.16 ▼0.01 | 95.22 ▼3.15 | 42.02 ▼1.57 |
Elite Licenser Settings /wp-admin/admin.php?page=woocommerce-elite-licenser-addon | 1,147 | 3.01 | 62.37 | 42.18 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/woo-elite-licenser-addon/inc/elite_licenser_woocommerce_base.php:16
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please fix the following user-side errors
- > GET request to /wp-admin/admin.php?page=woocommerce-elite-licenser-addon
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-polyfill-inert,regenerator-runtime,wp-polyfill,wp-hooks&ver=6.3.1 1:28609 "jQuery.Deferred exception: Cannot read properties of undefined (reading 'replace')" "TypeError: Cannot read properties of undefined (reading 'replace')\n at HTMLInputElement.\u003Canonymous> (/wp-content/plugins/woo-elite-licenser-addon/js/main.min.js?ver=1.3:1:25504)\n at Function.each (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-polyfill-inert,regenerator-runtime,wp-polyfill,wp-hooks&ver=6.3.1:2:3129)\n at e.\u003Ccomputed>.each (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-polyfill-inert,regenerator-runtime,wp-polyfill,wp-hooks&ver=6.3.1:2:1594)\n at Object.SetDependable (/wp-content/plugins/woo-elite-licenser-addon/js/main.min.js?ver=1.3:1:25309)\n at Object.Initialize (/wp-content/plugins/woo-elite-licenser-addon/js/main.min.js?ver=1.3:1:1389)\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/woo-elite-licenser-addon/js/main.min.js?ver=1.3:1:2514)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-polyfill-inert,regenerator-runtime,wp-polyfill,wp-hooks&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-polyfill-inert,regenerator-runtime,wp-polyfill,wp-hooks&ver=6.3.1:2:27292)" undefined
- > GET request to /wp-admin/admin.php?page=woocommerce-elite-licenser-addon
- > Other (warning) in unknown
/wp-admin/admin.php?page=woocommerce-elite-licenser-addon - Failed to decode downloaded font: /wp-content/plugins/woo-elite-licenser-addon/uilib/font-awesome/4.7.0/fonts/fontawesome-webfont.woff2?v=4.7.0
- > GET request to /wp-admin/admin.php?page=woocommerce-elite-licenser-addon
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-polyfill-inert,regenerator-runtime,wp-polyfill,wp-hooks&ver=6.3.1 1:28721 Uncaught TypeError: Cannot read properties of undefined (reading 'replace')
- > GET request to /wp-admin/admin.php?page=woocommerce-elite-licenser-addon
- > Other (warning) in unknown
/wp-admin/admin.php?page=woocommerce-elite-licenser-addon - Failed to decode downloaded font: /wp-content/plugins/woo-elite-licenser-addon/uilib/font-awesome/4.7.0/fonts/fontawesome-webfont.woff?v=4.7.0
- > GET request to /wp-admin/admin.php?page=woocommerce-elite-licenser-addon
- > Other (warning) in unknown
/wp-admin/admin.php?page=woocommerce-elite-licenser-addon - Failed to decode downloaded font: /wp-content/plugins/woo-elite-licenser-addon/uilib/font-awesome/4.7.0/fonts/fontawesome-webfont.ttf?v=4.7.0
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
6 plugin tags: license key, software license, license manager, wordpress plugin license, woocommerce...
woo-elite-licenser-addon/woocommerce-product-license-manager.php 85% from 13 tests
The primary PHP file in "Elite Licenser addon-lite for WooCommerce" version 1.9 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("woo-elite-licenser-addon.php" instead of "woocommerce-product-license-manager.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin54,448 lines of code in 67 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 31 | 2,333 | 227 | 30,920 |
JavaScript | 25 | 4,338 | 4,966 | 19,233 |
SVG | 4 | 0 | 0 | 2,780 |
PHP | 5 | 168 | 50 | 1,456 |
PO File | 1 | 22 | 0 | 57 |
LESS | 1 | 0 | 0 | 2 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 54.25 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 152.00 |
Average method complexity | 3.96 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 23.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 1 | 25.00% |
▷ Concrete classes | 3 | 75.00% |
▷ Final classes | 0 | 0.00% |
Methods | 74 | |
▷ Static methods | 2 | 2.70% |
▷ Public methods | 73 | 98.65% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 1.35% |
Functions | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin