Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼3.74ms] Passed 4 tests
This is a short check of server-side resources used by Simple to-do list plugin for posts and pages
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 42.26 ▲3.10 |
Dashboard /wp-admin | 3.32 ▲0.01 | 47.69 ▼2.09 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 42.42 ▼7.79 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 82.58 ▼0.39 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 29.55 ▼4.70 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Simple to-do list plugin for posts and pages
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.17 ▼1.26 | 1.74 ▲0.08 | 44.48 ▼1.52 |
Dashboard /wp-admin | 2,209 ▲21 | 4.83 ▼0.17 | 103.13 ▲1.77 | 41.08 ▼4.47 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.02 ▲0.04 | 34.28 ▼2.48 | 34.93 ▲0.31 |
Add New Post /wp-admin/post-new.php | 6,267 ▲4,753 | 26.08 ▲8.52 | 906.54 ▲216.58 | 53.79 ▼0.87 |
Media Library /wp-admin/upload.php | 1,385 ▼3 | 4.21 ▲0.02 | 95.48 ▼1.57 | 45.42 ▼0.66 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
- 2× PHP files trigger server errors when accessed directly:
- > PHP Parse error
syntax error, unexpected end of file in wp-content/plugins/sliced-to-do/sliced_todo_metabox.php on line 89
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/sliced-to-do/sliced_todo_main.php:28
- > PHP Parse error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
5 plugin tags: organisation, to do list, todo list, to-do list, productivity
sliced-to-do/sliced_todo_main.php 92% from 13 tests
The principal PHP file in "Simple to-do list plugin for posts and pages" v. 0.0.5 is loaded by WordPress automatically on each request
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("sliced-to-do.php" instead of "sliced_todo_main.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin329 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 68 | 25 | 118 |
CSS | 1 | 48 | 0 | 108 |
JavaScript | 1 | 81 | 44 | 103 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 6 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin