Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.03MB] [CPU: ▼5.46ms] Passed 4 tests
A check of server-side resources used by WooCommerce Cloak Affiliate Links
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 34.03 ▼1.96 |
Dashboard /wp-admin | 3.34 ▼0.00 | 44.30 ▼11.22 |
Posts /wp-admin/edit.php | 3.46 ▲0.10 | 42.49 ▼6.28 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 91.46 ▼0.87 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 33.66 ▼2.38 |
WC Cloak Links /wp-admin/options-general.php?page=wccal-options | 3.23 | 28.78 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
wccal_options |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by WooCommerce Cloak Affiliate Links
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,794 ▲32 | 14.27 ▼0.08 | 1.69 ▼0.02 | 39.26 ▲2.37 |
Dashboard /wp-admin | 2,202 ▲30 | 5.64 ▼0.04 | 88.90 ▼28.93 | 38.82 ▼1.63 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.01 ▼0.05 | 36.22 ▼1.33 | 34.22 ▲4.03 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 23.11 ▼0.17 | 630.57 ▼69.77 | 51.97 ▲1.04 |
Media Library /wp-admin/upload.php | 1,398 ▲4 | 4.18 ▼0.01 | 98.46 ▲0.81 | 42.36 ▲0.43 |
WC Cloak Links /wp-admin/options-general.php?page=wccal-options | 831 | 2.02 | 24.51 | 27.66 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 7 options
- theysaidso_admin_options
- wccal_options
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP Passed 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
- Tags: Please delete some tags, you are using 11 tag instead of maximum 10
- Tested up to: Version format is invalid
woocommerce-cloak-affiliate-links/woocommerce-cloak-affiliate-links.php Passed 13 tests
Analyzing the main PHP file in "WooCommerce Cloak Affiliate Links" version 1.0.33
50 characters long description:
Cloak your WooCommerce external & affiliate links.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected261 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 68 | 135 | 261 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 14.50 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 27.00 |
Average method complexity | 2.08 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 25 | |
▷ Static methods | 1 | 4.00% |
▷ Public methods | 25 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.00% |
Constants | 5 | |
▷ Global constants | 5 | 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
No PNG images were found in this plugin