Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼1.92ms] Passed 4 tests
A check of server-side resources used by DOM SEO Image
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 41.22 ▼0.29 |
Dashboard /wp-admin | 3.35 ▲0.05 | 49.34 ▼5.16 |
Posts /wp-admin/edit.php | 3.46 ▲0.11 | 49.29 ▼0.99 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.05 | 89.84 ▲0.73 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 35.31 ▼1.22 |
About /wp-admin/admin.php?page=dom_about | 3.24 | 34.06 |
Settings /wp-admin/admin.php?page=dom_settings | 3.25 | 30.26 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for DOM SEO Image
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,827 ▲81 | 13.59 ▼0.79 | 1.78 ▼0.33 | 41.88 ▼4.17 |
Dashboard /wp-admin | 2,236 ▲48 | 5.91 ▲1.01 | 101.00 ▼3.47 | 40.02 ▼1.93 |
Posts /wp-admin/edit.php | 2,119 ▲27 | 2.04 ▲0.04 | 40.81 ▼3.10 | 34.43 ▼3.12 |
Add New Post /wp-admin/post-new.php | 1,555 ▲13 | 23.40 ▲5.13 | 659.98 ▲10.78 | 55.12 ▲7.43 |
Media Library /wp-admin/upload.php | 1,409 ▲21 | 4.19 ▲0.03 | 99.31 ▼5.01 | 44.07 ▼4.04 |
About /wp-admin/admin.php?page=dom_about | 817 | 2.02 | 28.85 | 27.89 |
Settings /wp-admin/admin.php?page=dom_settings | 1,226 | 2.02 | 23.96 | 26.43 |
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
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/admin.php?page=dom_settings
- > Notice in wp-content/plugins/dom-seo-image/html/settings.php+38
Undefined variable: data
- > GET request to /wp-admin/admin.php?page=dom_settings
- > Notice in wp-content/plugins/dom-seo-image/html/settings.php+38
Trying to access array offset on value of type null
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 items
- 3× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/dom-seo-image/html/settings.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/dom-seo-image/wp-seo-dom-main.php:12
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/dom-seo-image/html/about.php:1
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== dom-seo-image ===
) - Tags: You are using too many tags: 13 tag instead of maximum 10
dom-seo-image/wp-seo-dom.php 85% from 13 tests
The principal PHP file in "DOM SEO Image" v. 1.0.3 is loaded by WordPress automatically on each request
It is important to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 198 characters long)
- Main file name: The principal plugin file should be the same as the plugin slug ("dom-seo-image.php" instead of "wp-seo-dom.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin416 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 53 | 19 | 284 |
PO File | 2 | 34 | 41 | 132 |
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.36 |
Average class complexity | 32.00 |
▷ Minimum class complexity | 32.00 |
▷ Maximum class complexity | 32.00 |
Average method complexity | 2.72 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.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 | 18 | |
▷ Static methods | 4 | 22.22% |
▷ Public methods | 17 | 94.44% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 5.56% |
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
There are no PNG files in this plugin