Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.01MB] [CPU: ▼9.27ms] Passed 4 tests
Analyzing server-side resources used by Wbcom Designs BuddyPress Todo List
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 37.50 ▼3.59 |
Dashboard /wp-admin | 3.31 ▼0.04 | 52.29 ▼9.86 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 45.33 ▼3.40 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 82.96 ▼20.21 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 36.97 ▲2.64 |
Our Themes /wp-admin/admin.php?page=wbcom-themes-page | 3.00 | 22.54 |
Support /wp-admin/admin.php?page=wbcom-support-page | 3.00 | 22.66 |
Our Plugins /wp-admin/admin.php?page=wbcom-plugins-page | 3.00 | 21.36 |
BP User To-Do List /wp-admin/admin.php?page=user-todo-list-settings | 3.00 | 24.31 |
Server storage [IO: ▲4.05MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 125 new files
Database: no new tables, 10 new options
New WordPress options |
---|
widget_recent-posts |
widget_bp_todo_member_todo_widget |
db_upgraded |
user_todo_list_settings |
theysaidso_admin_options |
can_compress_scripts |
todo_category_children |
widget_recent-comments |
widget_theysaidso_widget |
group-todo-list-settings |
Browser metrics Passed 4 tests
Wbcom Designs BuddyPress Todo List: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.26 ▲0.05 | 1.76 ▲0.22 | 44.69 ▲1.20 |
Dashboard /wp-admin | 2,198 ▲24 | 5.63 ▼0.05 | 83.50 ▼0.76 | 38.58 ▼4.35 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.99 ▼0.04 | 35.14 ▲0.00 | 35.14 ▼2.23 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.20 ▼0.43 | 681.67 ▼5.51 | 58.05 ▲7.45 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.21 ▲0.04 | 98.34 ▼1.53 | 45.01 ▲1.48 |
Our Themes /wp-admin/admin.php?page=wbcom-themes-page | 28 | 0.42 | 0.19 | 4.17 |
Support /wp-admin/admin.php?page=wbcom-support-page | 28 | 0.42 | 0.07 | 4.27 |
Our Plugins /wp-admin/admin.php?page=wbcom-plugins-page | 28 | 0.42 | 0.11 | 3.57 |
BP User To-Do List /wp-admin/admin.php?page=user-todo-list-settings | 28 | 0.42 | 0.09 | 3.50 |
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
Please fix the following items
- Zombie WordPress options were found after uninstall: 10 options
- todo_category_children
- group-todo-list-settings
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- user_todo_list_settings
- widget_bp_todo_member_todo_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
- 7× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/bp-user-to-do-list/inc/templates/single-bp-todo.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/bp-user-to-do-list/admin/wbcom/templates/wbcom-support-page.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/bp-user-to-do-list/inc/templates/archive-bp-todo.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/bp-user-to-do-list/admin/class-bptodo-feedback.php:311
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/bp-user-to-do-list/admin/wbcom/templates/wbcom-license-page.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/bp-user-to-do-list/admin/wbcom/templates/wbcom-plugins-page.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bp-user-to-do-list/public/bptodo-plugin-genral-function.php:92
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please take a look at the following user-side issues
- > GET request to /wp-admin/admin.php?page=wbcom-themes-page
- > Network (severe)
wp-admin/admin.php?page=wbcom-themes-page - Failed to load resource: the server responded with a status of 403 (Forbidden)
- > GET request to /wp-admin/admin.php?page=wbcom-support-page
- > Network (severe)
wp-admin/admin.php?page=wbcom-support-page - Failed to load resource: the server responded with a status of 403 (Forbidden)
- > GET request to /wp-admin/admin.php?page=wbcom-plugins-page
- > Network (severe)
wp-admin/admin.php?page=wbcom-plugins-page - Failed to load resource: the server responded with a status of 403 (Forbidden)
- > GET request to /wp-admin/admin.php?page=user-todo-list-settings
- > Network (severe)
wp-admin/admin.php?page=user-todo-list-settings - Failed to load resource: the server responded with a status of 403 (Forbidden)
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: Please add images for these screenshots: #1 (screenshot-1 - is the screen which shows the plugin settings at admin panel.), #2 (screenshot-2 - is the screen that shows member's to-do list dashboard.), #3 (screenshot-3 - is the screen that shows member's all to-do list.), #4 (screenshot-4 - is the screen which shows form to create a to-do.)
bp-user-to-do-list/bp-user-todo-list.php 85% from 13 tests
This is the main PHP file of "Wbcom Designs BuddyPress Todo List" version 3.1.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("bp-user-to-do-list.php" instead of "bp-user-todo-list.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
Everything looks great! No dangerous files found in this plugin13,805 lines of code in 56 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 32 | 739 | 1,652 | 5,666 |
CSS | 4 | 492 | 257 | 3,614 |
SVG | 11 | 0 | 0 | 2,681 |
PO File | 2 | 388 | 645 | 1,074 |
JavaScript | 5 | 67 | 35 | 740 |
JSON | 1 | 0 | 0 | 22 |
XML | 1 | 0 | 0 | 8 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 20.13 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 120.00 |
Average method complexity | 3.68 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 15 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 15 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 107 | |
▷ Static methods | 8 | 7.48% |
▷ Public methods | 96 | 89.72% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 11 | 10.28% |
Functions | 30 | |
▷ Named functions | 30 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
25 PNG files occupy 1.15MB with 0.25MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/assets/images/todo-list.png | 0.93KB | 1.03KB | 0.00% |
assets/css/images/ui-icons_cc0000_256x240.png | 4.52KB | 4.18KB | ▼ 7.56% |
admin/wbcom/assets/imgs/wbcom-offer-notice.png | 67.64KB | 32.40KB | ▼ 52.11% |
assets/css/images/ui-icons_777620_256x240.png | 4.57KB | 4.18KB | ▼ 8.43% |
assets/css/images/ui-icons_222222_256x240.png | 6.76KB | 4.17KB | ▼ 38.24% |