Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.30MB] [CPU: ▼138.91ms] Passed 4 tests
Server-side resources used by Seldos SEO
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.17 ▲0.45 | 47.48 ▲28.65 |
Dashboard /wp-admin | 3.33 ▲0.28 | 54.50 ▲7.88 |
Posts /wp-admin/edit.php | 3.37 ▲0.26 | 51.56 ▲9.72 |
Add New Post /wp-admin/post-new.php | 5.87 ▲0.44 | 92.56 ▼571.63 |
Media Library /wp-admin/upload.php | 3.23 ▲0.23 | 34.78 ▼1.62 |
SEO Error Page /wp-admin/admin.php?page=seldos-seo-error-page | 3.16 | 32.92 |
Settings /wp-admin/admin.php?page=seldos-seo-settings | 3.21 | 33.06 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 39 new files
Database: 1 new table, no new options
New tables |
---|
seldos_seo_404 |
Browser metrics Passed 4 tests
Seldos SEO: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,836 ▲264 | 16.68 ▲1.04 | 12.13 ▲1.45 | 49.64 ▲5.12 |
Dashboard /wp-admin | 2,991 ▲60 | 6.20 ▲0.20 | 144.36 ▼9.77 | 126.26 ▲25.16 |
Posts /wp-admin/edit.php | 2,799 ▲60 | 2.73 ▲0.02 | 65.69 ▼3.87 | 85.76 ▲2.45 |
Add New Post /wp-admin/post-new.php | 1,736 ▲53 | 21.89 ▲3.11 | 308.50 ▼134.04 | 140.22 ▲28.57 |
Media Library /wp-admin/upload.php | 1,780 ▼27 | 5.06 ▲0.02 | 139.05 ▼16.35 | 127.92 ▲12.48 |
SEO Error Page /wp-admin/admin.php?page=seldos-seo-error-page | 1,238 | 2.10 | 55.18 | 65.28 |
Settings /wp-admin/admin.php?page=seldos-seo-settings | 1,640 | 2.11 | 55.49 | 80.96 |
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
The following items require your attention
- This plugin does not fully uninstall, leaving 1 table in the database
- seldos_seo_404
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)
Everything seems fine, however this is by no means an exhaustive test
SRP 0% 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
Please fix the following items
- 3× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/seldos-seo/public/partials/seldos-seo-public-display.php
- > /wp-content/plugins/seldos-seo/admin/partials/seldos-seo-apperance.php
- > /wp-content/plugins/seldos-seo/admin/partials/seldos-seo-admin-display.php
- 7× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_bloginfo() in wp-content/plugins/seldos-seo/admin/partials/seldos-seo-post-type-template.php:4
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/seldos-seo/admin/partials/seldos-seo-settings.php:3
- > PHP Fatal error
Uncaught Error: Call to a member function get_results() on null in wp-content/plugins/seldos-seo/admin/partials/seldos-seo-error-page.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/seldos-seo/admin/partials/seldos-seo-elements.php:4
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/seldos-seo/includes/class-seldos-seo-table-generator.php on line 4
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/seldos-seo/includes/class-seldos-seo-table-generator.php on line 4
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/seldos-seo/includes/class-seldos-seo-table-generator.php on line 4
- > 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 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that need to be fixed:
- Donate link: Please fix this invalid url: ""
- Tags: Please delete some tags, you are using 11 tag instead of maximum 10
seldos-seo/seldos-seo.php Passed 13 tests
"Seldos SEO" version 1.3.9's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
96 characters long description:
This is a short description of what the plugin does. It's displayed in the WordPress admin area.
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
There were no executable files found in this plugin1,684 lines of code in 27 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 19 | 362 | 857 | 970 |
PO File | 4 | 144 | 188 | 356 |
CSS | 2 | 9 | 25 | 211 |
JavaScript | 2 | 38 | 76 | 147 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 8.67 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 31.00 |
Average method complexity | 1.88 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 69 | |
▷ Static methods | 2 | 2.90% |
▷ Public methods | 58 | 84.06% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 11 | 15.94% |
Functions | 4 | |
▷ Named functions | 3 | 75.00% |
▷ Anonymous functions | 1 | 25.00% |
Constants | 3 | |
▷ Global constants | 1 | 33.33% |
▷ Class constants | 2 | 66.67% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
1 PNG file occupies 0.02MB with 0.02MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/img/icon.png | 18.27KB | 0.91KB | ▼ 95.02% |