Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼2.30ms] Passed 4 tests
An overview of server-side resources used by Simplistic SEO
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.62 ▲0.15 | 40.53 ▲1.39 |
Dashboard /wp-admin | 3.47 ▲0.16 | 54.55 ▲8.41 |
Posts /wp-admin/edit.php | 3.58 ▲0.22 | 46.79 ▲0.47 |
Add New Post /wp-admin/post-new.php | 5.60 ▼0.29 | 72.74 ▼14.65 |
Media Library /wp-admin/upload.php | 3.39 ▲0.16 | 38.19 ▲3.60 |
SEO settings /wp-admin/options-general.php?page=seo_settings | 3.36 | 39.01 |
Server storage [IO: ▲0.47MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 28 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Simplistic SEO
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,808 ▲62 | 14.40 ▼0.06 | 1.78 ▼0.18 | 48.39 ▲8.74 |
Dashboard /wp-admin | 2,214 ▲23 | 4.86 ▼1.04 | 101.73 ▼2.13 | 38.83 ▼6.23 |
Posts /wp-admin/edit.php | 2,094 ▲5 | 2.03 ▲0.04 | 35.74 ▼3.04 | 30.84 ▼7.37 |
Add New Post /wp-admin/post-new.php | 6,276 ▲4,748 | 26.24 ▲3.07 | 924.05 ▲228.37 | 76.03 ▲11.30 |
Media Library /wp-admin/upload.php | 1,393 ▲2 | 4.25 ▲0.07 | 95.83 ▼8.45 | 42.26 ▼1.97 |
SEO settings /wp-admin/options-general.php?page=seo_settings | 1,048 | 2.08 | 25.30 | 31.24 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Smoke test failed, please fix the following
- > GET request to /wp-admin/options-general.php?page=seo_settings
- > Warning in wp-content/plugins/simplistic-seo/includes/settings.php+187
Invalid argument supplied for foreach()
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Almost there! Just fix the following items
- 5× 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/simplistic-seo/includes/settings.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/simplistic-seo/simplistic-seo.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/simplistic-seo/includes/sitemap.php:207
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/simplistic-seo/includes/metabox.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/simplistic-seo/includes/twittercards.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
- Plugin Name: You should set the name of your plugin on the first line (
=== simplistic-seo ===
)
simplistic-seo/simplistic-seo.php Passed 13 tests
The entry point to "Simplistic SEO" version 2.3.0 is a PHP file that has certain tags in its header comment area
55 characters long description:
Everything you need for basic SEO in one simple plugin.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected1,430 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 242 | 97 | 806 |
PO File | 4 | 88 | 88 | 264 |
JavaScript | 2 | 27 | 22 | 131 |
CSS | 1 | 18 | 0 | 114 |
Sass | 1 | 20 | 4 | 114 |
SVG | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
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 | 28 | |
▷ Named functions | 26 | 92.86% |
▷ Anonymous functions | 2 | 7.14% |
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.10MB with 0.06MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/banner-772-250.png | 30.06KB | 10.49KB | ▼ 65.12% |
assets/icon-128x128.png | 11.57KB | 4.94KB | ▼ 57.30% |
assets/icon-256x256.png | 23.50KB | 8.81KB | ▼ 62.52% |
assets/banner-1544x500.png | 36.23KB | 10.26KB | ▼ 71.67% |