Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.10MB] [CPU: ▼7.74ms] Passed 4 tests
This is a short check of server-side resources used by Zoho Flow
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.09 | 39.53 ▼6.15 |
Dashboard /wp-admin | 3.44 ▲0.10 | 44.13 ▼16.13 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 47.69 ▲1.31 |
Add New Post /wp-admin/post-new.php | 6.07 ▲0.19 | 86.15 ▼9.99 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 36.49 ▲3.83 |
Server storage [IO: ▲1.64MB] [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: 82 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Zoho Flow
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,857 ▲85 | 14.40 ▲0.17 | 1.88 ▼0.01 | 43.26 ▲0.29 |
Dashboard /wp-admin | 2,266 ▲89 | 5.65 ▲0.01 | 86.77 ▼1.32 | 37.85 ▲1.29 |
Posts /wp-admin/edit.php | 2,225 ▲128 | 2.19 ▲0.22 | 36.71 ▲0.59 | 53.38 ▲17.96 |
Add New Post /wp-admin/post-new.php | 1,540 ▲14 | 23.20 ▼0.01 | 687.62 ▲14.31 | 51.84 ▼7.82 |
Media Library /wp-admin/upload.php | 1,525 ▲128 | 4.27 ▲0.09 | 101.84 ▲3.04 | 72.44 ▲30.73 |
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
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not 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
- 6× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'Zoho_Flow_Service' not found in wp-content/plugins/zoho-flow/integrations/wpforms/wpforms.php:3
- > PHP Fatal error
Uncaught Error: Class 'Zoho_Flow_Service' not found in wp-content/plugins/zoho-flow/integrations/fluentcrm/fluentcrm.php:5
- > PHP Fatal error
Uncaught Error: Class 'Zoho_Flow_Service' not found in wp-content/plugins/zoho-flow/integrations/digi-member/digi-member.php:2
- > PHP Fatal error
Uncaught Error: Class 'Zoho_Flow_Service' not found in wp-content/plugins/zoho-flow/integrations/ultimate-member/ultimate-member.php:2
- > PHP Fatal error
Uncaught Error: Class 'Zoho_Flow_Service' not found in wp-content/plugins/zoho-flow/integrations/ninja-forms/ninja-forms.php:2
- > PHP Fatal error
Uncaught Error: Class 'Zoho_Flow_Service' not found in wp-content/plugins/zoho-flow/integrations/elementor/elementor.php:4
- > PHP Fatal error
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 93% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Please fix the following attributes:
- Tags: Too many tags (172 tag instead of maximum 10); only the first 5 tags are used in your directory listing
zoho-flow/zoho-flow.php 92% from 13 tests
"Zoho Flow" version 2.0.1'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: The description should be shorter than 140 characters (currently 250 characters long)
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin16,500 lines of code in 43 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 36 | 1,118 | 343 | 12,467 |
SVG | 3 | 19 | 1 | 3,179 |
CSS | 1 | 112 | 15 | 600 |
JavaScript | 3 | 31 | 13 | 254 |
PHP code 50% from 2 tests
Analyzing cyclomatic complexity and code structure
The following items need your attention
- Cyclomatic complexity of methods has to be reduced to less than 100 (currently 126)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 47.47 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 292.00 |
Average method complexity | 4.42 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 126.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 32 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 32 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 436 | |
▷ Static methods | 2 | 0.46% |
▷ Public methods | 394 | 90.37% |
▷ Protected methods | 4 | 0.92% |
▷ Private methods | 38 | 8.72% |
Functions | 29 | |
▷ Named functions | 26 | 89.66% |
▷ Anonymous functions | 3 | 10.34% |
Constants | 7 | |
▷ Global constants | 7 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
34 PNG files occupy 0.70MB with 0.35MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/logos/gravity-forms.png | 7.51KB | 4.10KB | ▼ 45.41% |
assets/images/logos/woocommerce.png | 15.61KB | 6.24KB | ▼ 60.05% |
assets/images/logos/ultimate-member.png | 36.11KB | 9.65KB | ▼ 73.27% |
assets/images/logos/learndash.png | 1.46KB | 1.33KB | ▼ 9.11% |
assets/images/logos/mailpoet.png | 10.74KB | 4.01KB | ▼ 62.67% |