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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.02MB] [CPU: ▲0.63ms] Passed 4 tests
A check of server-side resources used by Enwikuna License Manager for WooCommerce
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 36.23 ▼2.11 |
Dashboard /wp-admin | 3.33 ▲0.03 | 50.53 ▲4.00 |
Posts /wp-admin/edit.php | 3.44 ▲0.09 | 47.69 ▲4.95 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 80.00 ▼4.33 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 39.56 ▲5.68 |
Server storage [IO: ▲2.70MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 385 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
elm_admin_notices |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Enwikuna License Manager for WooCommerce
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,801 ▲66 | 14.35 ▼0.30 | 1.59 ▲0.12 | 39.48 ▼1.41 |
Dashboard /wp-admin | 2,204 ▲30 | 5.65 ▼0.01 | 80.69 ▼9.10 | 37.61 ▼6.47 |
Posts /wp-admin/edit.php | 2,109 ▲9 | 2.09 ▲0.09 | 34.76 ▼0.85 | 33.94 ▼1.36 |
Add New Post /wp-admin/post-new.php | 1,538 ▲10 | 23.18 ▼0.01 | 652.60 ▼45.50 | 55.56 ▲3.28 |
Media Library /wp-admin/upload.php | 1,415 ▲15 | 4.17 ▼0.03 | 107.27 ▲1.41 | 50.23 ▲1.03 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 75% 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 50% 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
Please fix the following
- 10× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'Defuse\\Crypto\\Exception\\CryptoException' not found in wp-content/plugins/enwikuna-license-manager/vendor/defuse/php-encryption/src/Exception/WrongKeyOrModifiedCiphertextException.php:5
- > PHP Warning
require(defuse-crypto.phar): failed to open stream: No such file or directory in wp-content/plugins/enwikuna-license-manager/vendor/defuse/php-encryption/dist/phar-testing-autoload.php on line 2
- > PHP Fatal error
Uncaught Error: Class 'Defuse\\Crypto\\Exception\\CryptoException' not found in wp-content/plugins/enwikuna-license-manager/vendor/defuse/php-encryption/src/Exception/BadFormatException.php:5
- > PHP Fatal error
Uncaught Error: Class 'Defuse\\Crypto\\Exception\\CryptoException' not found in wp-content/plugins/enwikuna-license-manager/vendor/defuse/php-encryption/src/Exception/IOException.php:5
- > PHP Fatal error
Uncaught UnexpectedValueException: creating archive "wp-content/plugins/enwikuna-license-manager/vendor/paragonie/random_compat/dist/random_compat.phar" disabled by the php.ini setting phar.readonly in /var/www/wordpress/wp-content/plugins/enwikuna-license-manager/vendor/paragonie/random_compat/other/build_phar.php:12
- > PHP Fatal error
require(): Failed opening required 'defuse-crypto.phar' (include_path='.:/usr/share/php') in wp-content/plugins/enwikuna-license-manager/vendor/defuse/php-encryption/dist/phar-testing-autoload.php on line 2
- > PHP Fatal error
Uncaught Error: Class 'Defuse\\Crypto\\Exception\\CryptoException' not found in wp-content/plugins/enwikuna-license-manager/vendor/defuse/php-encryption/src/Exception/EnvironmentIsBrokenException.php:5
- > PHP Warning
require_once(lib/byte_safe_strings.php): failed to open stream: No such file or directory in wp-content/plugins/enwikuna-license-manager/vendor/paragonie/random_compat/psalm-autoload.php on line 3
- > PHP Fatal error
Uncaught Error: Class 'Defuse\\Crypto\\Crypto' not found in wp-content/plugins/enwikuna-license-manager/vendor/defuse/php-encryption/src/RuntimeTests.php:14
- > PHP Fatal error
require_once(): Failed opening required 'lib/byte_safe_strings.php' (include_path='.:/usr/share/php') in wp-content/plugins/enwikuna-license-manager/vendor/paragonie/random_compat/psalm-autoload.php on line 3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that need to be fixed:
- Tags: You are using too many tags: 17 tag instead of maximum 10
enwikuna-license-manager/enwikuna-license-manager.php Passed 13 tests
"Enwikuna License Manager for WooCommerce" version 1.2.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
94 characters long description:
A great and simple solution to easily sell and manage licenses through your WooCommerce store.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected34,801 lines of code in 354 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 237 | 4,673 | 13,682 | 18,400 |
JavaScript | 70 | 1,600 | 629 | 6,009 |
PO File | 2 | 1,406 | 1,996 | 4,682 |
CSS | 14 | 120 | 27 | 2,158 |
Markdown | 15 | 662 | 0 | 1,685 |
Sass | 6 | 289 | 1 | 1,599 |
JSON | 2 | 0 | 0 | 202 |
XML | 2 | 0 | 0 | 29 |
make | 1 | 9 | 4 | 26 |
SVG | 3 | 0 | 0 | 8 |
Bourne Shell | 1 | 2 | 0 | 3 |
HTML | 1 | 0 | 1 | 0 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 12.63 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 127.00 |
Average method complexity | 3.06 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 37.00 |
Code structure | ||
---|---|---|
Namespaces | 54 | |
Interfaces | 68 | |
Traits | 0 | |
Classes | 99 | |
▷ Abstract classes | 15 | 15.15% |
▷ Concrete classes | 84 | 84.85% |
▷ Final classes | 7 | 8.33% |
Methods | 1,440 | |
▷ Static methods | 103 | 7.15% |
▷ Public methods | 1,222 | 84.86% |
▷ Protected methods | 13 | 0.90% |
▷ Private methods | 205 | 14.24% |
Functions | 91 | |
▷ Named functions | 76 | 83.52% |
▷ Anonymous functions | 15 | 16.48% |
Constants | 81 | |
▷ Global constants | 3 | 3.70% |
▷ Class constants | 78 | 96.30% |
▷ Public constants | 78 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin