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 successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.11MB] [CPU: ▼5.31ms] Passed 4 tests
Server-side resources used by RWS Enquiry And Lead Follow-up
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.10 | 36.74 ▼4.01 |
Dashboard /wp-admin | 3.41 ▲0.11 | 49.86 ▼4.84 |
Posts /wp-admin/edit.php | 3.52 ▲0.17 | 51.77 ▲3.65 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 87.68 ▼16.04 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 42.60 ▲6.53 |
Follow Ups /wp-admin/edit.php?post_type=rws_enquiry_followup&page=rws_followup | 3.30 | 36.77 |
All Enquries /wp-admin/edit.php?post_type=rws_enquiry_followup | 3.38 | 38.69 |
Add New Enquiry /wp-admin/post-new.php?post_type=rws_enquiry_followup | 3.36 | 43.76 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for RWS Enquiry And Lead Follow-up
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,909 ▲123 | 14.63 ▲0.28 | 2.09 ▼0.10 | 44.14 ▼0.79 |
Dashboard /wp-admin | 2,284 ▲107 | 5.58 ▼0.08 | 85.94 ▼8.17 | 38.10 ▼3.42 |
Posts /wp-admin/edit.php | 2,133 ▲33 | 2.02 ▲0.08 | 39.92 ▲2.75 | 35.43 ▼1.53 |
Add New Post /wp-admin/post-new.php | 1,555 ▲27 | 23.15 ▼0.08 | 674.71 ▲39.47 | 51.35 ▼4.49 |
Media Library /wp-admin/upload.php | 1,427 ▲30 | 4.20 ▲0.04 | 98.91 ▼6.32 | 44.98 ▼0.54 |
Follow Ups /wp-admin/edit.php?post_type=rws_enquiry_followup&page=rws_followup | 833 | 1.99 | 25.74 | 33.40 |
All Enquries /wp-admin/edit.php?post_type=rws_enquiry_followup | 1,121 | 1.97 | 31.62 | 31.06 |
Add New Enquiry /wp-admin/post-new.php?post_type=rws_enquiry_followup | 1,593 | 2.62 | 49.02 | 51.21 |
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
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
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
Good news, no errors were detected
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
Please take a closer look at the following
- 6× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/rws-enquiry/rws-enquiry.php:28
- > PHP Notice
Undefined variable: ename in wp-content/plugins/rws-enquiry/view/rws_new_followup.php on line 3
- > PHP Notice
Undefined index: enquiry in wp-content/plugins/rws-enquiry/view/rws_new_followup.php on line 1
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_nonce_field() in wp-content/plugins/rws-enquiry/view/rws_new_followup.php:31
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/rws-enquiry/enq_template.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_nonce_field() in wp-content/plugins/rws-enquiry/view/rws_front_end.php:20
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
9 plugin tags: contact form, feedback, crm, forms, leads...
rws-enquiry/rws-enquiry.php Passed 13 tests
The primary PHP file in "RWS Enquiry And Lead Follow-up" version 1.0 is used by WordPress to initiate all plugin functionality
88 characters long description:
Genrate leads with their Follow ups. Best way manage follow ups with respect to enquies.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin476 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 237 | 108 | 475 |
CSS | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 23.00 |
▷ Minimum class complexity | 22.00 |
▷ Maximum class complexity | 24.00 |
Average method complexity | 2.63 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.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 | 27 | |
▷ Static methods | 27 | 100.00% |
▷ Public methods | 25 | 92.59% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 7.41% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin