Benchmarks
Plugin footprint 65% 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.28MB] [CPU: ▼307.02ms] Passed 4 tests
An overview of server-side resources used by Pricing Table Builder - AP Pricing Tables Lite
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.88 ▲0.36 | 61.19 ▲9.36 |
Dashboard /wp-admin | 3.72 ▲0.31 | 34.20 ▲0.18 |
Posts /wp-admin/edit.php | 3.95 ▲0.30 | 37.93 ▲2.47 |
Add New Post /wp-admin/post-new.php | 7.18 ▲0.21 | 92.21 ▼1,233.33 |
Media Library /wp-admin/upload.php | 3.60 ▲0.30 | 25.73 ▲2.62 |
Plugin Settings /wp-admin/admin.php?page=ap-pricing-tables-lite-settings | 3.62 | 35.06 |
How to Use /wp-admin/admin.php?page=ap-pricing-tables-lite-how-to-use | 3.62 | 26.99 |
Add New Table /wp-admin/admin.php?page=ap-pricing-tables-lite-add-new | 4.32 | 36.68 |
Check Premium Version /wp-admin/admin.php?page=appts-premium | 3.40 | 18.73 |
AP Pricing Tables Lite /wp-admin/admin.php?page=ap-pricing-tables-lite | 3.63 | 33.57 |
Documentation /wp-admin/admin.php?page=appts-doc | 3.40 | 18.67 |
About /wp-admin/admin.php?page=ap-pricing-tables-lite-about | 3.62 | 27.88 |
Server storage [IO: ▲2.71MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 82 new files
Database: 1 new table, 1 new option
New tables |
---|
wp_appts_tables_data |
New WordPress options |
---|
appts_settings |
Browser metrics 75% from 4 tests
Checking browser requirements for Pricing Table Builder - AP Pricing Tables Lite
It is time to focus on the following
- Nodes: For the best user experience, please reduce the number of DOM nodes under 25,000 (currently 26,830 on /wp-admin/admin.php?page=ap-pricing-tables-lite-add-new)
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,997 ▲253 | 16.22 ▲0.18 | 10.74 ▲4.69 | 3.42 ▲1.07 |
Dashboard /wp-admin | 2,951 ▲90 | 6.20 ▲0.01 | 117.39 ▼14.97 | 171.87 ▲14.07 |
Posts /wp-admin/edit.php | 2,747 ▲53 | 3.10 ▼0.13 | 64.03 ▼2.55 | 143.07 ▼1.24 |
Add New Post /wp-admin/post-new.php | 1,797 ▲136 | 17.16 ▲0.97 | 416.92 ▼11.44 | 197.51 ▲41.83 |
Media Library /wp-admin/upload.php | 1,759 ▲61 | 5.54 ▲0.02 | 130.00 ▼13.82 | 209.19 ▲21.46 |
Plugin Settings /wp-admin/admin.php?page=ap-pricing-tables-lite-settings | 1,592 | 6.57 | 133.04 | 153.93 |
How to Use /wp-admin/admin.php?page=ap-pricing-tables-lite-how-to-use | 1,637 | 6.56 | 132.25 | 141.24 |
Add New Table /wp-admin/admin.php?page=ap-pricing-tables-lite-add-new | 26,830 | 6.64 | 132.37 | 247.19 |
Check Premium Version /wp-admin/admin.php?page=appts-premium | 1,447 | 11.15 | 323.40 | 221.69 |
AP Pricing Tables Lite /wp-admin/admin.php?page=ap-pricing-tables-lite | 1,525 | 6.57 | 117.55 | 122.36 |
Documentation /wp-admin/admin.php?page=appts-doc | 1,629 | 9.40 | 292.24 | 218.14 |
About /wp-admin/admin.php?page=ap-pricing-tables-lite-about | 1,691 | 11.22 | 185.60 | 242.54 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- The plugin did not uninstall successfully, leaving 1 table in the database
- wp_appts_tables_data
- This plugin did not uninstall successfully, leaving 1 option in the database
- appts_settings
Smoke tests 25% 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)
Good news, no errors were detected
SRP 0% 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
- 26× PHP files perform the task of outputting text when accessed with GET requests (only 10 are shown):
- > /wp-content/plugins/ap-pricing-tables-lite/inc/backend/column.php
- > /wp-content/plugins/ap-pricing-tables-lite/inc/backend/about.php
- > /wp-content/plugins/ap-pricing-tables-lite/inc/backend/add_row.php
- > /wp-content/plugins/ap-pricing-tables-lite/inc/backend/db_install.php
- > /wp-content/plugins/ap-pricing-tables-lite/inc/frontend/shortcode-template/body.php
- > /wp-content/plugins/ap-pricing-tables-lite/inc/backend/pricing_table_editor.php
- > /wp-content/plugins/ap-pricing-tables-lite/inc/backend/popup.php
- > /wp-content/plugins/ap-pricing-tables-lite/inc/frontend/shortcode-template/title_subtitle.php
- > /wp-content/plugins/ap-pricing-tables-lite/inc/backend/pricing_tables_listing.php
- > /wp-content/plugins/ap-pricing-tables-lite/inc/backend/plugin_settings.php
- 9× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Notice
Undefined variable: remove_header in wp-content/plugins/ap-pricing-tables-lite/inc/frontend/shortcode-template/title_subtitle.php on line 14
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/ap-pricing-tables-lite/inc/plugin_variables.php:247
- > PHP Notice
Undefined variable: currency_settings in wp-content/plugins/ap-pricing-tables-lite/inc/frontend/shortcode-template/price.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/ap-pricing-tables-lite/inc/frontend/preview-table.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/ap-pricing-tables-lite/inc/frontend/shortcode.php:2
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/ap-pricing-tables-lite/inc/frontend/shortcode-template/price.php on line 4
- > PHP Notice
Undefined variable: currency_settings in wp-content/plugins/ap-pricing-tables-lite/inc/frontend/shortcode-template/price.php on line 2
- > PHP Notice
Undefined variable: new_feature_image in wp-content/plugins/ap-pricing-tables-lite/inc/frontend/shortcode-template/title_subtitle.php on line 9
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/ap-pricing-tables-lite/inc/frontend/shortcode-template/price.php on line 2
- > PHP Notice
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please take a look at the following user-side issues
- > GET request to /wp-admin/admin.php?page=appts-premium
- > Javascript (severe) in unknown
https://accesspressthemes.com/wordpress-plugins/ap-pricing-tables/ - Access to script at 'https://embed.tawk.to/60cc2bbb65b7290ac63693ec/1f8eollms' from origin 'https://accesspressthemes.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=appts-doc
- > Network (severe)
https://embed.tawk.to/60cc2bbb65b7290ac63693ec/1f8eollms - Failed to load resource: net::ERR_FAILED
- > GET request to /wp-admin/admin.php?page=appts-doc
- > Javascript (severe) in unknown
https://accesspressthemes.com/documentation/ap-pricing-tables-lite/ - Access to script at 'https://embed.tawk.to/60cc2bbb65b7290ac63693ec/1f8eollms' from origin 'https://accesspressthemes.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
5 plugin tags: pricing plan, pricing table, responsive pricing table, wordpress pricing table, wp pricing table
ap-pricing-tables-lite/ap-pricing-tables-lite.php Passed 13 tests
The main PHP file in "Pricing Table Builder - AP Pricing Tables Lite" ver. 1.1.5 adds more information about the plugin and also serves as the entry point for this plugin
79 characters long description:
A plugin to add various pricing tables to posts/pages content using shortcodes.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected28,596 lines of code in 45 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 8 | 705 | 169 | 10,411 |
JavaScript | 5 | 1,006 | 1,281 | 8,552 |
PHP | 31 | 710 | 255 | 6,962 |
SVG | 1 | 0 | 0 | 2,671 |
PHP code Passed 2 tests
An short overview of 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.75 |
Average class complexity | 53.00 |
▷ Minimum class complexity | 53.00 |
▷ Maximum class complexity | 53.00 |
Average method complexity | 2.79 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 29 | |
▷ Static methods | 8 | 27.59% |
▷ Public methods | 29 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 10 | |
▷ Global constants | 10 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
22 compressed PNG files occupy 0.13MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
css/backend/images/ui-icons_bf3030_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
css/backend/images/ui-bg_glass_75_dadada_1x400.png | 0.11KB | 0.16KB | 0.00% |
css/backend/images/ui-icons_454545_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
css/backend/images/ui-bg_glass_65_ffffff_1x400.png | 0.10KB | 0.10KB | ▼ 5.71% |
images/shadows/shadow_2.png | 6.63KB | 4.13KB | ▼ 37.75% |