Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.39MB] [CPU: ▼2.58ms] Passed 4 tests
A check of server-side resources used by Todo Custom Field
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.82 ▲0.36 | 37.94 ▼12.63 |
Dashboard /wp-admin | 3.72 ▲0.42 | 48.14 ▼4.64 |
Posts /wp-admin/edit.php | 3.78 ▲0.42 | 51.24 ▲5.21 |
Add New Post /wp-admin/post-new.php | 6.38 ▲0.49 | 100.17 ▲1.75 |
Media Library /wp-admin/upload.php | 3.58 ▲0.35 | 38.71 ▲6.29 |
Task lists /wp-admin/edit.php?post_type=tcf-todo-list | 3.63 | 40.60 |
All tasks /wp-admin/edit.php?post_type=tcf-todo-task | 3.64 | 43.37 |
Settings /wp-admin/admin.php?page=todo-custom-field | 3.55 | 32.45 |
Server storage [IO: ▲0.36MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 32 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
Todo Custom Field: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,843 ▲97 | 13.68 ▼0.70 | 4.47 ▲2.70 | 37.56 ▼7.87 |
Dashboard /wp-admin | 2,246 ▲58 | 5.89 ▲0.96 | 109.45 ▲3.20 | 80.42 ▲34.79 |
Posts /wp-admin/edit.php | 2,132 ▲40 | 2.05 ▼0.00 | 37.57 ▲1.57 | 36.43 ▲1.14 |
Add New Post /wp-admin/post-new.php | 1,701 ▲154 | 22.57 ▲4.59 | 618.58 ▲0.14 | 52.00 ▼1.23 |
Media Library /wp-admin/upload.php | 1,428 ▲40 | 4.28 ▼0.02 | 103.36 ▲1.71 | 70.72 ▲22.39 |
Task lists /wp-admin/edit.php?post_type=tcf-todo-list | 1,089 | 2.08 | 33.65 | 28.71 |
All tasks /wp-admin/edit.php?post_type=tcf-todo-task | 1,136 | 2.02 | 34.41 | 29.07 |
Settings /wp-admin/admin.php?page=todo-custom-field | 907 | 2.22 | 25.64 | 34.06 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
SRP 50% 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
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/todo-custom-field/views/premium.php:112
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
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:
- Screenshots: Add images for these screenshots: #1 (Select Post Types and Taxonomies including the Todo custom field), #2 (Create a Todo list and add tasks), #3 (Add task to a Page), #4 (Add task to a category), #5 (Monitor and filter all tasks)
todo-custom-field/todo-custom-field.php Passed 13 tests
The primary PHP file in "Todo Custom Field" version 3.0.4 is used by WordPress to initiate all plugin functionality
102 characters long description:
Add a Todo Custom Field to Post Types and Taxonomies, create Tasks lists and monitor the list of Tasks
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin1,908 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 702 | 507 | 1,780 |
CSS | 2 | 6 | 18 | 84 |
JavaScript | 2 | 41 | 24 | 43 |
Markdown | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 48.67 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 99.00 |
Average method complexity | 4.92 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 80.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 | 72 | |
▷ Static methods | 3 | 4.17% |
▷ Public methods | 67 | 93.06% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 6.94% |
Functions | 2 | |
▷ Named functions | 1 | 50.00% |
▷ Anonymous functions | 1 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
8 PNG files occupy 0.23MB with 0.11MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-4.png | 35.34KB | 14.53KB | ▼ 58.90% |
assets/images/dnd-icon.png | 0.63KB | 0.52KB | ▼ 18.52% |
assets/images/recuweb-icon.png | 0.49KB | 0.34KB | ▼ 31.42% |
screenshot-1.png | 41.04KB | 14.52KB | ▼ 64.63% |
screenshot-5.png | 58.42KB | 23.54KB | ▼ 59.71% |