Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
It is recommended to fix the following installer errors
- The plugin cannot be installed
- > Deprecated in wp-content/plugins/seo-auto-links/seo-auto-links-functions.php+18
Array and string offset access syntax with curly braces is deprecated
Server metrics [RAM: ▼0.94MB] [CPU: ▼32.27ms] Passed 4 tests
This is a short check of server-side resources used by SEO Auto Links
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 37.27 ▼6.76 |
Dashboard /wp-admin | 3.01 ▼0.30 | 24.51 ▼22.74 |
Posts /wp-admin/edit.php | 3.01 ▼0.35 | 24.94 ▼22.26 |
Add New Post /wp-admin/post-new.php | 3.01 ▼2.88 | 23.90 ▼73.11 |
Media Library /wp-admin/upload.php | 3.01 ▼0.22 | 21.08 ▼10.98 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 11 new files
Database: no new tables, 7 new options
New WordPress options |
---|
SEOAutoLinks |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
SEO Auto Links: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲83 | 14.48 ▲0.07 | 1.87 ▲0.15 | 41.73 ▼0.31 |
Dashboard /wp-admin | 2,207 ▲22 | 5.83 ▼0.02 | 94.53 ▼3.64 | 38.56 ▼4.33 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.04 ▲0.04 | 39.09 ▼1.88 | 33.72 ▼1.62 |
Add New Post /wp-admin/post-new.php | 1,517 ▼25 | 17.64 ▼0.56 | 643.58 ▲35.97 | 55.49 ▲3.51 |
Media Library /wp-admin/upload.php | 1,386 ▼5 | 4.21 ▲0.10 | 96.77 ▼10.20 | 42.96 ▼5.36 |
SEO Auto Links /wp-admin/seo-auto-links.php | 26 | 0.44 | 0.11 | 14.25 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- This plugin cannot be uninstalled
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
- This plugin does not fully uninstall, leaving 7 options in the database
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- SEOAutoLinks
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/seo-auto-links/seo-auto-links.php:304
- > PHP Fatal error
Uncaught Error: Call to undefined function screen_icon() in wp-content/plugins/seo-auto-links/seo-auto-links-admin.php:2
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
These are user-side errors you should fix
- > GET request to /wp-admin/seo-auto-links.php
- > Network (severe)
wp-admin/seo-auto-links.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
- Screenshots: Screenshot #1 (Plugin settings page) image missing
- Tags: There are too many tags (11 tag instead of maximum 10)
seo-auto-links/seo-auto-links.php Passed 13 tests
"SEO Auto Links" version 0.5's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
115 characters long description:
With SEO Auto Links you can easily add links (automatically) for keywords and phrases in posts, pages and comments.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin947 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 76 | 18 | 526 |
PO File | 2 | 118 | 203 | 339 |
JavaScript | 1 | 3 | 0 | 48 |
CSS | 1 | 0 | 0 | 34 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 124.00 |
▷ Minimum class complexity | 124.00 |
▷ Maximum class complexity | 124.00 |
Average method complexity | 12.18 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 95.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 11 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 11 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
1 compressed PNG file occupies 0.08MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 82.46KB | 84.13KB | 0.00% |