Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.31MB] [CPU: ▼6.34ms] Passed 4 tests
Server-side resources used by Quick quotes - WPSHARE247
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.73 ▲0.27 | 28.85 ▼18.41 |
Dashboard /wp-admin | 3.66 ▲0.31 | 58.73 ▼11.02 |
Posts /wp-admin/edit.php | 3.73 ▲0.37 | 57.16 ▲7.42 |
Add New Post /wp-admin/post-new.php | 6.24 ▲0.35 | 100.92 ▼3.35 |
Media Library /wp-admin/upload.php | 3.56 ▲0.32 | 46.39 ▲11.79 |
Quote Requests /wp-admin/edit.php?post_type=req_quote_qqfs_pt | 3.59 | 45.59 |
Configure QQFS /wp-admin/admin.php?page=ws247-quick-quote-options | 3.58 | 46.76 |
Quotes /wp-admin/edit.php?post_type=quote_qqfs_pt | 3.59 | 43.95 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 22 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Quick quotes - WPSHARE247
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,921 ▲160 | 13.39 ▼0.96 | 8.21 ▲5.83 | 39.56 ▼3.07 |
Dashboard /wp-admin | 2,232 ▲58 | 5.53 ▼0.00 | 85.46 ▼18.66 | 41.39 ▼8.53 |
Posts /wp-admin/edit.php | 2,140 ▲37 | 2.01 ▲0.06 | 36.32 ▼0.46 | 36.87 ▲1.10 |
Add New Post /wp-admin/post-new.php | 1,560 ▲34 | 23.12 ▼0.50 | 647.57 ▼40.61 | 57.45 ▲0.35 |
Media Library /wp-admin/upload.php | 1,443 ▲43 | 4.29 ▲0.12 | 96.62 ▼6.46 | 43.86 ▼0.47 |
Quote Requests /wp-admin/edit.php?post_type=req_quote_qqfs_pt | 1,127 | 1.93 | 39.23 | 31.30 |
Configure QQFS /wp-admin/admin.php?page=ws247-quick-quote-options | 1,897 | 1.82 | 30.76 | 65.18 |
Quotes /wp-admin/edit.php?post_type=quote_qqfs_pt | 1,111 | 1.93 | 33.27 | 30.85 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
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: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 13× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/quick-quotes-wpshare247/inc/class.setting.page.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/quick-quotes-wpshare247/inc/define.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function do_action() in wp-content/plugins/quick-quotes-wpshare247/inc/templates/frontend/form.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post_meta() in wp-content/plugins/quick-quotes-wpshare247/inc/templates/frontend/email.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/quick-quotes-wpshare247/inc/tabs/tab_pro_general.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post() in wp-content/plugins/quick-quotes-wpshare247/inc/templates/frontend/quote.php:2
- > PHP Warning
Use of undefined constant WS247_QUOTE_QQFS_SETTING_PAGE_SLUG - assumed 'WS247_QUOTE_QQFS_SETTING_PAGE_SLUG' (this will throw an Error in a future version of PHP) in wp-content/plugins/quick-quotes-wpshare247/inc/class.setting.page.php on line 11
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/quick-quotes-wpshare247/inc/shortcode/shortcode_index.php:9
- > PHP Warning
Use of undefined constant WS247_QUOTE_QQFS_PLUGIN_INC_DIR - assumed 'WS247_QUOTE_QQFS_PLUGIN_INC_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/quick-quotes-wpshare247/inc/define.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/quick-quotes-wpshare247/inc/theme_functions.php:12
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please fix the following browser errors
- 3 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=quote_qqfs_pt
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28609 "jQuery.Deferred exception: jQuery(...).sortable is not a function" "TypeError: jQuery(...).sortable is not a function\n at ws247_create_quote_qqfs_sortable (/wp-content/plugins/quick-quotes-wpshare247/assets/js/ws247_quote_qqfs_admin.js?ver=1.0:76:51)\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/quick-quotes-wpshare247/assets/js/ws247_quote_qqfs_admin.js?ver=1.0:4:2)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:27292)" undefined
- 3 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=quote_qqfs_pt
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28721 Uncaught TypeError: jQuery(...).sortable is not a function
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that need to be fixed:
- Plugin Name: Please specify the plugin name on the first line (
=== quick-quotes-wpshare247 ===
)
quick-quotes-wpshare247/quick-quotes-wpshare247.php 92% from 13 tests
"Quick quotes - WPSHARE247" version 1.0.0'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:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin3,056 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 223 | 101 | 1,573 |
CSS | 2 | 187 | 3 | 984 |
JavaScript | 2 | 37 | 3 | 342 |
PO File | 1 | 71 | 0 | 157 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
Average class complexity | 16.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 36.00 |
Average method complexity | 2.38 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 65 | |
▷ Static methods | 15 | 23.08% |
▷ Public methods | 65 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 10 | |
▷ Global constants | 9 | 90.00% |
▷ Class constants | 1 | 10.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected