Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.13MB] [CPU: ▼3.46ms] Passed 4 tests
This is a short check of server-side resources used by Contractor Contact Form Website to Workflow Tool
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.13 | 37.37 ▼5.86 |
Dashboard /wp-admin | 3.44 ▲0.13 | 44.85 ▼2.15 |
Posts /wp-admin/edit.php | 3.55 ▲0.19 | 50.46 ▲2.97 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.13 | 83.15 ▼8.79 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 37.54 ▲4.76 |
JobProgress /wp-admin/admin.php?page=jp_admin_page | 3.33 | 33.06 |
Customers /wp-admin/admin.php?page=jp_customer_page | 3.37 | 33.66 |
Settings /wp-admin/admin.php?page=jp_settings_page | 3.38 | 35.38 |
Server storage [IO: ▲0.81MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 47 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_customers |
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Contractor Contact Form Website to Workflow Tool
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,920 ▲185 | 14.03 ▼0.35 | 11.00 ▲8.72 | 39.48 ▼8.62 |
Dashboard /wp-admin | 2,238 ▲50 | 5.87 ▼0.03 | 112.86 ▼5.33 | 62.92 ▲19.27 |
Posts /wp-admin/edit.php | 2,123 ▲37 | 2.03 ▲0.04 | 39.51 ▲1.93 | 34.28 ▲1.67 |
Add New Post /wp-admin/post-new.php | 1,541 ▲22 | 23.06 ▼0.14 | 851.50 ▲182.29 | 49.11 ▼1.96 |
Media Library /wp-admin/upload.php | 1,413 ▲28 | 4.15 ▼0.05 | 98.77 ▼1.00 | 70.36 ▲28.98 |
JobProgress /wp-admin/admin.php?page=jp_admin_page | 836 | 2.06 | 27.35 | 26.05 |
Customers /wp-admin/admin.php?page=jp_customer_page | 968 | 2.19 | 25.05 | 28.11 |
Settings /wp-admin/admin.php?page=jp_settings_page | 1,524 | 2.11 | 35.99 | 25.98 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- This plugin does not fully uninstall, leaving 1 table in the database
- wp_customers
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting 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
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/contractor-contact-form-website-to-workflow-tool/process.php
- 14× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'JobProgress' not found in wp-content/plugins/contractor-contact-form-website-to-workflow-tool/class.scheduler.php:2
- > PHP Notice
Undefined index: captcha_id in wp-content/plugins/contractor-contact-form-website-to-workflow-tool/process.php on line 8
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/contractor-contact-form-website-to-workflow-tool/disconnect-form.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function ine() in wp-content/plugins/contractor-contact-form-website-to-workflow-tool/connect-form.php:1
- > PHP Fatal error
Uncaught Error: Class 'JobProgress' not found in wp-content/plugins/contractor-contact-form-website-to-workflow-tool/class.customer.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/contractor-contact-form-website-to-workflow-tool/jobprogress.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_fields() in wp-content/plugins/contractor-contact-form-website-to-workflow-tool/form-settings-index-page.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/contractor-contact-form-website-to-workflow-tool/customer-form-page.php:2
- > PHP Fatal error
Uncaught Error: Class 'JP_Request' not found in wp-content/plugins/contractor-contact-form-website-to-workflow-tool/class.jobprogress.php:2
- > PHP Notice
Undefined variable: order in wp-content/plugins/contractor-contact-form-website-to-workflow-tool/customer-index-page.php on line 2
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There are user-side issues you should fix
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=jp_settings_page
- > Network (severe)
http://jobprogress.com/app/favicon.ico - Failed to load resource: the server responded with a status of 403 (Forbidden)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
1 plugin tags: customer-manager
contractor-contact-form-website-to-workflow-tool/jobprogress.php 85% from 13 tests
The main file in "Contractor Contact Form Website to Workflow Tool" v. 4.2.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Main file name: Name the main plugin file the same as the plugin slug ("contractor-contact-form-website-to-workflow-tool.php" instead of "jobprogress.php")
- Description: Keep the plugin description shorter than 140 characters (currently 646 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
Everything looks great! No dangerous files found in this plugin4,690 lines of code in 32 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 17 | 207 | 275 | 1,794 |
JavaScript | 7 | 267 | 185 | 1,470 |
CSS | 5 | 1 | 10 | 1,372 |
SVG | 3 | 0 | 0 | 54 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 18.29 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 33.00 |
Average method complexity | 3.69 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 33.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 45 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 31 | 68.89% |
▷ Protected methods | 3 | 6.67% |
▷ Private methods | 11 | 24.44% |
Functions | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 19 | |
▷ Global constants | 19 | 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
11 PNG files occupy 0.04MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/radio-hover.png | 2.03KB | 1.57KB | ▼ 22.71% |
img/checkbox.png | 1.33KB | 0.38KB | ▼ 70.99% |
css/images/ui-icons_777777_256x240.png | 6.83KB | 4.17KB | ▼ 38.92% |
css/images/ui-icons_cc0000_256x240.png | 4.44KB | 4.17KB | ▼ 6.02% |
css/images/ui-icons_555555_256x240.png | 6.82KB | 4.17KB | ▼ 38.82% |