Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Please fix the following installer errors
- The plugin cannot be installed
- > Deprecated in wp-content/plugins/seo-links-generator/seo-links-generator.php+13
Methods with the same name as their class will not be constructors in a future version of PHP; SEOLinksGenerator has a deprecated constructor
Server metrics [RAM: ▼1.76MB] [CPU: ▼52.28ms] Passed 4 tests
A check of server-side resources used by SEO Links Generator
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.23 ▼1.23 | 5.04 ▼35.33 |
Dashboard /wp-admin | 2.25 ▼1.06 | 7.70 ▼38.32 |
Posts /wp-admin/edit.php | 2.25 ▼1.11 | 6.72 ▼44.16 |
Add New Post /wp-admin/post-new.php | 2.25 ▼3.64 | 5.96 ▼91.31 |
Media Library /wp-admin/upload.php | 2.25 ▼0.98 | 7.63 ▼29.85 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 14 new files
Database: no new tables, 7 new options
New WordPress options |
---|
SEOLinksGenerator |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
SEO Links Generator: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲94 | 14.82 ▲0.44 | 1.97 ▲0.01 | 42.70 ▼7.02 |
Dashboard /wp-admin | 2,210 ▲22 | 4.84 ▼0.01 | 101.55 ▼5.31 | 36.96 ▼2.28 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 2.06 ▲0.05 | 36.23 ▼3.41 | 35.00 ▲4.40 |
Add New Post /wp-admin/post-new.php | 1,536 ▲3 | 23.21 ▲0.10 | 582.21 ▼36.52 | 69.70 ▲12.14 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.16 ▼0.07 | 99.63 ▼6.67 | 43.90 ▼1.45 |
SEO Links Generator /wp-admin/seo-links-generator.php | 26 | 0.44 | 0.09 | 13.87 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- Uninstall procedure had uncaught errors
- > Deprecated in wp-content/plugins/seo-links-generator/seo-links-generator.php+13
Methods with the same name as their class will not be constructors in a future version of PHP; SEOLinksGenerator has a deprecated constructor
- This plugin does not fully uninstall, leaving 7 options in the database
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- SEOLinksGenerator
- widget_theysaidso_widget
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
The following issues need your attention
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/seo-links-generator/seo-links-generator.php:307
- > PHP Fatal error
Uncaught Error: Call to undefined function screen_icon() in wp-content/plugins/seo-links-generator/seo-links-generator-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)
Please fix the following browser errors
- > GET request to /wp-admin/seo-links-generator.php
- > Network (severe)
wp-admin/seo-links-generator.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
Attributes that need to be fixed:
- Screenshots: Please add an image for screenshot #1 (Plugin settings page)
- Tags: Please reduce the number of tags, currently 11 tag instead of maximum 10
seo-links-generator/seo-links-generator.php Passed 13 tests
The entry point to "SEO Links Generator" version 1.0 is a PHP file that has certain tags in its header comment area
120 characters long description:
With SEO Links Generator 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 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin1,004 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 81 | 19 | 583 |
PO File | 2 | 118 | 203 | 339 |
JavaScript | 1 | 3 | 0 | 48 |
CSS | 1 | 0 | 0 | 34 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 125.00 |
▷ Minimum class complexity | 125.00 |
▷ Maximum class complexity | 125.00 |
Average method complexity | 11.33 |
▷ 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 | 12 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 12 | 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
4 PNG files occupy 0.09MB with 0.04MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-3.png | 20.90KB | 13.28KB | ▼ 36.45% |
screenshot-2.png | 21.27KB | 12.64KB | ▼ 40.55% |
screenshot-4.png | 24.86KB | 15.98KB | ▼ 35.73% |
screenshot-1.png | 28.39KB | 17.62KB | ▼ 37.95% |