Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.03MB] [CPU: ▼8.68ms] Passed 4 tests
An overview of server-side resources used by Vtiger CRM Integration for WordPress
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 34.34 ▼12.27 |
Dashboard /wp-admin | 3.35 ▼0.00 | 45.58 ▼11.20 |
Posts /wp-admin/edit.php | 3.46 ▲0.10 | 47.13 ▲2.71 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 80.67 ▼13.97 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 36.16 ▲3.55 |
Server storage [IO: ▲0.30MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 18 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
WpLeadBuilderProActivatedPlugin |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Vtiger CRM Integration for WordPress: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲43 | 14.46 ▲0.11 | 1.60 ▲0.07 | 38.16 ▼0.50 |
Dashboard /wp-admin | 2,192 ▲12 | 5.53 ▼0.12 | 84.39 ▼2.69 | 41.29 ▲1.18 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.94 ▼0.05 | 33.86 ▼1.59 | 34.38 ▼0.30 |
Add New Post /wp-admin/post-new.php | 1,535 ▲9 | 18.51 ▼5.15 | 603.94 ▼70.17 | 72.46 ▲10.18 |
Media Library /wp-admin/upload.php | 1,400 ▼3 | 4.20 ▲0.03 | 97.50 ▲2.91 | 40.96 ▼6.23 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_theysaidso_widget
- WpLeadBuilderProActivatedPlugin
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
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
- 17× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Warning
require_once(vtwsclib/third-party/Zend/Exception.php): failed to open stream: No such file or directory in wp-content/plugins/wp-tiger/lib/vtwsclib/third-party/Zend/Json/Exception.php on line 25
- > PHP Fatal error
Uncaught Error: Class 'Curl_HTTP_Client' not found in wp-content/plugins/wp-tiger/lib/vtwsclib/Vtiger/Net/HTTP_Client.php:7
- > PHP Fatal error
require_once(): Failed opening required 'vtwsclib/third-party/Zend/Json/Exception.php' (include_path='.:/usr/share/php') in wp-content/plugins/wp-tiger/lib/vtwsclib/third-party/Zend/Json/Encoder.php on line 25
- > PHP Warning
include_once(SM_LB_VTIGER_DIRlib/vtwsclib/third-party/curl_http_client.php): failed to open stream: No such file or directory in wp-content/plugins/wp-tiger/lib/vtwsclib/Vtiger/Net/HTTP_Client.php on line 3
- > PHP Warning
include_once(): Failed opening 'SM_LB_VTIGER_DIRlib/vtwsclib/Vtiger/WSVersion.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/wp-tiger/lib/vtwsclib/Vtiger/WSClient.php on line 7
- > PHP Fatal error
require_once(): Failed opening required 'vtwsclib/third-party/Zend/Exception.php' (include_path='.:/usr/share/php') in wp-content/plugins/wp-tiger/lib/vtwsclib/third-party/Zend/Json/Exception.php on line 25
- > PHP Warning
include_once(SM_LB_VTIGER_DIRlib/vtwsclib/Vtiger/Net/HTTP_Client.php): failed to open stream: No such file or directory in wp-content/plugins/wp-tiger/lib/vtwsclib/Vtiger/WSClient.php on line 6
- > PHP Warning
Use of undefined constant SM_LB_VTIGER_DIR - assumed 'SM_LB_VTIGER_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/wp-tiger/lib/vtwsclib/Vtiger/Net/HTTP_Client.php on line 4
- > PHP Warning
Use of undefined constant SM_LB_VTIGER_DIR - assumed 'SM_LB_VTIGER_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/wp-tiger/lib/vtwsclib/Vtiger/Net/HTTP_Client.php on line 3
- > PHP Warning
include_once(SM_LB_VTIGER_DIRlib/vtwsclib/third-party/Zend/Json.php): failed to open stream: No such file or directory in wp-content/plugins/wp-tiger/lib/vtwsclib/Vtiger/Net/HTTP_Client.php on line 4
- > 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 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that need to be fixed:
- Screenshots: Please add an image for screenshot #1 (The screenshot-1.png shows the VtigerCRM settings configuration)
- Tags: Please delete some tags, you are using 20 tag instead of maximum 10
wp-tiger/index.php 92% from 13 tests
The main PHP script in "Vtiger CRM Integration for WordPress" version 4.1 is automatically included on every request by WordPress
The following require your attention:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("wp-tiger.php" instead of "index.php")
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
Good job! No executable or dangerous file extensions detected1,305 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 287 | 611 | 1,305 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 13.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 32.00 |
Average method complexity | 2.21 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.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 | 99 | |
▷ Static methods | 10 | 10.10% |
▷ Public methods | 88 | 88.89% |
▷ Protected methods | 7 | 7.07% |
▷ Private methods | 4 | 4.04% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 13 | |
▷ Global constants | 11 | 84.62% |
▷ Class constants | 2 | 15.38% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
2 PNG files occupy 0.18MB with 0.12MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 107.65KB | 34.27KB | ▼ 68.17% |
assets/wordpress-to-vtiger-crm-banner.png | 78.95KB | 25.44KB | ▼ 67.78% |