Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.03MB] [CPU: ▼7.67ms] Passed 4 tests
This is a short check of server-side resources used by S-DEV SEO
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.62 ▲0.16 | 37.35 ▼11.19 |
Dashboard /wp-admin | 3.44 ▲0.14 | 45.53 ▼6.15 |
Posts /wp-admin/edit.php | 3.56 ▲0.20 | 47.42 ▼6.87 |
Add New Post /wp-admin/post-new.php | 5.58 ▼0.31 | 81.45 ▼6.47 |
Media Library /wp-admin/upload.php | 3.37 ▲0.14 | 35.86 ▲3.70 |
SEO Settings /wp-admin/admin.php?page=sdev-seo-settings | 3.33 | 30.14 |
SEO Overview /wp-admin/admin.php?page=sdev-seo-overview | 3.36 | 39.07 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 13 new files
Database: no new tables, 8 new options
New WordPress options |
---|
category_children |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
wpse_sdevseo_settings |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by S-DEV SEO
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,843 ▲108 | 13.68 ▼0.95 | 1.84 ▼0.22 | 41.69 ▼6.45 |
Dashboard /wp-admin | 2,228 ▲40 | 4.84 ▼0.05 | 108.75 ▼3.80 | 44.00 ▼0.94 |
Posts /wp-admin/edit.php | 2,114 ▲25 | 2.06 ▲0.00 | 40.45 ▼0.09 | 34.98 ▲0.03 |
Add New Post /wp-admin/post-new.php | 6,247 ▲4,733 | 19.05 ▲1.40 | 827.25 ▲219.69 | 70.74 ▲9.15 |
Media Library /wp-admin/upload.php | 1,407 ▲16 | 4.20 ▼0.03 | 95.72 ▼5.66 | 41.26 ▼4.54 |
SEO Settings /wp-admin/admin.php?page=sdev-seo-settings | 847 | 2.03 | 24.73 | 41.08 |
SEO Overview /wp-admin/admin.php?page=sdev-seo-overview | 938 | 1.80 | 24.36 | 30.98 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 7 options
- can_compress_scripts
- widget_recent-posts
- category_children
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
- 6× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/s-dev-seo/inc/admin.php:23
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/s-dev-seo/inc/replace.php:138
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/s-dev-seo/inc/opengraph.php:41
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/s-dev-seo/inc/views.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/s-dev-seo/inc/metabox.php:64
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/s-dev-seo/inc/conditions.php:29
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
3 plugin tags: seo, title, meta description
s-dev-seo/sdev-seo.php 85% from 13 tests
"S-DEV SEO" version 1.88's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Main file name: Name the main plugin file the same as the plugin slug ("s-dev-seo.php" instead of "sdev-seo.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin1,041 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 549 | 73 | 869 |
CSS | 1 | 27 | 6 | 125 |
JavaScript | 1 | 34 | 0 | 47 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 25 | |
▷ Named functions | 25 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG files were detected