Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
You still need to fix the following installer errors
- The plugin cannot be installed
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method PSSC_WP_Seo::pssc_wpa_install() should not be called statically
Server metrics [RAM: ▲0.03MB] [CPU: ▼9.10ms] Passed 4 tests
Server-side resources used by Post SEO Score Checker
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 31.98 ▼4.71 |
Dashboard /wp-admin | 3.36 ▲0.01 | 46.16 ▼12.46 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 51.63 ▲4.34 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 80.35 ▼23.56 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 42.60 ▲8.07 |
Server storage [IO: ▲1.20MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 70 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Post SEO Score Checker
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,839 ▲93 | 13.63 ▼0.74 | 1.56 ▼0.09 | 33.20 ▼3.49 |
Dashboard /wp-admin | 2,230 ▲45 | 5.91 ▲0.01 | 105.64 ▼1.25 | 94.85 ▲49.91 |
Posts /wp-admin/edit.php | 2,128 ▲39 | 2.08 ▲0.02 | 34.41 ▼4.02 | 53.25 ▲17.97 |
Add New Post /wp-admin/post-new.php | 6,576 ▲5,047 | 28.10 ▲4.95 | 1,047.55 ▲381.88 | 52.83 ▼3.36 |
Media Library /wp-admin/upload.php | 1,427 ▲39 | 4.27 ▲0.16 | 95.33 ▼20.45 | 96.07 ▲46.81 |
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
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP 0% 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
- 4× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/post-seo-score-checker/settingPage.php
- > /wp-content/plugins/post-seo-score-checker/lib/density.php
- > /wp-content/plugins/post-seo-score-checker/lib/simple_html_dom.php
- > /wp-content/plugins/post-seo-score-checker/actions.php
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/post-seo-score-checker/post-seo-score-checker.php:37
- > 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, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
5 plugin tags: seo score, seo, post seo score, post seo, wordpress seo
post-seo-score-checker/post-seo-score-checker.php 92% from 13 tests
"Post SEO Score Checker" version 1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 144 characters long)
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
Good job! No executable or dangerous file extensions detected9,553 lines of code in 35 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 7 | 152 | 37 | 3,158 |
JavaScript | 6 | 501 | 113 | 2,812 |
LESS | 13 | 28 | 34 | 1,510 |
PHP | 6 | 281 | 241 | 1,360 |
SVG | 2 | 0 | 0 | 663 |
HTML | 1 | 18 | 0 | 50 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 95.67 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 164.00 |
Average method complexity | 4.51 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 57.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 81 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 65 | 80.25% |
▷ Protected methods | 16 | 19.75% |
▷ Private methods | 0 | 0.00% |
Functions | 11 | |
▷ Named functions | 11 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 20 | |
▷ Global constants | 20 | 100.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
15 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
imgs/cross_shield.png | 2.65KB | 1.55KB | ▼ 41.53% |
imgs/info.png | 2.13KB | 1.71KB | ▼ 19.99% |
imgs/2.png | 0.56KB | 0.50KB | ▼ 10.57% |
imgs/error.png | 0.72KB | 0.75KB | 0.00% |
imgs/tick.png | 0.44KB | 0.40KB | ▼ 9.31% |