Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.43MB] [CPU: ▼1.54ms] Passed 4 tests
An overview of server-side resources used by Licenses Manager for WooCommerce
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.90 ▲0.43 | 44.16 ▲3.95 |
Dashboard /wp-admin | 3.82 ▲0.47 | 52.17 ▼11.53 |
Posts /wp-admin/edit.php | 3.83 ▲0.47 | 50.67 ▲4.17 |
Add New Post /wp-admin/post-new.php | 6.30 ▲0.40 | 95.01 ▼2.75 |
Media Library /wp-admin/upload.php | 3.64 ▲0.40 | 40.28 ▲6.63 |
Server storage [IO: ▲0.77MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 169 new files
Database: 2 new tables, 6 new options
New tables |
---|
wp_woocommerce_qlwlm_activations |
wp_woocommerce_qlwlm_licenses |
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Licenses Manager for WooCommerce
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,922 ▲175 | 14.35 ▲0.03 | 1.92 ▼0.05 | 41.48 ▼3.54 |
Dashboard /wp-admin | 2,302 ▲128 | 5.62 ▲0.01 | 91.12 ▼13.26 | 43.38 ▲0.65 |
Posts /wp-admin/edit.php | 2,110 ▲7 | 1.96 ▲0.03 | 41.34 ▲0.81 | 38.55 ▲3.19 |
Add New Post /wp-admin/post-new.php | 1,537 ▲11 | 23.45 ▲0.08 | 602.28 ▼95.35 | 51.06 ▼8.67 |
Media Library /wp-admin/upload.php | 1,412 ▲12 | 4.18 ▼0.03 | 97.60 ▼12.34 | 43.22 ▼4.09 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie tables were found after uninstall: 2 tables
- wp_woocommerce_qlwlm_activations
- wp_woocommerce_qlwlm_licenses
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
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
Everything seems fine, however this is by no means an exhaustive test
SRP 0% 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 fix the following
- 2× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/licenses-manager-for-woocommerce/licenses-manager-for-woocommerce.php
- > /wp-content/plugins/licenses-manager-for-woocommerce/uninstall.php
- 56× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'QuadLayers\\WLM\\Backend\\Controller\\Products\\Base' not found in wp-content/plugins/licenses-manager-for-woocommerce/lib/backend/controller/products/class-wordpress.php:5
- > PHP Warning
require_once(wp-content/plugins/licenses-manager-for-woocommerce/vendor/pinkcrab/wp-psr16-cache/vendor/autoload.php): failed to open stream: No such file or directory in wp-content/plugins/licenses-manager-for-woocommerce/vendor/pinkcrab/wp-psr16-cache/tests/bootstrap.php on line 8
- > PHP Fatal error
Uncaught Error: Class 'QuadLayers\\WLM\\Api\\Endpoints\\Base' not found in wp-content/plugins/licenses-manager-for-woocommerce/lib/api/endpoints/frontend/license/class-delete.php:9
- > PHP Fatal error
Trait 'QuadLayers\\WP_Notice_Plugin_Promote\\Traits\\PluginActions' not found in wp-content/plugins/licenses-manager-for-woocommerce/jetpack_vendor/quadlayers/wp-notice-plugin-promote/src/PluginBySlugV2.php on line 20
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit\\Framework\\TestCase' not found in wp-content/plugins/licenses-manager-for-woocommerce/vendor/pinkcrab/wp-psr16-cache/tests/Test_File_Cache.php:19
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\SimpleCache\\CacheInterface' not found in wp-content/plugins/licenses-manager-for-woocommerce/vendor/pinkcrab/wp-psr16-cache/src/File_Cache.php:35
- > PHP Fatal error
Uncaught Error: Class 'QuadLayers\\WLM\\Api\\Endpoints\\Base' not found in wp-content/plugins/licenses-manager-for-woocommerce/lib/api/endpoints/frontend/activation/class-create.php:14
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/licenses-manager-for-woocommerce/lib/backend/controller/tables/view/class-list-table.php on line 9
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/licenses-manager-for-woocommerce/lib/backend/controller/orders/view/html-order-activations.php:35
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html__() in wp-content/plugins/licenses-manager-for-woocommerce/templates/license/view.php:6
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
7 plugin tags: license key, woocommerce software, license, software license, woocommerce downloads...
licenses-manager-for-woocommerce/licenses-manager-for-woocommerce.php 92% from 13 tests
The entry point to "Licenses Manager for WooCommerce" version 2.2.7 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Requires at least: The required version number did not match the one declared in readme.txt ("4.7" instead of "4.0")
Code Analysis Passed 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
Everything looks great! No dangerous files found in this plugin11,844 lines of code in 148 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 122 | 2,547 | 2,713 | 9,986 |
Markdown | 15 | 328 | 0 | 850 |
JSON | 1 | 0 | 0 | 574 |
XML | 3 | 13 | 2 | 260 |
YAML | 2 | 9 | 5 | 118 |
JavaScript | 3 | 9 | 14 | 55 |
CSS | 2 | 1 | 0 | 1 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 11.96 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 91.00 |
Average method complexity | 2.60 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.00 |
Code structure | ||
---|---|---|
Namespaces | 40 | |
Interfaces | 4 | |
Traits | 5 | |
Classes | 83 | |
▷ Abstract classes | 3 | 3.61% |
▷ Concrete classes | 80 | 96.39% |
▷ Final classes | 1 | 1.25% |
Methods | 611 | |
▷ Static methods | 204 | 33.39% |
▷ Public methods | 560 | 91.65% |
▷ Protected methods | 22 | 3.60% |
▷ Private methods | 29 | 4.75% |
Functions | 62 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 62 | 100.00% |
Constants | 59 | |
▷ Global constants | 58 | 98.31% |
▷ Class constants | 1 | 1.69% |
▷ Public constants | 1 | 100.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
PNG images were not found in this plugin