Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.14MB] [CPU: ▼2.75ms] Passed 4 tests
Server-side resources used by Seo Assistant
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.14 | 45.43 ▲5.65 |
Dashboard /wp-admin | 3.45 ▲0.11 | 49.84 ▼13.09 |
Posts /wp-admin/edit.php | 3.57 ▲0.21 | 51.95 ▲3.81 |
Add New Post /wp-admin/post-new.php | 6.05 ▲0.17 | 86.13 ▼7.00 |
Media Library /wp-admin/upload.php | 3.38 ▲0.15 | 39.04 ▲5.28 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 22 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Seo Assistant
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,916 ▲155 | 13.89 ▼0.28 | 10.24 ▲8.27 | 44.55 ▲2.95 |
Dashboard /wp-admin | 2,214 ▲40 | 5.67 ▼0.02 | 88.46 ▼1.43 | 41.62 ▲2.35 |
Posts /wp-admin/edit.php | 2,119 ▲19 | 2.04 ▲0.03 | 38.75 ▼1.40 | 34.97 ▼2.69 |
Add New Post /wp-admin/post-new.php | 1,549 ▲18 | 18.54 ▼5.14 | 607.26 ▼101.44 | 52.04 ▼0.56 |
Media Library /wp-admin/upload.php | 1,416 ▲16 | 4.28 ▲0.03 | 98.68 ▼14.20 | 45.94 ▼1.46 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
Smoke tests 50% 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 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please take a closer look at the following
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/seo-assistant/public/partials/seo-assistant-public-display.php
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function do_action() in wp-content/plugins/seo-assistant/admin/partials/seo-assistant-admin-display.php:21
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
- Donate link: Invalid url: "#"
- Tags: There are too many tags (18 tag instead of maximum 10)
seo-assistant/seo-assistant.php 92% from 13 tests
The principal PHP file in "Seo Assistant" v. 1.0.2 is loaded by WordPress automatically on each request
The following require your attention:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 159 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin619 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 228 | 546 | 577 |
JavaScript | 2 | 10 | 2 | 39 |
CSS | 2 | 0 | 8 | 3 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 8.86 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 28.00 |
Average method complexity | 2.22 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 45 | |
▷ Static methods | 2 | 4.44% |
▷ Public methods | 40 | 88.89% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 11.11% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin