Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.54MB] [CPU: ▼6.42ms] Passed 4 tests
Server-side resources used by Catalyst Connect Zoho CRM Client Portal
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.96 ▲0.50 | 42.93 ▼0.27 |
Dashboard /wp-admin | 3.92 ▲0.62 | 50.62 ▼1.43 |
Posts /wp-admin/edit.php | 3.93 ▲0.57 | 52.81 ▲4.78 |
Add New Post /wp-admin/post-new.php | 6.48 ▲0.59 | 78.65 ▼26.51 |
Media Library /wp-admin/upload.php | 3.73 ▲0.50 | 39.17 ▲2.55 |
Server storage [IO: ▲6.28MB] [DB: ▲0.08MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 219 new files
Database: 4 new tables, 6 new options
New tables |
---|
ccgclientportal_auth |
ccgclientportal_users |
ccgclientportal_options |
ccgclientportal_tempusers |
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Catalyst Connect Zoho CRM Client Portal
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,217 ▲456 | 16.20 ▲1.93 | 14.84 ▲13.20 | 40.90 ▲1.69 |
Dashboard /wp-admin | 2,414 ▲242 | 6.74 ▲1.01 | 113.62 ▲12.02 | 102.38 ▲61.29 |
Posts /wp-admin/edit.php | 2,357 ▲257 | 3.62 ▲1.67 | 51.54 ▲15.67 | 62.71 ▲30.37 |
Add New Post /wp-admin/post-new.php | 1,605 ▲74 | 18.96 ▼4.26 | 601.45 ▼31.83 | 36.04 ▼24.16 |
Media Library /wp-admin/upload.php | 1,495 ▲92 | 4.70 ▲0.54 | 88.16 ▼10.89 | 81.14 ▲36.15 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.08MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- Zombie tables were found after uninstall: 4 tables
- ccgclientportal_auth
- ccgclientportal_tempusers
- ccgclientportal_options
- ccgclientportal_users
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 0% from 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
Please fix the following
- 9× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/catalyst-connect-client-portal/pages/admin/crm_modules/footer.php
- > /wp-content/plugins/catalyst-connect-client-portal/pages/admin/crm_modules/action_Layouts/common.php
- > /wp-content/plugins/catalyst-connect-client-portal/pages/user/login/resetpassword.php
- > /wp-content/plugins/catalyst-connect-client-portal/pages/admin/crm_modules/icon-list.php
- > /wp-content/plugins/catalyst-connect-client-portal/pages/user/common/header.php
- > /wp-content/plugins/catalyst-connect-client-portal/pages/user/common/footer.php
- > /wp-content/plugins/catalyst-connect-client-portal/pages/admin/settings/webtab.php
- > /wp-content/plugins/catalyst-connect-client-portal/pages/admin/usersManagement/details/footer.php
- > /wp-content/plugins/catalyst-connect-client-portal/pages/admin/common/footer.php
- 194× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Warning
Use of undefined constant CCGP_PLUGIN_URL - assumed 'CCGP_PLUGIN_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/catalyst-connect-client-portal/pages/admin/usersManagement/details/header.php on line 4
- > PHP Notice
Undefined variable: type in wp-content/plugins/catalyst-connect-client-portal/pages/user/crm_modules/defineInputTypeAdd.php on line 45
- > PHP Notice
Undefined variable: type in wp-content/plugins/catalyst-connect-client-portal/pages/user/crm_modules/defineInputTypeEdit.php on line 8
- > PHP Notice
Undefined variable: _SESSION in wp-content/plugins/catalyst-connect-client-portal/pages/user/crm_modules/list.php on line 38
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_js() in wp-content/plugins/catalyst-connect-client-portal/pages/admin/zohocrmapi/crmapiinformation.php:5
- > PHP Notice
Undefined variable: portalTitle in wp-content/plugins/catalyst-connect-client-portal/pages/user/login/login.php on line 12
- > PHP Warning
Use of undefined constant WP_PLUGIN_URL - assumed 'WP_PLUGIN_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/catalyst-connect-client-portal/pages/admin/usersManagement/inactiveUsers.php on line 6
- > PHP Fatal error
Uncaught Error: Call to a member function get_row() on null in wp-content/plugins/catalyst-connect-client-portal/pages/admin/crm_modules/action_Layouts/desk/_viewLayout.php:10
- > PHP Notice
Undefined variable: pluginUrl in wp-content/plugins/catalyst-connect-client-portal/pages/admin/crm_modules/action_Layouts/common.php on line 91
- > PHP Notice
Undefined variable: wpdb in wp-content/plugins/catalyst-connect-client-portal/pages/user/common/left-menu.php on line 5
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
8 plugin tags: client portal, zoho crm, zoho, zoho one, catalyst connect...
catalyst-connect-client-portal/CCGClientPortalFree.php 85% from 13 tests
"Catalyst Connect Zoho CRM Client Portal" version 2.2.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
- Description: Please don't use more than 140 characters for the plugin description (currently 156 characters long)
- Main file name: Name the main plugin file the same as the plugin slug ("catalyst-connect-client-portal.php" instead of "CCGClientPortalFree.php")
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
There were no executable files found in this plugin41,900 lines of code in 114 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 83 | 5,295 | 804 | 26,069 |
SVG | 3 | 0 | 12 | 8,891 |
CSS | 17 | 436 | 199 | 5,109 |
JavaScript | 8 | 583 | 216 | 1,776 |
Markdown | 2 | 26 | 0 | 44 |
YAML | 1 | 0 | 0 | 11 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.54 |
Average class complexity | 25.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 80.00 |
Average method complexity | 2.71 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 33.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 144 | |
▷ Static methods | 1 | 0.69% |
▷ Public methods | 141 | 97.92% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 2.08% |
Functions | 4 | |
▷ Named functions | 3 | 75.00% |
▷ Anonymous functions | 1 | 25.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
73 PNG files occupy 0.83MB with 0.38MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/nicon/portal-frontend-icons-52.png | 9.09KB | 4.41KB | ▼ 51.45% |
assets/plugin/colorbox/images/loading_background.png | 0.13KB | 0.15KB | 0.00% |
pages/user/attachments/profilepic/4039853000000351001/profile.png | 45.01KB | 17.63KB | ▼ 60.82% |
assets/images/profile-image-m.png | 5.75KB | 3.00KB | ▼ 47.79% |
assets/images/icon/Docs-48.png | 12.21KB | 3.73KB | ▼ 69.49% |