Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▼0.36MB] [CPU: ▼13.82ms] Passed 4 tests
Analyzing server-side resources used by Quick License Manager - WooCommerce Plugin
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.78 ▲0.31 | 38.90 ▲0.95 |
Dashboard /wp-admin | 3.61 ▲0.31 | 47.02 ▼2.18 |
Posts /wp-admin/edit.php | 3.73 ▲0.37 | 50.58 ▲5.21 |
Add New Post /wp-admin/post-new.php | 3.53 ▼2.35 | 41.15 ▼56.68 |
Media Library /wp-admin/upload.php | 3.54 ▲0.31 | 37.24 ▲2.64 |
Settings /wp-admin/admin.php?page=mnu_qlm | 3.48 | 41.94 |
Email Templates /wp-admin/admin.php?page=qlm_templates | 3.55 | 35.42 |
Server storage [IO: ▲0.28MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 13 new files
Database: no new tables, 7 new options
New WordPress options |
---|
recovery_mode_email_last_sent |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Quick License Manager - WooCommerce Plugin
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,904 ▲143 | 13.56 ▼0.79 | 10.18 ▲8.60 | 38.98 ▼1.99 |
Dashboard /wp-admin | 2,214 ▲40 | 5.72 ▲0.18 | 83.54 ▼3.67 | 67.20 ▲24.73 |
Posts /wp-admin/edit.php | 2,134 ▲34 | 2.20 ▲0.24 | 39.36 ▲4.17 | 34.10 ▼4.46 |
Add New Post /wp-admin/post-new.php | 1,553 ▲24 | 23.46 ▲0.28 | 717.08 ▲66.48 | 60.16 ▲15.12 |
Media Library /wp-admin/upload.php | 1,431 ▲28 | 4.41 ▲0.17 | 92.48 ▼5.12 | 81.98 ▲36.68 |
Settings /wp-admin/admin.php?page=mnu_qlm | 712 | 1.61 | 9.24 | 21.23 |
Email Templates /wp-admin/admin.php?page=qlm_templates | 1,473 | 5.89 | 111.26 | 73.78 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin does not fully uninstall, leaving 7 options in the database
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- recovery_mode_email_last_sent
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/admin.php?page=mnu_qlm
- > Error in wp-content/plugins/quick-license-manager/classes/qlm_api_view.php+10
Uncaught Error: Call to undefined function WC() in wp-content/plugins/quick-license-manager/classes/qlm_api_view.php:10
Stack trace:
#0 wp-content/plugins/quick-license-manager/wc_qlm.php(1502): QLM_Api_View->__construct()
#1 wp-includes/class-wp-hook.php(310): QLM_Main->setting_api()
#2 wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
#3 wp-includes/plugin.php(517): WP_Hook->do_action()
#4 wp-admin/admin.php(259): do_action()
#5 {main}
thrown
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 4× PHP files output text when accessed directly:
- > /wp-content/plugins/quick-license-manager/template/api-settings.php
- > /wp-content/plugins/quick-license-manager/utils/woo-subs-helper-functions.php
- > /wp-content/plugins/quick-license-manager/classes/qlm_webhook.php
- > /wp-content/plugins/quick-license-manager/wc_qlm.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
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
3 plugin tags: ecommerce, software protection, quick license manager
quick-license-manager/wc_qlm.php 85% from 13 tests
The primary PHP file in "Quick License Manager - WooCommerce Plugin" version 2.4.15 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("quick-license-manager.php" instead of "wc_qlm.php")
- Requires at least: Required version must be the same as the one declared in readme.txt ("4.2" instead of "4.0.0")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin8,012 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 1 | 4 | 14 | 5,767 |
PHP | 8 | 668 | 279 | 2,244 |
JavaScript | 1 | 0 | 5 | 1 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 25.75 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 123.00 |
Average method complexity | 4.19 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 24.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 62 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 62 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 10 | |
▷ Named functions | 10 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.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
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/certificate.png | 1.19KB | 1.23KB | 0.00% |