Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.02MB] [CPU: ▼2.33ms] Passed 4 tests
An overview of server-side resources used by Contact Form 7 Round Robin Lead Distribution
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 35.90 ▼4.81 |
Dashboard /wp-admin | 3.32 ▲0.02 | 46.33 ▼2.72 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 47.64 ▼0.14 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 85.48 ▼1.64 |
Media Library /wp-admin/upload.php | 3.25 ▲0.01 | 35.47 ▲4.58 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 11 new files
Database: 4 new tables, 7 new options
New tables |
---|
rr_cf7_sent |
rr_cf7_mail |
rr_cf7_users |
rr_cf7_forms |
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
rr_browser_db_version |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Contact Form 7 Round Robin Lead Distribution
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,807 ▲72 | 13.20 ▼1.10 | 1.77 ▲0.02 | 40.27 ▼8.55 |
Dashboard /wp-admin | 2,213 ▲25 | 4.84 ▼1.01 | 107.36 ▼2.79 | 37.81 ▼4.14 |
Posts /wp-admin/edit.php | 2,095 ▲6 | 2.03 ▲0.01 | 38.25 ▲2.69 | 35.13 ▲3.88 |
Add New Post /wp-admin/post-new.php | 1,553 ▲9 | 18.40 ▲0.36 | 590.00 ▼61.04 | 65.32 ▲12.93 |
Media Library /wp-admin/upload.php | 1,392 ▲7 | 4.19 ▼0.06 | 99.68 ▼3.21 | 44.17 ▲1.52 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
- 6× PHP files trigger server-side errors or warnings 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/contact-form-7-round-robin-lead-distribution/admin/includes/mail-sent-list-table.php on line 12
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/contact-form-7-round-robin-lead-distribution/includes/rr-process.php:54
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/contact-form-7-round-robin-lead-distribution/admin/includes/mail-sent-list-table.php on line 12
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/contact-form-7-round-robin-lead-distribution/admin/rr-admin.php:12
- > 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/contact-form-7-round-robin-lead-distribution/admin/includes/mail-sent-list-table.php on line 12
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/contact-form-7-round-robin-lead-distribution/roundrobin.php:17
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
7 plugin tags: lead sharing, enquiry distribution, enquiry sharing, round robin, lead distribution...
contact-form-7-round-robin-lead-distribution/roundrobin.php 92% from 13 tests
"Contact Form 7 Round Robin Lead Distribution" version 1.2.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
It is important to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("contact-form-7-round-robin-lead-distribution.php" instead of "roundrobin.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
There were no executable files found in this plugin1,269 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 165 | 137 | 870 |
JavaScript | 1 | 31 | 31 | 334 |
CSS | 1 | 15 | 19 | 65 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 7.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 14.00 |
Average method complexity | 2.18 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 11 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 11 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 36 | |
▷ Named functions | 36 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
PNG images were not found in this plugin