Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼2.53ms] Passed 4 tests
A check of server-side resources used by Chamber Dashboard CRM
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 41.70 ▼3.01 |
Dashboard /wp-admin | 3.31 ▲0.00 | 49.48 ▲0.84 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 50.56 ▼0.33 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 96.22 ▼7.63 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 41.30 ▲4.41 |
Activity Category /wp-admin/edit-tags.php?taxonomy=activity_category&post_type=activity | 3.04 | 34.38 |
All Activities /wp-admin/edit.php?post_type=activity | 3.04 | 24.94 |
People Category /wp-admin/edit-tags.php?taxonomy=people_category&post_type=person | 3.04 | 23.86 |
Add New /wp-admin/post-new.php?post_type=activity | 3.04 | 26.43 |
Add New /wp-admin/post-new.php?post_type=person | 3.04 | 31.95 |
All People /wp-admin/edit.php?post_type=person | 3.04 | 36.30 |
Server storage [IO: ▲1.85MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 26 new files
Database: no new tables, 8 new options
New WordPress options |
---|
can_compress_scripts |
activity_category_children |
db_upgraded |
cdcrm_options |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Chamber Dashboard CRM
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲3 | 14.74 ▲0.39 | 1.74 ▼0.13 | 43.99 ▼1.02 |
Dashboard /wp-admin | 2,195 ▲15 | 5.56 ▼0.07 | 81.84 ▼9.59 | 38.37 ▼1.98 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.97 ▼0.03 | 40.38 ▲5.16 | 36.81 ▼2.34 |
Add New Post /wp-admin/post-new.php | 1,534 ▲5 | 18.50 ▼4.60 | 650.80 ▼30.64 | 68.27 ▲12.86 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.22 ▼0.00 | 109.45 ▲5.28 | 46.39 ▲3.18 |
Activity Category /wp-admin/edit-tags.php?taxonomy=activity_category&post_type=activity | 28 | 0.42 | 0.16 | 4.53 |
All Activities /wp-admin/edit.php?post_type=activity | 28 | 0.42 | 0.22 | 3.89 |
People Category /wp-admin/edit-tags.php?taxonomy=people_category&post_type=person | 28 | 0.42 | 0.08 | 3.65 |
Add New /wp-admin/post-new.php?post_type=activity | 28 | 0.42 | 0.08 | 3.75 |
Add New /wp-admin/post-new.php?post_type=person | 28 | 0.42 | 0.08 | 3.67 |
All People /wp-admin/edit.php?post_type=person | 28 | 0.42 | 0.07 | 3.72 |
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
- The uninstall procedure has failed, leaving 7 options in the database
- widget_recent-comments
- activity_category_children
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
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
- 9× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/chamber-dashboard-crm/wpalchemy/personcustom.php:3
- > PHP Notice
Undefined variable: mb in wp-content/plugins/chamber-dashboard-crm/wpalchemy/person.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/chamber-dashboard-crm/cdash-crm.php:46
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/chamber-dashboard-crm/wpalchemy/MetaBox.php:22
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/chamber-dashboard-crm/options.php:61
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/chamber-dashboard-crm/required_files.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/chamber-dashboard-crm/includes/aside.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/chamber-dashboard-crm/views.php:145
- > PHP Fatal error
Uncaught Error: Call to a member function the_field() on null in wp-content/plugins/chamber-dashboard-crm/wpalchemy/person.php:3
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There are user-side issues you should fix
- > GET request to /wp-admin/edit-tags.php?taxonomy=activity_category&post_type=activity
- > Network (severe)
wp-admin/edit-tags.php?taxonomy=activity_category&post_type=activity - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
- > GET request to /wp-admin/edit.php?post_type=activity
- > Network (severe)
wp-admin/edit.php?post_type=activity - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
- > GET request to /wp-admin/edit-tags.php?taxonomy=people_category&post_type=person
- > Network (severe)
wp-admin/edit-tags.php?taxonomy=people_category&post_type=person - 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=activity
- > Network (severe)
wp-admin/post-new.php?post_type=activity - 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=person
- > Network (severe)
wp-admin/post-new.php?post_type=person - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
- > GET request to /wp-admin/edit.php?post_type=person
- > Network (severe)
wp-admin/edit.php?post_type=person - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Screenshots: Add images for these screenshots: #1 (Entering people record), #2 (Displaying board members/staff members on the front end)
chamber-dashboard-crm/cdash-crm.php 85% from 13 tests
The main PHP script in "Chamber Dashboard CRM" version 1.5.6 is automatically included on every request by WordPress
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("chamber-dashboard-crm.php" instead of "cdash-crm.php")
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
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
There were no executable files found in this plugin21,235 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 2 | 0 | 0 | 17,564 |
PHP | 11 | 712 | 1,105 | 3,008 |
JavaScript | 4 | 20 | 7 | 335 |
PO File | 1 | 106 | 106 | 268 |
CSS | 1 | 13 | 0 | 60 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 98.67 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 272.00 |
Average method complexity | 4.02 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 68.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 97 | |
▷ Static methods | 8 | 8.25% |
▷ Public methods | 96 | 98.97% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 1.03% |
Functions | 48 | |
▷ Named functions | 48 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 20 | |
▷ Global constants | 20 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
2 PNG files occupy 0.98MB with 0.59MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 147.98KB | 71.10KB | ▼ 51.95% |
screenshot-2.png | 857.87KB | 265.13KB | ▼ 69.09% |