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.00MB] [CPU: ▼5.12ms] Passed 4 tests
Server-side resources used by SEO Smart Link Targets
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 40.68 ▼4.91 |
Dashboard /wp-admin | 3.31 ▲0.00 | 47.91 ▼6.85 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 54.17 ▼0.07 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 81.36 ▼8.63 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 40.41 ▲5.29 |
Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for SEO Smart Link Targets
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,792 ▲31 | 14.75 ▲0.39 | 2.10 ▲0.32 | 44.76 ▲0.75 |
Dashboard /wp-admin | 2,195 ▲18 | 5.66 ▼0.01 | 87.32 ▼12.19 | 42.98 ▼1.53 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.03 ▲0.08 | 40.18 ▲2.26 | 40.71 ▲2.17 |
Add New Post /wp-admin/post-new.php | 1,526 ▼5 | 23.68 ▲0.60 | 694.12 ▲38.84 | 61.52 ▲8.19 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.17 ▼0.10 | 112.17 ▲4.73 | 47.80 ▲4.40 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
- 3× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/seo-smart-link-targets/classes/class-sslt-scripts.php
- > /wp-content/plugins/seo-smart-link-targets/index.php
- > /wp-content/plugins/seo-smart-link-targets/seo-smart-link-targets.php
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 93% from 29 tests
readme.txt 88% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that need to be fixed:
- Donate link: Please fix this invalid url: "andrewgunn.xyz/donate"
- Tags: Too many tags (11 tag instead of maximum 10); only the first 5 tags are used in your directory listing
seo-smart-link-targets/seo-smart-link-targets.php Passed 13 tests
The main PHP script in "SEO Smart Link Targets" version 1.0 is automatically included on every request by WordPress
108 characters long description:
Super lightweight solution to changing all external links and internal PDF attachments to open in a new tab.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected46 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 25 | 21 | 46 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 1.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1.00 |
Average method complexity | 1.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 1.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 | 2 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 2 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin