Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.86MB] [CPU: ▼38.48ms] Passed 4 tests
Server-side resources used by Checklist
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.10 | 44.41 ▼6.92 |
Dashboard /wp-admin | 3.09 ▼0.22 | 23.70 ▼39.19 |
Posts /wp-admin/edit.php | 3.09 ▼0.27 | 24.54 ▼28.67 |
Add New Post /wp-admin/post-new.php | 3.09 ▼2.80 | 28.68 ▼71.15 |
Media Library /wp-admin/upload.php | 3.09 ▼0.14 | 26.96 ▼14.90 |
Settings /wp-admin/admin.php?page=checklist_settings | 3.09 | 29.37 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 19 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
checklist_settings |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Checklist
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,828 ▲67 | 14.75 ▲0.61 | 1.97 ▲0.11 | 43.54 ▼1.62 |
Dashboard /wp-admin | 2,219 ▲48 | 5.76 ▲0.23 | 99.42 ▼8.07 | 87.71 ▲42.37 |
Posts /wp-admin/edit.php | 2,145 ▲42 | 2.31 ▲0.33 | 38.82 ▼3.13 | 37.26 ▲1.07 |
Add New Post /wp-admin/post-new.php | 1,555 ▲22 | 23.66 ▲0.66 | 720.48 ▼1.17 | 38.83 ▼19.06 |
Media Library /wp-admin/upload.php | 1,436 ▲36 | 4.35 ▲0.20 | 100.60 ▼8.85 | 78.71 ▲34.43 |
Settings /wp-admin/admin.php?page=checklist_settings | 1,773 | 3.21 | 78.61 | 36.12 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin did not uninstall without warnings or errors
- > User notice in wp-includes/functions.php+5905
Function add_submenu_page was called incorrectly. The seventh parameter passed to add_submenu_page() should be numeric representing menu position. Please see Debugging in WordPress for more information. (This message was added in version 5.3.0.)
- Zombie WordPress options were found after uninstall: 7 options
- theysaidso_admin_options
- db_upgraded
- checklist_settings
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These server-side errors were triggered
- > GET request to /wp-admin/admin.php?page=checklist_settings
- > User notice in wp-includes/functions.php+5905
Function add_submenu_page was called incorrectly. The seventh parameter passed to add_submenu_page() should be numeric representing menu position. Please see Debugging in WordPress for more information. (This message was added in version 5.3.0.)
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 take a closer look at the following
- 3× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/checklist/images/ic_print_white_24px.php
- > /wp-content/plugins/checklist/checklist-com.php
- > /wp-content/plugins/checklist/images/checklist-icon.php
- 3× PHP files trigger errors when accessed directly with GET requests:
- > PHP Notice
Undefined index: fill in wp-content/plugins/checklist/images/ic_print_white_24px.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/checklist/includes/checklist-settings.php:5
- > PHP Notice
Undefined index: fill in wp-content/plugins/checklist/images/checklist-icon.php on line 3
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration 93% from 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
5 plugin tags: shortcode, frontend, lists, todo, checklist
checklist/checklist-com.php 85% from 13 tests
The principal PHP file in "Checklist" v. 1.1.9 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Main file name: The principal plugin file should be the same as the plugin slug ("checklist.php" instead of "checklist-com.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected763 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 88 | 61 | 492 |
PO File | 1 | 35 | 37 | 101 |
JavaScript | 3 | 3 | 3 | 82 |
CSS | 2 | 0 | 3 | 47 |
SVG | 2 | 0 | 0 | 41 |
PHP code Passed 2 tests
A short review 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.29 |
Average class complexity | 42.00 |
▷ Minimum class complexity | 42.00 |
▷ Maximum class complexity | 42.00 |
Average method complexity | 2.78 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 23 | |
▷ Static methods | 5 | 21.74% |
▷ Public methods | 23 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.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
4 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/checklist-icon-16.png | 1.18KB | 0.59KB | ▼ 50.37% |
images/checklist-icon-64.png | 3.36KB | 1.96KB | ▼ 41.70% |
images/icon-white-16.png | 0.89KB | 0.39KB | ▼ 56.24% |
images/icon-white-64.png | 2.46KB | 1.43KB | ▼ 42.13% |