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.48MB] [CPU: ▼142.88ms] Passed 4 tests
This is a short check of server-side resources used by BSK Contact Form 7 to Zoho
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.28 ▲0.56 | 43.19 ▲19.78 |
Dashboard /wp-admin | 3.57 ▲0.52 | 45.32 ▼1.82 |
Posts /wp-admin/edit.php | 3.62 ▲0.52 | 42.36 ▲5.36 |
Add New Post /wp-admin/post-new.php | 5.88 ▲0.44 | 98.37 ▼567.29 |
Media Library /wp-admin/upload.php | 3.45 ▲0.45 | 39.01 ▼7.75 |
Zoho CRM /wp-admin/admin.php?page=bsk-cf7-to-zoho | 3.42 | 39.79 |
Server storage [IO: ▲0.54MB] [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: 27 new files
Database: 1 new table, 2 new options
New tables |
---|
wp_cf7_to_zoho_feeds |
New WordPress options |
---|
_bsk_cf7_to_zoho_db_ver_ |
_bsk_cf7_to_zoho_plugin_settings_ |
Browser metrics Passed 4 tests
Checking browser requirements for BSK Contact Form 7 to Zoho
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,683 ▲87 | 16.01 ▲0.45 | 9.98 ▲1.72 | 48.74 ▲0.36 |
Dashboard /wp-admin | 2,977 ▲46 | 6.11 ▲0.13 | 137.97 ▼9.96 | 117.53 ▲2.67 |
Posts /wp-admin/edit.php | 2,743 ▲4 | 2.71 ▲0.03 | 67.67 ▼0.58 | 93.33 ▼2.30 |
Add New Post /wp-admin/post-new.php | 1,508 ▼175 | 18.49 ▲0.01 | 348.59 ▼48.76 | 114.88 ▼8.08 |
Media Library /wp-admin/upload.php | 1,814 ▲7 | 5.04 ▲0.02 | 150.31 ▼8.52 | 121.07 ▼19.25 |
Zoho CRM /wp-admin/admin.php?page=bsk-cf7-to-zoho | 1,661 | 2.12 | 56.65 | 111.29 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- This plugin cannot be uninstalled
- > Deprecated in wp-includes/class-wp-hook.php+303
Non-static method BSK_CF7_ZOHO::bsk_cf7_to_zoho_uninstall() should not be called statically
Smoke tests 75% 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 50% 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 items
- 3× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/bsk-contact-form-7-to-zoho/classes/dashboard/dashboard-feeds.php on line 4
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/bsk-contact-form-7-to-zoho/classes/dashboard/dashboard-feeds.php on line 4
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/bsk-contact-form-7-to-zoho/classes/dashboard/dashboard-feeds.php on line 4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% 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
Attributes that require attention:
- Screenshots: Please add images for these screenshots: #1 (Screen of Zoho oAuth.), #2 (Screen of form feeds list.), #3 (Screen of form mapping.)
bsk-contact-form-7-to-zoho/bsk-contact-form-7-to-zoho.php 92% from 13 tests
The primary PHP file in "BSK Contact Form 7 to Zoho" version 1.5 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 179 characters long)
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
There were no executable files found in this plugin3,169 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 435 | 75 | 2,580 |
JavaScript | 1 | 67 | 20 | 353 |
CSS | 1 | 43 | 12 | 236 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 43.08 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 202.00 |
Average method complexity | 6.87 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 54.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 | 86 | |
▷ Static methods | 10 | 11.63% |
▷ Public methods | 86 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
9 PNG files occupy 0.33MB with 0.32MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
(invalid) screenshot-1.png | 81.10KB | 0.00KB | ▼ 100.00% |
images/in-active.png | 14.99KB | 1.11KB | ▼ 92.58% |
images/active.png | 15.01KB | 1.06KB | ▼ 92.96% |
(invalid) screenshot-2.png | 89.63KB | 0.00KB | ▼ 100.00% |
(invalid) screenshot-3.png | 56.60KB | 0.00KB | ▼ 100.00% |