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 successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.03MB] [CPU: ▼5.94ms] Passed 4 tests
This is a short check of server-side resources used by WP-x2CRM
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 36.32 ▼4.84 |
Dashboard /wp-admin | 3.33 ▲0.03 | 43.06 ▼2.81 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 42.17 ▼7.50 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 83.23 ▼8.59 |
Media Library /wp-admin/upload.php | 3.25 ▲0.03 | 35.19 ▲2.54 |
x2CRM Options /wp-admin/options-general.php?page=wp2x2crm_options | 3.19 | 26.90 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 9 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
wp-x2crm_version |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for WP-x2CRM
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 14.45 ▲0.08 | 1.75 ▲0.04 | 40.03 ▼2.01 |
Dashboard /wp-admin | 2,210 ▲21 | 5.91 ▲0.90 | 111.20 ▼14.77 | 42.29 ▼10.26 |
Posts /wp-admin/edit.php | 2,093 ▲1 | 1.97 ▼0.03 | 39.23 ▼4.76 | 31.97 ▼2.82 |
Add New Post /wp-admin/post-new.php | 1,550 ▲21 | 18.11 ▼0.27 | 631.07 ▼14.68 | 70.08 ▲16.93 |
Media Library /wp-admin/upload.php | 1,392 ▲7 | 4.21 ▼0.04 | 99.46 ▼38.60 | 41.69 ▼9.06 |
x2CRM Options /wp-admin/options-general.php?page=wp2x2crm_options | 808 | 2.07 | 26.28 | 27.36 |
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
- This plugin did not uninstall successfully, leaving 7 options in the database
- wp-x2crm_version
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Smoke test failed, please fix the following
- 3 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=wp2x2crm_options
- > Notice in wp-content/plugins/wp-x2crm/inc/x2crm-options.php+34
Trying to access array offset on value of type bool
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need your attention:
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== wp-x2crm ===
)
wp-x2crm/wp-x2crm.php Passed 13 tests
"WP-x2CRM" version 1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
78 characters long description:
Connect Wordpress with x2CRM Contact Relationship and Marketing Automation App
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin367 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 78 | 253 | 367 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 42.00 |
▷ Minimum class complexity | 42.00 |
▷ Maximum class complexity | 42.00 |
Average method complexity | 2.86 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.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 | 22 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 20 | 90.91% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 9.09% |
Functions | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin