Benchmarks
Plugin footprint 83% 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 successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.00MB] [CPU: ▼1.53ms] Passed 4 tests
This is a short check of server-side resources used by Chamber Dashboard Member Manager
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 41.25 ▲0.41 |
Dashboard /wp-admin | 3.31 ▲0.00 | 45.81 ▼7.56 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 46.13 ▲0.84 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 93.76 ▲4.46 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.40 ▲0.19 |
Invoice Statuses /wp-admin/edit-tags.php?taxonomy=invoice_status&post_type=invoice | 3.04 | 24.55 |
Add New /wp-admin/post-new.php?post_type=invoice | 3.04 | 25.99 |
Payment Report /wp-admin/edit.php?post_type=invoice&page=payment-report | 3.00 | 21.36 |
All Invoices /wp-admin/edit.php?post_type=invoice | 3.04 | 26.25 |
Rank Membership Levels /wp-admin/edit.php?post_type=business&page=cdashmm_levels | 3.00 | 22.04 |
Server storage [IO: ▲1.84MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 119 new files
Database: no new tables, 9 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
membership_status_children |
invoice_status_children |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
cdashmm_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Chamber Dashboard Member Manager
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.17 ▼1.20 | 1.77 ▲0.11 | 43.57 ▲2.50 |
Dashboard /wp-admin | 2,209 ▲18 | 4.80 ▼1.10 | 99.03 ▼2.86 | 39.53 ▼5.36 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 1.97 ▼0.10 | 38.76 ▲4.78 | 35.12 ▲2.52 |
Add New Post /wp-admin/post-new.php | 1,514 ▼14 | 17.43 ▼5.92 | 634.31 ▼55.48 | 54.38 ▼9.60 |
Media Library /wp-admin/upload.php | 1,391 ▼0 | 4.35 ▲0.19 | 92.94 ▼11.28 | 42.25 ▼3.18 |
Invoice Statuses /wp-admin/edit-tags.php?taxonomy=invoice_status&post_type=invoice | 28 | 0.44 | 0.08 | 3.46 |
Add New /wp-admin/post-new.php?post_type=invoice | 28 | 0.44 | 0.08 | 3.55 |
Payment Report /wp-admin/edit.php?post_type=invoice&page=payment-report | 28 | 0.44 | 0.09 | 3.70 |
All Invoices /wp-admin/edit.php?post_type=invoice | 28 | 0.44 | 0.10 | 3.64 |
Rank Membership Levels /wp-admin/edit.php?post_type=business&page=cdashmm_levels | 28 | 0.44 | 0.07 | 3.62 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 9 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- invoice_status_children
- membership_status_children
- theysaidso_admin_options
- cdashmm_options
- can_compress_scripts
- widget_recent-comments
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/chamber-dashboard-member-manager/cdashmm-functions.php
- 15× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Notice
Undefined variable: mb in wp-content/plugins/chamber-dashboard-member-manager/includes/membership_renewal.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/chamber-dashboard-member-manager/includes/invoice_notification.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/chamber-dashboard-member-manager/includes/aside.php:5
- > PHP Fatal error
Uncaught Error: Call to a member function the_field() on null in wp-content/plugins/chamber-dashboard-member-manager/includes/membership_renewal.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/chamber-dashboard-member-manager/cdash-member-manager.php:37
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/chamber-dashboard-member-manager/blocks/cd_pricing_table_block.php:108
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/chamber-dashboard-member-manager/require_pages.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/chamber-dashboard-member-manager/payment-report.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/chamber-dashboard-member-manager/blocks/cdashmm_login_form_block.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/chamber-dashboard-member-manager/blocks/membership_form_block.php:40
- > PHP Notice
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
These are user-side errors you should fix
- > GET request to /wp-admin/edit-tags.php?taxonomy=invoice_status&post_type=invoice
- > Network (severe)
wp-admin/edit-tags.php?taxonomy=invoice_status&post_type=invoice - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
- > GET request to /wp-admin/post-new.php?post_type=invoice
- > Network (severe)
wp-admin/post-new.php?post_type=invoice - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
- > GET request to /wp-admin/edit.php?post_type=invoice&page=payment-report
- > Network (severe)
wp-admin/edit.php?post_type=invoice&page=payment-report - Failed to load resource: the server responded with a status of 403 (Forbidden)
- > GET request to /wp-admin/edit.php?post_type=invoice
- > Network (severe)
wp-admin/edit.php?post_type=invoice - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
- > GET request to /wp-admin/edit.php?post_type=business&page=cdashmm_levels
- > Network (severe)
wp-admin/edit.php?post_type=business&page=cdashmm_levels - 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
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Screenshots: Add images for these screenshots: #1 (The membership form), #2 (Public invoice view), #3 (Entering an invoice in the dashboard), #4 (Payment report)
chamber-dashboard-member-manager/cdash-member-manager.php 85% from 13 tests
The primary PHP file in "Chamber Dashboard Member Manager" version 2.5.8 is used by WordPress to initiate all plugin functionality
The following require your attention:
- 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: It is recommended to name the main PHP file as the plugin slug ("chamber-dashboard-member-manager.php" instead of "cdash-member-manager.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
Good job! No executable or dangerous file extensions detected28,837 lines of code in 104 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 3 | 0 | 0 | 15,840 |
PHP | 24 | 783 | 669 | 6,316 |
JavaScript | 57 | 395 | 590 | 3,989 |
PO File | 3 | 717 | 729 | 1,755 |
CSS | 9 | 68 | 176 | 779 |
XML | 7 | 0 | 0 | 137 |
Markdown | 1 | 6 | 0 | 21 |
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.35 |
Average class complexity | 6.00 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 2.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.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 | 4 | |
▷ Static methods | 4 | 100.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 270 | |
▷ Named functions | 270 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
10 PNG files occupy 0.50MB with 0.23MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 179.52KB | 44.56KB | ▼ 75.18% |
js/jquery-timepicker-addon/images/bg_fallback.png | 3.63KB | 0.30KB | ▼ 91.72% |
js/jquery-timepicker-addon/images/icon_sprite.png | 3.14KB | 2.30KB | ▼ 26.70% |
js/jquery-timepicker-addon/images/ui-icons_454545_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
js/jquery-timepicker-addon/images/slider_handles.png | 1.90KB | 1.31KB | ▼ 30.90% |