Benchmarks
Plugin footprint 48% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▼1.91MB] [CPU: ▼52.63ms] Passed 4 tests
This is a short check of server-side resources used by Yo
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.07 ▼1.39 | 4.48 ▼39.78 |
Dashboard /wp-admin | 2.09 ▼1.21 | 5.41 ▼43.74 |
Posts /wp-admin/edit.php | 2.10 ▼1.26 | 6.76 ▼39.96 |
Add New Post /wp-admin/post-new.php | 2.09 ▼3.79 | 6.23 ▼87.04 |
Media Library /wp-admin/upload.php | 2.09 ▼1.13 | 5.14 ▼31.41 |
Yo /wp-admin/plugins.php?page=yo | 2.10 | 5.58 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 2 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_yoscribers |
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
yo_api_key |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Yo
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.31 ▼1.27 | 1.71 ▲0.01 | 39.99 ▼6.12 |
Dashboard /wp-admin | 2,207 ▲19 | 5.84 ▲0.97 | 96.23 ▼19.62 | 43.96 ▼5.84 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 2.05 ▲0.02 | 38.20 ▲3.37 | 34.93 ▼3.09 |
Add New Post /wp-admin/post-new.php | 1,517 ▲3 | 24.17 ▲6.49 | 697.35 ▲25.52 | 53.89 ▲0.09 |
Media Library /wp-admin/upload.php | 1,392 ▲1 | 4.31 ▲0.14 | 100.58 ▼5.69 | 42.83 ▼3.22 |
Yo /wp-admin/plugins.php?page=yo | 787 | 2.03 | 22.71 | 26.29 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 25% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- This plugin did not uninstall without warnings or errors
- > Notice in wp-content/plugins/yo/yo.php+83
Undefined index: username
- This plugin does not fully uninstall, leaving 1 table in the database
- wp_yoscribers
- The uninstall procedure has failed, leaving 7 options in the database
- db_upgraded
- can_compress_scripts
- yo_api_key
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- 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
These errors were triggered by the plugin
- > GET request to /wp-admin/plugins.php?page=yo
- > Notice in wp-content/plugins/yo/yo.php+83
Undefined index: username
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
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 register_activation_hook() in wp-content/plugins/yo/yo.php:36
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
- Donate link: Please fix this invalid URI: ""
yo/yo.php 92% from 13 tests
The principal PHP file in "Yo" v. 1.3.1 is loaded by WordPress automatically on each request
The following require your attention:
- Description: Please don't use more than 140 characters for the plugin description (currently 143 characters long)
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
Good job! No executable or dangerous file extensions detected101 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 22 | 17 | 101 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.09 |
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 | 7 | |
▷ Named functions | 7 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin