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 gracefully, with no errors
Server metrics [RAM: ▲0.02MB] [CPU: ▼4.90ms] Passed 4 tests
This is a short check of server-side resources used by TestRobo Safe Update
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 39.80 ▼4.58 |
Dashboard /wp-admin | 3.33 ▲0.02 | 44.89 ▼4.50 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 47.31 ▼1.22 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 88.95 ▼9.31 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 36.80 ▲1.63 |
TestRobo Safe Update /wp-admin/options-general.php?page=trsu | 3.22 | 36.18 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 7 new files
Database: no new tables, 9 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
trsu_is_enabled |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
trsu_api_key |
trsu_suite_id |
Browser metrics Passed 4 tests
An overview of browser requirements for TestRobo Safe Update
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,809 ▲52 | 13.29 ▼1.08 | 1.73 ▼0.37 | 44.74 ▲0.50 |
Dashboard /wp-admin | 2,218 ▲33 | 4.87 ▼0.04 | 104.45 ▼11.75 | 40.25 ▼6.42 |
Posts /wp-admin/edit.php | 2,098 ▲9 | 2.01 ▲0.00 | 39.85 ▲2.78 | 35.67 ▼0.13 |
Add New Post /wp-admin/post-new.php | 1,522 ▼13 | 17.53 ▼0.58 | 610.33 ▼21.53 | 52.96 ▼3.68 |
Media Library /wp-admin/upload.php | 1,400 ▲9 | 4.20 ▼0.03 | 98.47 ▼3.98 | 42.96 ▲0.76 |
TestRobo Safe Update /wp-admin/options-general.php?page=trsu | 894 | 2.05 | 23.68 | 29.49 |
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
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
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
The following issues need your attention
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_fields() in wp-content/plugins/testrobo-safe-update/trsu-settings-page2.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/testrobo-safe-update/trsu-plugin.php:77
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
- Contributors: Contributors not specified
testrobo-safe-update/trsu-plugin.php 85% from 13 tests
The entry point to "TestRobo Safe Update" version 0.0.5 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Description: The description should be shorter than 140 characters (currently 181 characters long)
- Main file name: Name the main plugin file the same as the plugin slug ("testrobo-safe-update.php" instead of "trsu-plugin.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected309 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 35 | 27 | 171 |
CSS | 1 | 15 | 0 | 125 |
Markdown | 1 | 3 | 0 | 13 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
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 | 9 | |
▷ Named functions | 9 | 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
PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin