Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼10.13ms] Passed 4 tests
An overview of server-side resources used by WP Affiliate Link Manager
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 33.75 ▼1.94 |
Dashboard /wp-admin | 3.39 ▲0.04 | 46.90 ▼16.15 |
Posts /wp-admin/edit.php | 3.44 ▲0.08 | 43.53 ▼2.75 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 81.78 ▼19.68 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 36.96 ▲4.25 |
Affiliate Booster /wp-admin/options-general.php?page=affiliate-boost-options | 3.26 | 30.96 |
Style /wp-admin/admin.php?page=affiliate-boost-style | 3.25 | 28.43 |
Server storage [IO: ▲0.36MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 15 new files
Database: 2 new tables, 6 new options
New tables |
---|
wp_affiliate_boost |
wp_affiliate_boost_website |
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for WP Affiliate Link Manager
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,796 ▲35 | 14.36 ▲0.01 | 2.06 ▲0.40 | 43.02 ▲3.37 |
Dashboard /wp-admin | 2,199 ▲18 | 5.65 ▼0.06 | 91.35 ▼6.05 | 41.41 ▼0.62 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.01 ▼0.02 | 37.61 ▼2.30 | 34.37 ▼5.27 |
Add New Post /wp-admin/post-new.php | 1,530 ▼5 | 23.37 ▲5.25 | 658.55 ▲33.45 | 53.04 ▼18.84 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.22 ▲0.06 | 107.34 ▲10.39 | 46.21 ▲4.35 |
Affiliate Booster /wp-admin/options-general.php?page=affiliate-boost-options | 1,287 | 2.46 | 50.66 | 53.35 |
Style /wp-admin/admin.php?page=affiliate-boost-style | 1,006 | 1.68 | 29.21 | 28.67 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Smoke test failed, please fix the following
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=affiliate-boost-style
- > Notice in wp-content/plugins/affiliate-booster/affiliate-classes.php+448
Undefined index: tab
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
Everything seems fine, however this is by no means an exhaustive test
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There are user-side issues you should fix
- > GET request to /wp-admin/options-general.php?page=affiliate-boost-options
- > Javascript (severe) in unknown
/wp-content/plugins/affiliate-booster/dist/jquery.tablegrid.min.js?ver=6.3.1 5:2498 Uncaught TypeError: Cannot read properties of null (reading 'current')
- > GET request to /wp-admin/admin.php?page=affiliate-boost-style
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28609 "jQuery.Deferred exception: jQuery(...).bootgrid is not a function" "TypeError: jQuery(...).bootgrid is not a function\n at HTMLDocument.\u003Canonymous> (/wp-admin/admin.php?page=affiliate-boost-style:243:42)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:27292)" undefined
- > GET request to /wp-admin/admin.php?page=affiliate-boost-style
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28721 Uncaught TypeError: jQuery(...).bootgrid is not a function
Optimizations
Plugin configuration 93% 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
These attributes need to be fixed:
- Screenshots: Please add descriptions for these screenshots #1, #2, #3, #4, #5 in affiliate-booster/assets to your readme.txt
affiliate-booster/affiliate-booster.php 92% from 13 tests
The principal PHP file in "WP Affiliate Link Manager" v. 1.1 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 195 characters long)
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
There were no executable files found in this plugin1,211 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 103 | 53 | 787 |
SVG | 1 | 0 | 0 | 229 |
CSS | 2 | 2 | 10 | 189 |
JavaScript | 3 | 0 | 10 | 6 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 24.50 |
▷ Minimum class complexity | 22.00 |
▷ Maximum class complexity | 27.00 |
Average method complexity | 3.94 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.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 | 16 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 16 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin