Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.17MB] [CPU: ▲1.65ms] Passed 4 tests
This is a short check of server-side resources used by DiagnoSEO - SEO Plugin for WordPress using ChatGPT - Best in 2023
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.15 ▲0.68 | 60.03 ▲11.15 |
Dashboard /wp-admin | 3.41 ▲0.07 | 49.05 ▼12.62 |
Posts /wp-admin/edit.php | 3.47 ▲0.11 | 48.02 ▲2.18 |
Add New Post /wp-admin/post-new.php | 6.30 ▲0.41 | 106.28 ▲18.09 |
Media Library /wp-admin/upload.php | 3.34 ▲0.11 | 41.09 ▲5.88 |
Tools /wp-admin/admin.php?page=diagnoseo-tools | 3.34 | 36.74 |
DiagnoSEO /wp-admin/admin.php?page=diagnoseo-settings | 3.40 | 41.23 |
Script settings /wp-admin/admin.php?page=diagnoseo-settings-scripts | 3.35 | 37.07 |
Breadcrumbs /wp-admin/customize.php?autofocus[section]=diagnoseo_breadcrumbs | 7.75 | 156.98 |
Import post meta /wp-admin/admin.php?page=diagnoseo-import-postmeta | 3.45 | 39.99 |
Social/OpenGraph settings /wp-admin/admin.php?page=diagnoseo-settings-social | 3.40 | 43.28 |
Redirection settings /wp-admin/admin.php?page=diagnoseo-redirections | 3.36 | 41.47 |
Sitemap settings /wp-admin/admin.php?page=diagnoseo-settings-sitemap | 3.35 | 38.67 |
Schema settings /wp-admin/admin.php?page=diagnoseo-settings-schema | 3.46 | 45.33 |
Meta tags /wp-admin/admin.php?page=diagnoseo-settings-meta | 3.51 | 49.09 |
Server storage [IO: ▲0.49MB] [DB: ▲0.01MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 59 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for DiagnoSEO - SEO Plugin for WordPress using ChatGPT - Best in 2023
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,958 ▲196 | 14.35 ▼0.06 | 1.72 ▼0.61 | 35.95 ▼4.83 |
Dashboard /wp-admin | 2,292 ▲115 | 5.55 ▼0.11 | 86.58 ▼11.74 | 40.89 ▼2.18 |
Posts /wp-admin/edit.php | 2,196 ▲96 | 1.99 ▼0.03 | 41.71 ▲5.83 | 38.89 ▲1.50 |
Add New Post /wp-admin/post-new.php | 7,173 ▲5,647 | 27.94 ▲4.97 | 932.58 ▲260.97 | 100.30 ▲44.03 |
Media Library /wp-admin/upload.php | 1,499 ▲99 | 4.29 ▲0.10 | 99.06 ▼4.62 | 42.50 ▲1.94 |
Tools /wp-admin/admin.php?page=diagnoseo-tools | 899 | 2.04 | 26.73 | 26.91 |
DiagnoSEO /wp-admin/admin.php?page=diagnoseo-settings | 1,255 | 2.05 | 26.62 | 31.49 |
Script settings /wp-admin/admin.php?page=diagnoseo-settings-scripts | 942 | 2.01 | 23.95 | 27.10 |
Breadcrumbs /wp-admin/customize.php?autofocus[section]=diagnoseo_breadcrumbs | 8,512 | 21.75 | 590.68 | 128.78 |
Import post meta /wp-admin/admin.php?page=diagnoseo-import-postmeta | 957 | 2.04 | 25.31 | 27.03 |
Social/OpenGraph settings /wp-admin/admin.php?page=diagnoseo-settings-social | 1,177 | 3.39 | 64.09 | 53.46 |
Redirection settings /wp-admin/admin.php?page=diagnoseo-redirections | 870 | 2.01 | 28.38 | 25.99 |
Sitemap settings /wp-admin/admin.php?page=diagnoseo-settings-sitemap | 922 | 2.02 | 29.58 | 29.81 |
Schema settings /wp-admin/admin.php?page=diagnoseo-settings-schema | 1,922 | 3.69 | 48.79 | 27.68 |
Meta tags /wp-admin/admin.php?page=diagnoseo-settings-meta | 2,046 | 3.70 | 59.88 | 62.03 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Almost there, just fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=diagnoseo-tools
- > request to
- > Notice in wp-config.php+20
Undefined index: REQUEST_METHOD
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
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/diagnoseo/includes/customize/breadcrumbs.php:126
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please fix the following user-side errors
- > GET request to /wp-admin/customize.php?autofocus[section]=diagnoseo_breadcrumbs
- > Security (warning) in unknown
/?customize_changeset_uuid=ade1af3d-1f46-441c-91ef-1fd2cd31d5ec&customize_theme=twentytwentyone&customize_messenger_channel=preview-0 - An iframe which has both allow-scripts and allow-same-origin for its sandbox attribute can escape its sandboxing.
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% 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:
- Tags: Too many tags (31 tag instead of maximum 10); only the first 5 tags are used in your directory listing
diagnoseo/diagnoseo.php 92% from 13 tests
The main PHP file in "DiagnoSEO - SEO Plugin for WordPress using ChatGPT - Best in 2023" ver. 1.2.20 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
- Description: The description should be shorter than 140 characters (currently 174 characters long)
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
Success! There were no dangerous files found in this plugin6,284 lines of code in 56 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 41 | 778 | 1,082 | 6,269 |
JavaScript | 10 | 0 | 0 | 10 |
CSS | 3 | 0 | 0 | 3 |
Markdown | 1 | 0 | 0 | 1 |
SVG | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 27.29 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 144.00 |
Average method complexity | 5.91 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 76.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 17 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 17 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 91 | |
▷ Static methods | 1 | 1.10% |
▷ Public methods | 62 | 68.13% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 29 | 31.87% |
Functions | 92 | |
▷ Named functions | 86 | 93.48% |
▷ Anonymous functions | 6 | 6.52% |
Constants | 19 | |
▷ Global constants | 19 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/favicon.png | 0.48KB | 0.50KB | 0.00% |