Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼0.83ms] 75% from 4 tests
An overview of server-side resources used by Pricing Tables WordPress Plugin - Easy Pricing Tables
Please have a look at the following items
- CPU: You should keep total CPU usage under 500.00ms (currently 5,559.57ms on /wp-admin/edit.php?post_type=easy-pricing-table&page=fca-featured-plugins)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 40.14 ▲0.27 |
Dashboard /wp-admin | 3.35 ▲0.05 | 47.56 ▼1.87 |
Posts /wp-admin/edit.php | 3.40 ▲0.05 | 50.30 ▼1.69 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 101.33 ▼0.04 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 40.05 ▲7.37 |
Add New /wp-admin/edit.php?post_type=easy-pricing-table&page=ept3-list-new | 3.24 | 34.35 |
Settings /wp-admin/edit.php?post_type=easy-pricing-table&page=easy-pricing-tables-settings | 3.24 | 33.37 |
Upgrade to Premium /wp-admin/edit.php?post_type=easy-pricing-table&page=easy-pricing-tables-upgrade | 3.25 | 32.36 |
Easy Pricing Tables /wp-admin/edit.php?post_type=easy-pricing-table&page=ept3-list | 3.25 | 37.80 |
Featured Plugins /wp-admin/edit.php?post_type=easy-pricing-table&page=fca-featured-plugins | 3.79 | 5,559.57 |
Server storage [IO: ▲3.20MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 133 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
dh_ptp_show_review_notice |
Browser metrics Passed 4 tests
Pricing Tables WordPress Plugin - Easy Pricing Tables: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,839 ▲78 | 14.38 ▼0.01 | 1.58 ▼0.31 | 41.12 ▼2.33 |
Dashboard /wp-admin | 2,245 ▲65 | 5.61 ▼0.08 | 89.68 ▼0.16 | 81.97 ▲39.25 |
Posts /wp-admin/edit.php | 2,147 ▲47 | 2.00 ▼0.00 | 39.43 ▲2.98 | 36.89 ▲2.01 |
Add New Post /wp-admin/post-new.php | 6,253 ▲4,721 | 19.12 ▼4.16 | 905.37 ▲205.28 | 63.68 ▲7.90 |
Media Library /wp-admin/upload.php | 1,447 ▲44 | 4.17 ▼0.12 | 104.22 ▲0.01 | 70.70 ▲24.63 |
Add New /wp-admin/edit.php?post_type=easy-pricing-table&page=ept3-list-new | 1,711 | 2.38 | 33.41 | 35.62 |
Settings /wp-admin/edit.php?post_type=easy-pricing-table&page=easy-pricing-tables-settings | 856 | 2.20 | 24.72 | 27.66 |
Upgrade to Premium /wp-admin/edit.php?post_type=easy-pricing-table&page=easy-pricing-tables-upgrade | 2,398 | 6.47 | 338.41 | 173.12 |
Easy Pricing Tables /wp-admin/edit.php?post_type=easy-pricing-table&page=ept3-list | 1,035 | 2.09 | 26.22 | 27.34 |
Featured Plugins /wp-admin/edit.php?post_type=easy-pricing-table&page=fca-featured-plugins | 1,620 | 3.50 | 45.65 | 53.82 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin does not fully uninstall, leaving 7 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- dh_ptp_show_review_notice
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Almost there! Just fix the following items
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/easy-pricing-tables/includes/metaboxes/metabox-blocks/tab-advanced-settings.php
- 52× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Warning
include(PTP_PLUGIN_PATH/includes/metaboxes/metabox-blocks/advanced-settings/design6-settings.php): failed to open stream: No such file or directory in wp-content/plugins/easy-pricing-tables/includes/metaboxes/metabox-blocks/tab-advanced-settings.php on line 9
- > PHP Warning
Use of undefined constant PTP_PLUGIN_PATH - assumed 'PTP_PLUGIN_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/easy-pricing-tables/includes/metaboxes/metabox-blocks/tab-advanced-settings.php on line 10
- > PHP Warning
include(PTP_PLUGIN_PATH/includes/metaboxes/metabox-blocks/advanced-settings/stylish-flat-settings.php): failed to open stream: No such file or directory in wp-content/plugins/easy-pricing-tables/includes/metaboxes/metabox-blocks/tab-advanced-settings.php on line 6
- > PHP Warning
include(PTP_PLUGIN_PATH/includes/metaboxes/metabox-blocks/advanced-settings/design5-settings.php): failed to open stream: No such file or directory in wp-content/plugins/easy-pricing-tables/includes/metaboxes/metabox-blocks/tab-advanced-settings.php on line 8
- > PHP Warning
Use of undefined constant PTP_PLUGIN_PATH - assumed 'PTP_PLUGIN_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/easy-pricing-tables/includes/metaboxes/metabox-blocks/tab-advanced-settings.php on line 13
- > PHP Warning
Use of undefined constant PTP_PLUGIN_PATH - assumed 'PTP_PLUGIN_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/easy-pricing-tables/includes/table-generation/table-generator.php on line 10
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/easy-pricing-tables/includes/notices/notices.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/easy-pricing-tables/pricing-table-plugin.php:19
- > PHP Warning
include(): Failed opening 'PTP_PLUGIN_PATH/includes/metaboxes/metabox-blocks/advanced-settings/comparison1-settings.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/easy-pricing-tables/includes/metaboxes/metabox-blocks/tab-advanced-settings.php on line 11
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/easy-pricing-tables/includes/metaboxes/metabox-blocks/tab-content.php:23
- > PHP Warning
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)
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
- Screenshots: These screenshots do not have images: #1 (Creating a pricing table), #2 (Example of a published pricing table), #3 (Another example of a published pricing table), #4 (Another example of a published pricing table), #5 (Plugin dashboard, showing saved tables and shortcode feature), #6 (Easy Pricing Tables Premium layouts), #7 (Design editor of Easy Pricing Tables Premium), #8 (Premium pricing table with toggle), #9 (Premium comparison table with toggle), #10 (Premium pricing table layout), #11 (Premium pricing table layout with inline images), #12 (Premium pricing table layout with inline images)
easy-pricing-tables/pricing-table-plugin.php 85% from 13 tests
The main file in "Pricing Tables WordPress Plugin - Easy Pricing Tables" v. 3.2.5 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
- Description: The description should be shorter than 140 characters (currently 149 characters long)
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("easy-pricing-tables.php" instead of "pricing-table-plugin.php")
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
Good job! No executable or dangerous file extensions detected12,230 lines of code in 83 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 24 | 964 | 1,148 | 4,356 |
JavaScript | 29 | 770 | 289 | 4,113 |
CSS | 25 | 187 | 204 | 1,888 |
PO File | 4 | 892 | 1,393 | 1,856 |
SVG | 1 | 0 | 0 | 17 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 92.33 |
▷ Minimum class complexity | 17.00 |
▷ Maximum class complexity | 242.00 |
Average method complexity | 4.61 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 68.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 76 | |
▷ Static methods | 8 | 10.53% |
▷ Public methods | 65 | 85.53% |
▷ Protected methods | 10 | 13.16% |
▷ Private methods | 1 | 1.32% |
Functions | 64 | |
▷ Named functions | 64 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 28 | |
▷ Global constants | 28 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
36 PNG files occupy 2.13MB with 1.16MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-9.png | 70.51KB | 19.64KB | ▼ 72.15% |
assets/ui/img/comparison1.png | 45.14KB | 12.39KB | ▼ 72.54% |
screenshot-4.png | 59.95KB | 16.17KB | ▼ 73.02% |
assets/images/placeholder-300.png | 2.49KB | 1.20KB | ▼ 51.81% |
assets/ui/ui-components/colorbox/images/border2.png | 0.17KB | 0.16KB | ▼ 2.35% |