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.18MB] [CPU: ▼4.83ms] Passed 4 tests
This is a short check of server-side resources used by Task Runner
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.67 ▲0.20 | 40.57 ▼1.36 |
Dashboard /wp-admin | 3.50 ▲0.15 | 45.72 ▼15.09 |
Posts /wp-admin/edit.php | 3.61 ▲0.25 | 49.15 ▼0.74 |
Add New Post /wp-admin/post-new.php | 6.08 ▲0.19 | 93.33 ▼2.14 |
Media Library /wp-admin/upload.php | 3.42 ▲0.19 | 35.30 ▲1.82 |
Server storage [IO: ▲1.04MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 51 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Task Runner
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,828 ▲57 | 13.13 ▼1.62 | 1.93 ▼0.04 | 44.89 ▼0.28 |
Dashboard /wp-admin | 2,237 ▲49 | 5.85 ▲0.98 | 98.36 ▼21.50 | 72.66 ▲27.45 |
Posts /wp-admin/edit.php | 2,120 ▲31 | 1.97 ▼0.05 | 38.83 ▲2.13 | 34.14 ▼4.39 |
Add New Post /wp-admin/post-new.php | 1,545 ▲12 | 18.26 ▼4.86 | 612.52 ▼66.04 | 66.91 ▲9.45 |
Media Library /wp-admin/upload.php | 1,419 ▲31 | 4.23 ▲0.06 | 95.73 ▼14.54 | 72.44 ▲25.33 |
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
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- db_upgraded
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
The smoke test was a success, however most plugin functionality was not tested
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
Please fix the following items
- 10× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function the_content() in wp-content/plugins/task-runner/themes/disrupt-one/templates/content-standard.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/task-runner/themes/disrupt-one/functions.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_nonce_field() in wp-content/plugins/task-runner/templates/settings.php:25
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/task-runner/themes/disrupt-one/index.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/task-runner/themes/disrupt-one/single.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function Web_Disrupt_Task_Runner\\add_action() in wp-content/plugins/task-runner/base/tasker-base.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_footer() in wp-content/plugins/task-runner/themes/disrupt-one/footer.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function Web_Disrupt_Task_Runner\\add_action() in wp-content/plugins/task-runner/modules/WordPress/wordpress.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function language_attributes() in wp-content/plugins/task-runner/themes/disrupt-one/header.php:2
- > PHP Notice
Undefined variable: logo in wp-content/plugins/task-runner/templates/settings.php on line 17
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that need to be fixed:
- Tags: Please reduce the number of tags, currently 12 tag instead of maximum 10
task-runner/task-runner.php Passed 13 tests
"Task Runner" version 1.0.4's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
103 characters long description:
Powerful task automator that can be used to make repeatable tasks and build processes inside WordPress.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin14,643 lines of code in 42 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 20 | 1,911 | 744 | 13,438 |
PHP | 9 | 113 | 331 | 625 |
LESS | 6 | 19 | 18 | 384 |
CSS | 4 | 24 | 11 | 117 |
Markdown | 1 | 7 | 0 | 41 |
SVG | 2 | 0 | 2 | 38 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 18.33 |
▷ Minimum class complexity | 11.00 |
▷ Maximum class complexity | 28.00 |
Average method complexity | 2.41 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 37 | |
▷ Static methods | 3 | 8.11% |
▷ Public methods | 33 | 89.19% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 10.81% |
Functions | 1 | |
▷ Named functions | 1 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
1 PNG file occupies 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
themes/disrupt-one/screenshot.png | 24.50KB | 9.92KB | ▼ 59.52% |