Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.86MB] [CPU: ▼0.28ms] 75% from 4 tests
A check of server-side resources used by Church Data Connect for Church Community Builder
Please fix the following
- CPU: The total CPU usage must kept under 500.00ms (currently 1,595.66ms on /wp-admin/admin.php?page=ccbpress-addons)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.21 ▲0.74 | 46.26 ▲4.83 |
Dashboard /wp-admin | 4.20 ▲0.85 | 51.00 ▼12.56 |
Posts /wp-admin/edit.php | 4.31 ▲0.95 | 56.40 ▲9.16 |
Add New Post /wp-admin/post-new.php | 6.83 ▲0.94 | 99.33 ▼2.31 |
Media Library /wp-admin/upload.php | 4.13 ▲0.90 | 41.10 ▲8.94 |
Tools /wp-admin/admin.php?page=ccbpress-tools | 4.09 | 34.44 |
Settings /wp-admin/admin.php?page=ccbpress-settings | 4.09 | 38.41 |
Welcome /wp-admin/admin.php?page=ccbpress | 4.09 | 34.92 |
Add-ons /wp-admin/admin.php?page=ccbpress-addons | 4.11 | 1,595.66 |
Server storage [IO: ▲1.28MB] [DB: ▲0.01MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 104 new files
Database: no new tables, 10 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
ccbpress_settings |
ccbpress_ccb |
ccbpress_licenses |
db_upgraded |
widget_recent-posts |
ccbpress_core_db_version |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Church Data Connect for Church Community Builder
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,030 ▲283 | 13.45 ▼1.26 | 8.95 ▲7.20 | 39.57 ▼3.44 |
Dashboard /wp-admin | 2,323 ▲149 | 5.62 ▼0.04 | 95.23 ▲9.83 | 42.30 ▲0.27 |
Posts /wp-admin/edit.php | 2,228 ▲128 | 2.02 ▲0.01 | 41.35 ▲5.05 | 35.81 ▼1.49 |
Add New Post /wp-admin/post-new.php | 6,237 ▲4,711 | 19.40 ▼3.68 | 817.15 ▲173.08 | 63.05 ▲5.18 |
Media Library /wp-admin/upload.php | 1,531 ▲137 | 4.20 ▲0.04 | 97.99 ▲3.19 | 42.75 ▲0.09 |
Tools /wp-admin/admin.php?page=ccbpress-tools | 884 | 2.04 | 25.60 | 21.53 |
Settings /wp-admin/admin.php?page=ccbpress-settings | 1,041 | 2.17 | 27.06 | 28.12 |
Welcome /wp-admin/admin.php?page=ccbpress | 1,035 | 2.13 | 26.43 | 61.19 |
Add-ons /wp-admin/admin.php?page=ccbpress-addons | 962 | 2.06 | 25.15 | 31.82 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 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
- The uninstall procedure has failed, leaving 10 options in the database
- theysaidso_admin_options
- db_upgraded
- ccbpress_settings
- ccbpress_licenses
- ccbpress_ccb
- ccbpress_core_db_version
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
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 take a closer look at the following
- 7× PHP files trigger errors when accessed directly with GET requests:
- > PHP Notice
Undefined variable: template in wp-content/plugins/ccbpress-core/templates/group-info.php on line 6
- > PHP Fatal error
Uncaught Error: Call to a member function show_group_image() on null in wp-content/plugins/ccbpress-core/templates/group-info.php:6
- > PHP Fatal error
Uncaught Error: Class 'CCBPress\\Library\\BackgroundProcessing\\WP_Async_Request' not found in wp-content/plugins/ccbpress-core/lib/wp-background-processing/wp-background-process.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ccbpress-core/includes/schedule-get.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ccbpress-core/includes/styles.php:9
- > PHP Fatal error
Uncaught Error: Class 'CCBPress\\Library\\BackgroundProcessing\\WP_Background_Process' not found in wp-content/plugins/ccbpress-core/includes/class-ccbpress-background-get.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ccbpress-core/includes/admin/admin-styles.php:7
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
6 plugin tags: pushpay, gutenberg, church, church community builder, chms...
ccbpress-core/ccbpress-core.php Passed 13 tests
Analyzing the main PHP file in "Church Data Connect for Church Community Builder" version 1.5.1
73 characters long description:
Display information from Church Community Builder on your WordPress site.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected23,940 lines of code in 84 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 8 | 0 | 0 | 16,009 |
PHP | 42 | 1,405 | 2,622 | 4,764 |
JavaScript | 16 | 235 | 169 | 2,526 |
CSS | 9 | 85 | 33 | 495 |
Sass | 7 | 8 | 3 | 113 |
Markdown | 1 | 13 | 0 | 22 |
SVG | 1 | 0 | 0 | 11 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 17.22 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 85.00 |
Average method complexity | 3.21 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 36 | |
▷ Abstract classes | 2 | 5.56% |
▷ Concrete classes | 34 | 94.44% |
▷ Final classes | 0 | 0.00% |
Methods | 266 | |
▷ Static methods | 52 | 19.55% |
▷ Public methods | 207 | 77.82% |
▷ Protected methods | 26 | 9.77% |
▷ Private methods | 33 | 12.41% |
Functions | 12 | |
▷ Named functions | 8 | 66.67% |
▷ Anonymous functions | 4 | 33.33% |
Constants | 6 | |
▷ Global constants | 4 | 66.67% |
▷ Class constants | 2 | 33.33% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
11 PNG files occupy 0.24MB with 0.13MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
lib/chosen/chosen-sprite.png | 0.53KB | 0.88KB | 0.00% |
assets/images/ccbpress_mark.png | 5.99KB | 2.75KB | ▼ 54.05% |
assets/images/getting_started_api_user.png | 24.88KB | 7.13KB | ▼ 71.34% |
assets/images/getting_started_connection_settings.png | 41.91KB | 13.73KB | ▼ 67.24% |
assets/images/blocks.png | 31.40KB | 8.73KB | ▼ 72.20% |