Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.53MB] [CPU: ▼0.77ms] Passed 4 tests
Server-side resources used by License Keys (Forms integration)
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.02 ▲0.56 | 39.30 ▼2.73 |
Dashboard /wp-admin | 3.83 ▲0.53 | 53.38 ▲4.30 |
Posts /wp-admin/edit.php | 3.94 ▲0.59 | 49.55 ▲1.07 |
Add New Post /wp-admin/post-new.php | 6.41 ▲0.52 | 91.55 ▼5.72 |
Media Library /wp-admin/upload.php | 3.75 ▲0.52 | 41.48 ▲7.44 |
Server storage [IO: ▲0.96MB] [DB: ▲0.00MB] 67% from 3 tests
Input-output and database impact of this plugin
Please try to fix the following items
- Illegal file modification detected: 2 files (0.06KB) outside of "wp-content/plugins/woo-license-keys-nf/" and "wp-content/uploads/"
- (new file) wp-content/wpmvc/cache/pcom/.htaccess
- (new file) wp-content/wpmvc/log/.empty
Filesystem: 433 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for License Keys (Forms integration)
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲90 | 13.18 ▼1.41 | 1.85 ▲0.16 | 40.28 ▼0.94 |
Dashboard /wp-admin | 2,209 ▲24 | 5.85 ▲0.97 | 94.93 ▼13.31 | 41.05 ▼0.81 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.06 ▲0.03 | 36.00 ▼0.54 | 33.74 ▲0.17 |
Add New Post /wp-admin/post-new.php | 1,534 ▼0 | 23.22 ▼0.01 | 676.04 ▼36.01 | 63.05 ▲4.26 |
Media Library /wp-admin/upload.php | 1,391 ▲6 | 4.18 ▼0.06 | 95.04 ▼7.64 | 44.76 ▼1.87 |
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
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_recent-posts
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
Good news, no errors were detected
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 take a closer look at the following
- 280× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Interface 'Predis\\Response\\ErrorInterface' not found in wp-content/plugins/woo-license-keys-nf/vendor/10quality/wpmvc-phpfastcache/src/_extensions/predis-1.0/src/Response/Error.php:20
- > PHP Fatal error
Uncaught Predis\\Connection\\ConnectionException: Connection refused [tcp://127.0.0.1:6379] in wp-content/plugins/woo-license-keys-nf/vendor/10quality/wpmvc-phpfastcache/src/_extensions/predis-1.0/src/Connection/AbstractConnection.php:146
- > PHP Fatal error
Uncaught Error: Class 'Predis\\Command\\Command' not found in wp-content/plugins/woo-license-keys-nf/vendor/10quality/wpmvc-phpfastcache/src/_extensions/predis-1.0/src/Command/ListTrim.php:18
- > PHP Fatal error
Uncaught Error: Class 'Predis\\Command\\Command' not found in wp-content/plugins/woo-license-keys-nf/vendor/10quality/wpmvc-phpfastcache/src/_extensions/predis-1.0/src/Command/ListRemove.php:18
- > PHP Fatal error
Uncaught Error: Class 'Predis\\Command\\ServerEval' not found in wp-content/plugins/woo-license-keys-nf/vendor/10quality/wpmvc-phpfastcache/src/_extensions/predis-1.0/src/Command/ServerEvalSHA.php:18
- > PHP Fatal error
Uncaught Error: Class 'Predis\\Command\\Command' not found in wp-content/plugins/woo-license-keys-nf/vendor/10quality/wpmvc-phpfastcache/src/_extensions/predis-1.0/src/Command/ListPushTailX.php:18
- > PHP Fatal error
Uncaught Error: Class 'Predis\\Connection\\StreamConnection' not found in wp-content/plugins/woo-license-keys-nf/vendor/10quality/wpmvc-phpfastcache/src/_extensions/predis-1.0/src/Connection/PhpiredisStreamConnection.php:48
- > PHP Fatal error
Uncaught Error: Class 'Predis\\Command\\Command' not found in wp-content/plugins/woo-license-keys-nf/vendor/10quality/wpmvc-phpfastcache/src/_extensions/predis-1.0/src/Command/ZSetAdd.php:18
- > PHP Fatal error
Uncaught Error: Class 'Predis\\Command\\Command' not found in wp-content/plugins/woo-license-keys-nf/vendor/10quality/wpmvc-phpfastcache/src/_extensions/predis-1.0/src/Command/StringIncrementByFloat.php:18
- > PHP Fatal error
Uncaught Error: Class 'Predis\\Profile\\RedisProfile' not found in wp-content/plugins/woo-license-keys-nf/vendor/10quality/wpmvc-phpfastcache/src/_extensions/predis-1.0/src/Profile/RedisVersion260.php:19
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
- Plugin Name: You should set the name of your plugin on the first line (
=== License Keys (Forms integration) ===
)
woo-license-keys-nf/plugin.php 85% from 13 tests
The entry point to "License Keys (Forms integration)" version 1.0.3 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("woo-license-keys-nf.php" instead of "plugin.php")
- Requires at least: Periods and digits should be used for the required version number (ex. "7.0" instead of "3")
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
There were no executable files found in this plugin16,615 lines of code in 398 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 368 | 3,458 | 11,807 | 14,513 |
Markdown | 10 | 472 | 0 | 1,189 |
JSON | 8 | 1 | 0 | 706 |
PO File | 3 | 30 | 3 | 99 |
XML | 5 | 0 | 0 | 72 |
INI | 1 | 6 | 6 | 24 |
HTML | 1 | 0 | 1 | 6 |
JavaScript | 1 | 1 | 0 | 5 |
CSS | 1 | 0 | 7 | 1 |
PHP code 50% from 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Please fix the following
- Method cyclomatic complexity should be reduced to less than 100 (currently 121)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 5.68 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 162.00 |
Average method complexity | 2.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 121.00 |
Code structure | ||
---|---|---|
Namespaces | 40 | |
Interfaces | 40 | |
Traits | 13 | |
Classes | 295 | |
▷ Abstract classes | 22 | 7.46% |
▷ Concrete classes | 273 | 92.54% |
▷ Final classes | 2 | 0.73% |
Methods | 1,372 | |
▷ Static methods | 76 | 5.54% |
▷ Public methods | 1,130 | 82.36% |
▷ Protected methods | 188 | 13.70% |
▷ Private methods | 54 | 3.94% |
Functions | 37 | |
▷ Named functions | 15 | 40.54% |
▷ Anonymous functions | 22 | 59.46% |
Constants | 39 | |
▷ Global constants | 4 | 10.26% |
▷ Class constants | 35 | 89.74% |
▷ Public constants | 35 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin