Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.09MB] [CPU: ▼1.33ms] Passed 4 tests
An overview of server-side resources used by Synchronizing CiviCRM data to Custom Posts
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 43.87 ▲2.01 |
Dashboard /wp-admin | 3.44 ▲0.14 | 65.33 ▲6.62 |
Posts /wp-admin/edit.php | 3.49 ▲0.14 | 61.06 ▲2.47 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 101.25 ▼14.71 |
Media Library /wp-admin/upload.php | 3.39 ▲0.17 | 43.23 ▲4.91 |
All Custom Posts /wp-admin/edit.php?post_type=sync_civi_profile | 3.43 | 47.22 |
Add New /wp-admin/post-new.php?post_type=sync_civi_profile | 3.43 | 48.51 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
Synchronizing CiviCRM data to Custom Posts: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,847 ▲86 | 14.22 ▼0.13 | 1.75 ▼0.05 | 44.99 ▲3.19 |
Dashboard /wp-admin | 2,252 ▲78 | 5.65 ▲0.03 | 86.37 ▼2.79 | 85.78 ▲42.71 |
Posts /wp-admin/edit.php | 2,159 ▲62 | 2.10 ▲0.05 | 41.23 ▲0.15 | 32.83 ▼1.90 |
Add New Post /wp-admin/post-new.php | 1,552 ▼3 | 22.89 ▲4.75 | 616.84 ▼12.25 | 57.07 ▼6.98 |
Media Library /wp-admin/upload.php | 1,461 ▲61 | 4.28 ▲0.05 | 99.53 ▼2.96 | 43.67 ▼5.01 |
All Custom Posts /wp-admin/edit.php?post_type=sync_civi_profile | 1,094 | 2.04 | 35.40 | 27.03 |
Add New /wp-admin/post-new.php?post_type=sync_civi_profile | 1,314 | 2.52 | 49.75 | 37.15 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP 0% 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
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/synchronizing-civicrm-data-to-custom-posts/includes/class-local-civicrm.php
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/synchronizing-civicrm-data-to-custom-posts/admin/admin.php:288
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/synchronizing-civicrm-data-to-custom-posts/synchronizing-civicrm-data-to-custom-posts.php:29
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
7 plugin tags: rest, custom fields, acf, api, connector...
synchronizing-civicrm-data-to-custom-posts/synchronizing-civicrm-data-to-custom-posts.php 92% from 13 tests
This is the main PHP file of "Synchronizing CiviCRM data to Custom Posts" version 1.0.4, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
- Description: Please don't use more than 140 characters for the plugin description (currently 208 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin487 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 76 | 171 | 474 |
SVG | 1 | 0 | 0 | 13 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 23.33 |
▷ Minimum class complexity | 11.00 |
▷ Maximum class complexity | 38.00 |
Average method complexity | 4.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.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 | 23 | |
▷ Static methods | 5 | 21.74% |
▷ Public methods | 20 | 86.96% |
▷ Protected methods | 1 | 4.35% |
▷ Private methods | 2 | 8.70% |
Functions | 4 | |
▷ Named functions | 3 | 75.00% |
▷ Anonymous functions | 1 | 25.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin