Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Please fix the following installer errors
- This plugin did not install gracefully
- > Deprecated in wp-content/plugins/seo-internal-links/seo-links.php+650
Array and string offset access syntax with curly braces is deprecated
Server metrics [RAM: ▼0.94MB] [CPU: ▼33.06ms] Passed 4 tests
A check of server-side resources used by SEO Internal Links
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 42.80 ▲0.03 |
Dashboard /wp-admin | 3.00 ▼0.30 | 25.11 ▼27.42 |
Posts /wp-admin/edit.php | 3.01 ▼0.35 | 27.40 ▼23.88 |
Add New Post /wp-admin/post-new.php | 3.01 ▼2.88 | 24.82 ▼68.85 |
Media Library /wp-admin/upload.php | 3.01 ▼0.22 | 23.46 ▼12.08 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 10 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
SEOLinks |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by SEO Internal Links
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.39 ▲0.04 | 1.64 ▼0.40 | 43.42 ▲0.81 |
Dashboard /wp-admin | 2,199 ▲19 | 5.67 ▲0.06 | 85.17 ▼6.93 | 38.32 ▼4.03 |
Posts /wp-admin/edit.php | 2,104 ▲1 | 1.99 ▼0.03 | 37.36 ▼6.28 | 34.03 ▼2.94 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 23.58 ▲0.56 | 675.27 ▼9.32 | 60.75 ▼1.64 |
Media Library /wp-admin/upload.php | 1,404 ▲7 | 4.20 ▼0.03 | 104.20 ▼2.58 | 45.09 ▼2.38 |
SEO Iinternal Links /wp-admin/seo-links.php | 26 | 0.42 | 0.11 | 18.75 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- This plugin did not uninstall without warnings or errors
- > 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
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- SEOLinks
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means an exhaustive test
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
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/seo-internal-links/seo-links.php:389
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
These are user-side errors you should fix
- > GET request to /wp-admin/seo-links.php
- > Network (severe)
wp-admin/seo-links.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
8 plugin tags: affiliate, post, links, comments, google...
seo-internal-links/seo-links.php 92% from 13 tests
The primary PHP file in "SEO Internal Links" version 2.3.1 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("seo-internal-links.php" instead of "seo-links.php")
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
Success! There were no dangerous files found in this plugin470 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 142 | 42 | 470 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.63 |
Average class complexity | 126.00 |
▷ Minimum class complexity | 126.00 |
▷ Maximum class complexity | 126.00 |
Average method complexity | 13.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 92.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 | 10 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 10 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 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
7 compressed PNG files occupy 0.05MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
i/idea.png | 0.81KB | 0.70KB | ▼ 13.99% |
i/rate.png | 0.64KB | 0.61KB | ▼ 5.16% |
i/help.png | 0.97KB | 0.98KB | 0.00% |
screenshot-1.png | 47.61KB | 21.12KB | ▼ 55.64% |
i/more.png | 0.74KB | 1.01KB | 0.00% |