Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Please fix the following installer errors
- Install procedure had errors
- > Notice in wp-content/plugins/wp-better-seo-links/wp-better-seo-links.php+286
Trying to access array offset on value of type bool
Server metrics [RAM: ▲0.04MB] [CPU: ▼3.25ms] Passed 4 tests
A check of server-side resources used by WP Better SEO Links
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 41.63 ▼2.72 |
Dashboard /wp-admin | 3.34 ▲0.04 | 46.20 ▼5.74 |
Posts /wp-admin/edit.php | 3.39 ▲0.04 | 48.95 ▲1.33 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 87.29 ▼5.84 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 36.98 ▲1.29 |
Nofollow /wp-admin/options-general.php?page=nofollow-sponsored | 3.23 | 29.50 |
Server storage [IO: ▲0.20MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by WP Better SEO Links
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,880 ▲145 | 13.52 ▼0.86 | 2.07 ▲0.02 | 44.43 ▼4.71 |
Dashboard /wp-admin | 2,261 ▲73 | 5.22 ▼0.66 | 110.16 ▼7.19 | 38.63 ▼9.44 |
Posts /wp-admin/edit.php | 2,090 ▼2 | 2.16 ▲0.16 | 36.14 ▲0.23 | 33.13 ▲1.63 |
Add New Post /wp-admin/post-new.php | 1,567 ▲34 | 18.67 ▼4.69 | 636.21 ▼52.85 | 35.14 ▼22.97 |
Media Library /wp-admin/upload.php | 1,392 ▲7 | 4.23 ▲0.03 | 94.48 ▼11.76 | 39.96 ▼4.60 |
Nofollow /wp-admin/options-general.php?page=nofollow-sponsored | 792 | 2.07 | 24.44 | 25.48 |
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 were found after uninstall: 6 options
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
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
The smoke test was a success, however most plugin functionality was not tested
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 items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/wp-better-seo-links/wp-better-seo-links.php:106
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 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
Attributes that need to be fixed:
- Tags: Please reduce the number of tags, currently 14 tag instead of maximum 10
wp-better-seo-links/wp-better-seo-links.php Passed 13 tests
The primary PHP file in "WP Better SEO Links" version 1.0 is used by WordPress to initiate all plugin functionality
75 characters long description:
Better SEO links for: nofollow, sponsored, and ugc (user-generated content)
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
No dangerous file extensions were detected962 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 155 | 64 | 697 |
PHP | 1 | 55 | 48 | 232 |
Markdown | 1 | 24 | 0 | 33 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 13 | |
▷ Named functions | 13 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
2 compressed PNG files occupy 0.15MB
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 72.89KB | 72.96KB | 0.00% |
screenshot-1.png | 77.24KB | 77.36KB | 0.00% |