Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼15.92ms] Passed 4 tests
An overview of server-side resources used by Trigger Scheduled Events
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 40.14 ▼3.34 |
Dashboard /wp-admin | 3.32 ▲0.01 | 52.85 ▼1.58 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 46.85 ▼10.02 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 89.89 ▼48.75 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 38.49 ▲1.28 |
Scheduled Events /wp-admin/tools.php?page=trigger_scheduled_event | 3.20 | 32.05 |
Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Trigger Scheduled Events
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲7 | 14.37 ▼0.02 | 1.87 ▼0.23 | 46.23 ▼1.02 |
Dashboard /wp-admin | 2,199 ▲22 | 5.55 ▼0.05 | 100.56 ▲5.59 | 46.16 ▲6.99 |
Posts /wp-admin/edit.php | 2,104 ▲1 | 1.99 ▼0.02 | 36.60 ▼11.15 | 34.73 ▼4.42 |
Add New Post /wp-admin/post-new.php | 1,548 ▲17 | 23.27 ▲0.01 | 680.47 ▼7.71 | 56.51 ▼0.73 |
Media Library /wp-admin/upload.php | 1,398 ▼2 | 4.22 ▼0.01 | 105.65 ▼0.09 | 46.77 ▲0.27 |
Scheduled Events /wp-admin/tools.php?page=trigger_scheduled_event | 823 | 2.05 | 27.84 | 27.15 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/trigger-scheduled-events/trigger-scheduled-events.php:31
- > 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 97% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Tested up to: Version not formatted correctly
trigger-scheduled-events/trigger-scheduled-events.php Passed 13 tests
The entry point to "Trigger Scheduled Events" version 1.0 is a PHP file that has certain tags in its header comment area
102 characters long description:
Trigger any scheduled event now instead of waiting until WP cron tells it to run. Handy for debugging.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin39 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 12 | 23 | 39 |
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.47 |
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 | 2 | |
▷ Named functions | 2 | 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 were not PNG files found in your plugin