Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.17MB] [CPU: ▼0.65ms] Passed 4 tests
Server-side resources used by WP To Do
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.15 | 45.22 ▲7.79 |
Dashboard /wp-admin | 3.52 ▲0.22 | 48.37 ▼2.90 |
Posts /wp-admin/edit.php | 3.57 ▲0.21 | 48.30 ▲1.72 |
Add New Post /wp-admin/post-new.php | 6.05 ▲0.17 | 85.66 ▼5.84 |
Media Library /wp-admin/upload.php | 3.38 ▲0.15 | 38.20 ▲4.43 |
WP To Do /wp-admin/admin.php?page=wp-todo | 3.34 | 33.74 |
Settings /wp-admin/admin.php?page=wptodo_settings | 3.34 | 31.83 |
Server storage [IO: ▲1.64MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 68 new files
Database: 3 new tables, 6 new options
New tables |
---|
wp_wptodo_email |
wp_wptodo |
wp_wptodo_comments |
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP To Do
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,119 ▲373 | 16.28 ▲1.90 | 12.52 ▲10.94 | 37.49 ▼4.14 |
Dashboard /wp-admin | 2,352 ▲163 | 6.83 ▲1.96 | 112.53 ▼20.92 | 40.44 ▼0.96 |
Posts /wp-admin/edit.php | 2,238 ▲146 | 3.53 ▲1.49 | 50.31 ▲7.47 | 35.70 ▼2.85 |
Add New Post /wp-admin/post-new.php | 1,561 ▲28 | 23.96 ▲0.73 | 652.62 ▼36.46 | 35.67 ▼18.41 |
Media Library /wp-admin/upload.php | 1,537 ▲146 | 6.07 ▲1.85 | 108.08 ▲9.84 | 47.18 ▲0.36 |
WP To Do /wp-admin/admin.php?page=wp-todo | 1,363 | 3.74 | 65.83 | 45.28 |
Settings /wp-admin/admin.php?page=wptodo_settings | 956 | 3.18 | 40.31 | 28.97 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
Smoke tests 25% 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 no errors were found, this is by no means an exhaustive test
SRP 0% 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
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/wp-todo/wp-todo.php
- 11× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Notice
Undefined variable: message in wp-content/plugins/wp-todo/templates/email.php on line 113
- > PHP Fatal error
Uncaught Error: Class 'Inc\\Base\\BaseController' not found in wp-content/plugins/wp-todo/inc/Pages/Admin.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/wp-todo/templates/edit_task.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/wp-todo/templates/admin.php:3
- > PHP Fatal error
Uncaught Error: Class 'Inc\\Base\\BaseController' not found in wp-content/plugins/wp-todo/inc/Base/Model.php:10
- > PHP Notice
Undefined variable: subject in wp-content/plugins/wp-todo/templates/email.php on line 7
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/wp-todo/templates/view_task.php:2
- > PHP Fatal error
Uncaught Error: Cannot access self:: when no class scope is active in wp-content/plugins/wp-todo/templates/add_task.php:4
- > PHP Fatal error
Uncaught Error: Class 'Inc\\Base\\Model' not found in wp-content/plugins/wp-todo/templates/settings.php:6
- > PHP Fatal error
Uncaught Error: Class 'Inc\\Base\\BaseController' not found in wp-content/plugins/wp-todo/inc/Base/Enqueue.php:9
- > PHP Notice
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please fix the following user-side errors
- > GET request to /wp-admin/admin.php?page=wp-todo
- > Rendering (warning) in unknown
/wp-admin/admin.php?page=wp-todo 183 The specified value "yyyy-MM-dd" does not conform to the required format, "yyyy-MM-dd".
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% 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
Please fix the following attributes:
- Requires at least: Invalid version format
- Tags: Too many tags (20 tag instead of maximum 10); only the first 5 tags are used in your directory listing
wp-todo/wp-todo.php 92% from 13 tests
The main file in "WP To Do" v. 1.2.8 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin17,775 lines of code in 61 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 18 | 4,184 | 14,069 | 14,017 |
CSS | 17 | 137 | 139 | 2,430 |
PHP | 25 | 164 | 305 | 1,311 |
JSON | 1 | 0 | 0 | 17 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 10.25 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 45.00 |
Average method complexity | 2.52 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 5 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 12 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 12 | 100.00% |
▷ Final classes | 1 | 8.33% |
Methods | 74 | |
▷ Static methods | 37 | 50.00% |
▷ Public methods | 71 | 95.95% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 4.05% |
Functions | 4 | |
▷ Named functions | 3 | 75.00% |
▷ Anonymous functions | 1 | 25.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
All PNG images should be compressed to minimize bandwidth usage for end users
5 compressed PNG files occupy 0.00MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
scripts/DataTables/DataTables-1.10.16/images/sort_asc_disabled.png | 0.14KB | 0.25KB | 0.00% |
scripts/DataTables/DataTables-1.10.16/images/sort_desc_disabled.png | 0.14KB | 0.25KB | 0.00% |
scripts/DataTables/DataTables-1.10.16/images/sort_desc.png | 0.15KB | 0.25KB | 0.00% |
scripts/DataTables/DataTables-1.10.16/images/sort_asc.png | 0.16KB | 0.25KB | 0.00% |
scripts/DataTables/DataTables-1.10.16/images/sort_both.png | 0.20KB | 0.29KB | 0.00% |