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
Install script ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼1.76ms] Passed 4 tests
Analyzing server-side resources used by Posts To-Do List
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 43.17 ▲2.02 |
Dashboard /wp-admin | 3.37 ▲0.02 | 50.57 ▼12.38 |
Posts /wp-admin/edit.php | 3.48 ▲0.12 | 50.82 ▲2.03 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 97.75 ▲1.29 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 37.80 ▲5.41 |
Posts To Do List /wp-admin/index.php?page=posts_to_do_list | 3.24 | 35.13 |
Posts To Do List Options /wp-admin/options-general.php?page=posts_to_do_list_options | 3.24 | 34.56 |
Server storage [IO: ▲0.23MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 41 new files
Database: 1 new table, 8 new options
New tables |
---|
wp_posts_to_do_list |
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
posts_to_do_list |
widget_ptdl_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Posts To-Do List
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,063 ▲328 | 14.24 ▼0.13 | 2.10 ▲0.36 | 42.30 ▼7.01 |
Dashboard /wp-admin | 2,447 ▲267 | 5.77 ▲0.09 | 85.71 ▼1.54 | 73.57 ▲28.38 |
Posts /wp-admin/edit.php | 2,108 ▲8 | 2.00 ▼0.04 | 38.56 ▲0.98 | 34.86 ▼0.87 |
Add New Post /wp-admin/post-new.php | 6,597 ▲5,052 | 27.94 ▲4.66 | 951.01 ▲258.87 | 53.75 ▼4.85 |
Media Library /wp-admin/upload.php | 1,408 ▲5 | 4.25 ▲0.04 | 105.28 ▼2.19 | 45.56 ▼0.45 |
Posts To Do List /wp-admin/index.php?page=posts_to_do_list | 1,348 | 2.50 | 54.93 | 42.02 |
Posts To Do List Options /wp-admin/options-general.php?page=posts_to_do_list_options | 1,414 | 2.61 | 48.45 | 61.54 |
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
- The uninstall procedure has failed, leaving 7 options in the database
- widget_ptdl_widget
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These server-side errors were triggered
- > GET request to /wp-admin/index.php?page=posts_to_do_list
- > Notice in wp-content/plugins/posts-to-do-list/posts-to-do-list.php+624
Undefined index: tstart
- 4 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=posts_to_do_list_options
- > Notice in wp-content/plugins/posts-to-do-list/posts-to-do-list.php+596
Undefined variable: checked
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/posts-to-do-list/posts-to-do-list.php
- 5× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/posts-to-do-list/posts-to-do-list-widget.php:3
- > PHP Fatal error
Uncaught Error: Class 'posts_to_do_list_core' not found in wp-content/plugins/posts-to-do-list/posts-to-do-list-install-functions.php:3
- > PHP Fatal error
Uncaught Error: Class 'posts_to_do_list_core' not found in wp-content/plugins/posts-to-do-list/posts-to-do-list-ajax-functions.php:3
- > PHP Fatal error
Uncaught Error: Class 'posts_to_do_list_core' not found in wp-content/plugins/posts-to-do-list/posts-to-do-list-print-functions.php:3
- > PHP Fatal error
Uncaught Error: Class 'posts_to_do_list_core' not found in wp-content/plugins/posts-to-do-list/posts-to-do-list-options-functions.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
4 plugin tags: to-do list, post management, posts, multi author
posts-to-do-list/posts-to-do-list.php Passed 13 tests
This is the main PHP file of "Posts To-Do List" version 1.4.4, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
111 characters long description:
Share post ideas with writers, suggest them writing topics and keep track of the posts ideas with a to do list.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected2,125 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 275 | 132 | 1,117 |
CSS | 7 | 66 | 128 | 648 |
JavaScript | 3 | 90 | 55 | 360 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 22.83 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 77.00 |
Average method complexity | 3.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 56 | |
▷ Static methods | 51 | 91.07% |
▷ Public methods | 56 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 2 | 50.00% |
▷ Anonymous functions | 2 | 50.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
21 compressed PNG files occupy 0.03MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
style/ui-lightness/images/ui-icons_ffffff_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
style/images/feedback.png | 1.00KB | 0.30KB | ▼ 70.17% |
style/images/amazon.png | 0.61KB | 0.65KB | 0.00% |
style/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png | 0.13KB | 0.18KB | 0.00% |
style/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png | 0.12KB | 0.16KB | 0.00% |