Benchmarks
Plugin footprint 23% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
You still need to fix the following installer errors
- Install procedure validation failed for this plugin
- > User notice in wp-includes/functions.php+5905
Function add_shortcode was called incorrectly. Invalid shortcode name: Vts-tiger-New-form name=. Do not use spaces or reserved characters: & / < > [ ] = Please see Debugging in WordPress for more information. (This message was added in version 4.4.0.)
Server metrics [RAM: ▼1.67MB] [CPU: ▼54.23ms] Passed 4 tests
Analyzing server-side resources used by WP VTiger Synchronization
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.33 ▼1.13 | 5.34 ▼32.74 |
Dashboard /wp-admin | 2.35 ▼1.00 | 6.88 ▼51.77 |
Posts /wp-admin/edit.php | 2.35 ▼1.01 | 7.78 ▼38.67 |
Add New Post /wp-admin/post-new.php | 2.35 ▼3.54 | 7.83 ▼93.74 |
Media Library /wp-admin/upload.php | 2.35 ▼0.88 | 7.51 ▼26.65 |
Server storage [IO: ▲4.18MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 67 new files
Database: 2 new tables, 6 new options
New tables |
---|
create_shortcode |
wp_captcha |
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for WP VTiger Synchronization
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,819 ▲48 | 14.47 ▼0.28 | 1.57 ▼0.27 | 37.19 ▼3.34 |
Dashboard /wp-admin | 2,228 ▲40 | 4.89 ▼0.06 | 98.34 ▼5.58 | 81.10 ▲41.35 |
Posts /wp-admin/edit.php | 2,111 ▲22 | 2.03 ▲0.03 | 37.87 ▼0.06 | 33.71 ▼3.70 |
Add New Post /wp-admin/post-new.php | 1,550 ▲27 | 23.31 ▲0.11 | 707.83 ▲40.52 | 65.59 ▲13.06 |
Media Library /wp-admin/upload.php | 1,401 ▲13 | 4.18 ▼0.07 | 127.14 ▲22.66 | 83.50 ▲34.01 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 25% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- This plugin cannot be uninstalled
- > User notice in wp-includes/functions.php+5905
Function add_shortcode was called incorrectly. Invalid shortcode name: Vts-tiger-New-form name=. Do not use spaces or reserved characters: & / < > [ ] = Please see Debugging in WordPress for more information. (This message was added in version 4.4.0.)
- Zombie tables were found after uninstall: 2 tables
- create_shortcode
- wp_captcha
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 2× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/msstiger/test-vtiger-access.php
- > /wp-content/plugins/msstiger/captcha.php
- 19× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Notice
Undefined index: Vts_host_username in wp-content/plugins/msstiger/test-vtiger-access.php on line 8
- > PHP Warning
require_once(vtwsclib/third-party/Zend/Exception.php): failed to open stream: No such file or directory in wp-content/plugins/msstiger/vtwsclib/third-party/Zend/Json/Exception.php on line 25
- > PHP Notice
Trying to access array offset on value of type bool in wp-content/plugins/msstiger/vtwsclib/Vtiger/WSClient.php on line 86
- > PHP Warning
chdir(): No such file or directory (errno 2) in wp-content/plugins/msstiger/test-vtiger-access.php on line 5
- > PHP Fatal error
require_once(): Failed opening required 'vtwsclib/third-party/Zend/Json/Exception.php' (include_path='.:/usr/share/php') in wp-content/plugins/msstiger/vtwsclib/third-party/Zend/Json/Encoder.php on line 25
- > PHP Fatal error
require_once(): Failed opening required 'vtwsclib/third-party/curl_http_client.php' (include_path='.:/usr/share/php') in wp-content/plugins/msstiger/vtwsclib/Vtiger/Net/HTTP_Client.php on line 3
- > PHP Fatal error
require_once(): Failed opening required 'vtwsclib/third-party/Zend/Exception.php' (include_path='.:/usr/share/php') in wp-content/plugins/msstiger/vtwsclib/third-party/Zend/Json/Exception.php on line 25
- > PHP Notice
Undefined index: VTS_host_access_key in wp-content/plugins/msstiger/test-vtiger-access.php on line 9
- > PHP Fatal error
require_once(): Failed opening required 'vtwsclib/third-party/Zend/Json.php' (include_path='.:/usr/share/php') in wp-content/plugins/msstiger/vtwsclib/third-party/Zend/Json/Decoder.php on line 24
- > PHP Warning
require_once(vtwsclib/third-party/Zend/Json/Exception.php): failed to open stream: No such file or directory in wp-content/plugins/msstiger/vtwsclib/third-party/Zend/Json/Encoder.php on line 25
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Tags: Please reduce the number of tags, currently 23 tag instead of maximum 10
msstiger/vtlc.php 85% from 13 tests
The main PHP file in "WP VTiger Synchronization" ver. 1.1.1 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 144 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("msstiger.php" instead of "vtlc.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected4,992 lines of code in 22 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 18 | 720 | 855 | 3,298 |
JavaScript | 2 | 115 | 19 | 725 |
CSS | 1 | 155 | 17 | 707 |
Python | 1 | 29 | 19 | 262 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 41.45 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 196.00 |
Average method complexity | 6.63 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 83.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 11 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 79 | |
▷ Static methods | 15 | 18.99% |
▷ Public methods | 63 | 79.75% |
▷ Protected methods | 13 | 16.46% |
▷ Private methods | 3 | 3.80% |
Functions | 17 | |
▷ Named functions | 17 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 10 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 10 | 100.00% |
▷ Public constants | 10 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
36 PNG files occupy 3.75MB with 2.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/icon-128x128.png | 12.48KB | 5.04KB | ▼ 59.57% |
images/downarrow.png | 0.29KB | 0.19KB | ▼ 35.25% |
images/icon.png | 0.96KB | 0.70KB | ▼ 26.43% |
images/listshortcode.png | 18.99KB | 6.87KB | ▼ 63.83% |
assets/screenshot-9.png | 166.15KB | 28.47KB | ▼ 82.86% |