Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.41MB] [CPU: ▲6.18ms] Passed 4 tests
A check of server-side resources used by WordPress CRM Plugin - WP-CRM System
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.79 ▲0.33 | 43.42 ▼1.66 |
Dashboard /wp-admin | 3.73 ▲0.43 | 66.03 ▲13.95 |
Posts /wp-admin/edit.php | 3.81 ▲0.46 | 59.85 ▲8.40 |
Add New Post /wp-admin/post-new.php | 6.34 ▲0.45 | 111.28 ▲4.02 |
Media Library /wp-admin/upload.php | 3.64 ▲0.41 | 53.57 ▲15.26 |
WP-CRM System /wp-admin/admin.php?page=wpcrm | 3.69 | 89.05 |
Dashboard /wp-admin/admin.php?page=wpcrm-settings | 3.96 | 90.67 |
Reports /wp-admin/admin.php?page=wpcrm-reports | 3.66 | 48.19 |
Email /wp-admin/admin.php?page=wpcrm-email | 3.70 | 49.75 |
Welcome /wp-admin/index.php?page=wpcrm-system-plugin-welcome | 3.65 | 46.46 |
Extensions /wp-admin/admin.php?page=wpcrm-extensions | 3.69 | 47.27 |
Server storage [IO: ▲3.15MB] [DB: ▲0.01MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 294 new files
Database: 1 new table, 27 new options
New tables |
---|
wp_wpcrm_system_recurring_entries |
New WordPress options |
---|
wpcrm_system_settings_initial |
db_upgraded |
_wpcrm_enable_html_email |
wpcrm_system_date_format |
widget_theysaidso_widget |
wpcrm_system_gdpr_page_id |
wpcrm_system_gmap_api |
widget_recent-comments |
wpcrm_system_version |
wpcrm_system_report_currency_decimal_point |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for WordPress CRM Plugin - WP-CRM System
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,945 ▲184 | 14.37 ▲0.00 | 1.67 ▼0.03 | 46.28 ▲7.98 |
Dashboard /wp-admin | 2,330 ▲149 | 5.00 ▼0.69 | 98.31 ▼9.32 | 43.16 ▲0.54 |
Posts /wp-admin/edit.php | 2,242 ▲142 | 2.05 ▲0.09 | 36.07 ▼1.46 | 32.32 ▼3.19 |
Add New Post /wp-admin/post-new.php | 1,649 ▲112 | 23.69 ▲5.24 | 660.52 ▲30.54 | 37.36 ▼40.31 |
Media Library /wp-admin/upload.php | 1,541 ▲138 | 4.55 ▲0.25 | 103.13 ▲1.60 | 43.91 ▼3.88 |
WP-CRM System /wp-admin/admin.php?page=wpcrm | 1,619 | 2.04 | 31.21 | 36.87 |
Dashboard /wp-admin/admin.php?page=wpcrm-settings | 4,004 | 10.42 | 191.89 | 62.72 |
Reports /wp-admin/admin.php?page=wpcrm-reports | 989 | 2.06 | 29.42 | 27.92 |
Email /wp-admin/admin.php?page=wpcrm-email | 1,555 | 6.28 | 117.22 | 54.44 |
Welcome /wp-admin/index.php?page=wpcrm-system-plugin-welcome | 1,099 | 2.18 | 27.26 | 53.21 |
Extensions /wp-admin/admin.php?page=wpcrm-extensions | 1,134 | 2.16 | 27.33 | 32.01 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% 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
- Zombie tables detected upon uninstall: 1 table
- wp_wpcrm_system_recurring_entries
- Zombie WordPress options detected upon uninstall: 9 options
- theysaidso_admin_options
- widget_recent-comments
- wpcrm_updated_last_run_version
- widget_theysaidso_widget
- widget_recent-posts
- wpcrm_system_version
- can_compress_scripts
- db_upgraded
- wpcrm_system_db_version
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Almost there! Just fix the following items
- 31× PHP files perform the action of outputting non-empty strings when accessed directly (only 10 are shown):
- > /wp-content/plugins/wp-crm-system/includes/wcs-restrict-others.php
- > /wp-content/plugins/wp-crm-system/includes/upsells/invoicing.php
- > /wp-content/plugins/wp-crm-system/includes/wcs-recurring-entries.php
- > /wp-content/plugins/wp-crm-system/includes/wcs-meta-columns-opportunity.php
- > /wp-content/plugins/wp-crm-system/includes/wcs-fields-opportunity.php
- > /wp-content/plugins/wp-crm-system/includes/wcs-recurring-entries-add-new.php
- > /wp-content/plugins/wp-crm-system/includes/wcs-recurring-entries-create.php
- > /wp-content/plugins/wp-crm-system/includes/wcs-fields-campaign.php
- > /wp-content/plugins/wp-crm-system/includes/wcs-meta-columns-project.php
- > /wp-content/plugins/wp-crm-system/includes/legacy/gdpr-shortcode.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need to be fixed:
- Screenshots: These screenshots lack descriptions #1, #2, #3, #4 in wp-crm-system/assets to your readme.txt
wp-crm-system/wp-crm-system.php Passed 13 tests
The main file in "WordPress CRM Plugin - WP-CRM System" v. 3.2.8 serves as a complement to information provided in readme.txt and as the entry point to the plugin
28 characters long description:
A complete CRM for WordPress
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected32,058 lines of code in 197 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 113 | 1,612 | 2,425 | 19,795 |
JavaScript | 51 | 302 | 189 | 3,567 |
HTML | 3 | 65 | 0 | 3,200 |
PO File | 3 | 1,249 | 1,527 | 2,976 |
CSS | 13 | 142 | 82 | 1,506 |
Sass | 12 | 93 | 7 | 920 |
JSON | 2 | 0 | 0 | 94 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 34.17 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 119.00 |
Average method complexity | 4.69 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 38.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 12 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 12 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 108 | |
▷ Static methods | 21 | 19.44% |
▷ Public methods | 108 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 273 | |
▷ Named functions | 271 | 99.27% |
▷ Anonymous functions | 2 | 0.73% |
Constants | 11 | |
▷ Global constants | 11 | 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
49 PNG files occupy 0.53MB with 0.12MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/src/images/ui-icons_454545_256x240.png | 4.89KB | 4.18KB | ▼ 14.43% |
assets/dist/images/ui-bg_flat_0_aaaaaa_40x100.png | 0.08KB | 0.08KB | 0.00% |
assets/src/images/ui-bg_highlight-soft_75_cccccc_1x100.png | 0.31KB | 0.18KB | ▼ 42.95% |
includes/images/welcome-screen-reports.png | 47.70KB | 19.46KB | ▼ 59.21% |
assets/dist/images/ui-icons_cd0a0a_256x240.png | 4.17KB | 4.18KB | 0.00% |