Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.44MB] [CPU: ▼0.22ms] Passed 4 tests
Server-side resources used by Pricing Table
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.90 ▲0.44 | 36.05 ▼3.27 |
Dashboard /wp-admin | 3.79 ▲0.49 | 50.14 ▲0.80 |
Posts /wp-admin/edit.php | 3.81 ▲0.46 | 52.09 ▲5.76 |
Add New Post /wp-admin/post-new.php | 6.32 ▲0.43 | 90.81 ▼4.15 |
Media Library /wp-admin/upload.php | 3.65 ▲0.42 | 40.17 ▲5.90 |
All Pricing Tables /wp-admin/edit.php?post_type=bee_pricing_table | 3.76 | 41.12 |
Add New /wp-admin/post-new.php?post_type=bee_pricing_table | 4.14 | 45.97 |
Server storage [IO: ▲4.07MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 392 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Pricing Table
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,958 ▲187 | 14.05 ▼0.30 | 4.94 ▲2.73 | 41.60 ▼0.80 |
Dashboard /wp-admin | 2,248 ▲60 | 5.88 ▲1.01 | 100.84 ▼15.24 | 38.46 ▼4.73 |
Posts /wp-admin/edit.php | 2,134 ▲45 | 2.06 ▲0.03 | 40.69 ▲3.63 | 35.11 ▲2.11 |
Add New Post /wp-admin/post-new.php | 1,551 ▲37 | 17.79 ▼0.03 | 597.36 ▼90.35 | 57.47 ▲4.31 |
Media Library /wp-admin/upload.php | 1,430 ▲39 | 4.32 ▲0.13 | 96.77 ▼2.67 | 45.87 ▲1.43 |
All Pricing Tables /wp-admin/edit.php?post_type=bee_pricing_table | 1,106 | 2.03 | 34.38 | 29.35 |
Add New /wp-admin/post-new.php?post_type=bee_pricing_table | 3,235 | 3.45 | 121.26 | 31.97 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/bee-pricing-table/public/partials/bee-pricing-table-public-display.php
- > /wp-content/plugins/bee-pricing-table/admin/partials/bee-pricing-table-admin-display.php
- 8× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'Cmb2Grid\\Grid\\Cmb2Grid' not found in wp-content/plugins/bee-pricing-table/includes/framework/grid/Grid/Group/Cmb2GroupGrid.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bee-pricing-table/includes/framework/bee_pricing_config.php:72
- > PHP Fatal error
Uncaught Error: Class 'Cmb2Grid\\Grid\\Row' not found in wp-content/plugins/bee-pricing-table/includes/framework/grid/Grid/Group/GroupRow.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/bee-pricing-table/includes/bee-pricing-table-front-view.php:207
- > PHP Fatal error
Uncaught Error: Class 'Cmb2Grid\\Grid\\Column' not found in wp-content/plugins/bee-pricing-table/includes/framework/grid/Grid/Group/GroupColumn.php:20
- > PHP Fatal error
Uncaught Error: Call to undefined function Cmb2Grid\\trailingslashit() in wp-content/plugins/bee-pricing-table/includes/framework/grid/Cmb2GridPluginLoad.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function Cmb2Grid\\trailingslashit() in wp-content/plugins/bee-pricing-table/includes/framework/grid/Cmb2GridPluginLoad.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/bee-pricing-table/includes/bee-pricing-table-functions.php:56
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that need to be fixed:
- Screenshots: Please add descriptions for these screenshots #2, #3, #4, #5, #6, #7, #8 in bee-pricing-table/assets to your readme.txt
bee-pricing-table/bee-pricing-table.php Passed 13 tests
The primary PHP file in "Pricing Table" version 1.0.0 is used by WordPress to initiate all plugin functionality
50 characters long description:
Responsive pricing table builder very easy to use.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected55,770 lines of code in 227 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 119 | 12,731 | 16,335 | 29,151 |
CSS | 14 | 2,070 | 2,086 | 11,747 |
PHP | 41 | 1,438 | 3,071 | 4,461 |
Sass | 25 | 208 | 57 | 3,699 |
SVG | 1 | 0 | 0 | 2,671 |
JavaScript | 7 | 285 | 203 | 1,820 |
LESS | 14 | 34 | 44 | 1,758 |
Markdown | 3 | 150 | 0 | 415 |
YAML | 1 | 9 | 33 | 28 |
XML | 1 | 4 | 2 | 17 |
JSON | 1 | 0 | 0 | 3 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 22.55 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 130.00 |
Average method complexity | 3.06 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.00 |
Code structure | ||
---|---|---|
Namespaces | 6 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 31 | |
▷ Abstract classes | 1 | 3.23% |
▷ Concrete classes | 30 | 96.77% |
▷ Final classes | 0 | 0.00% |
Methods | 325 | |
▷ Static methods | 27 | 8.31% |
▷ Public methods | 294 | 90.46% |
▷ Protected methods | 20 | 6.15% |
▷ Private methods | 11 | 3.38% |
Functions | 33 | |
▷ Named functions | 31 | 93.94% |
▷ Anonymous functions | 2 | 6.06% |
Constants | 8 | |
▷ Global constants | 5 | 62.50% |
▷ Class constants | 3 | 37.50% |
▷ Public constants | 3 | 100.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
14 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/framework/images/ui-bg_glass_75_e6e6e6_1x400.png | 0.11KB | 0.14KB | 0.00% |
includes/framework/images/ui-bg_flat_0_aaaaaa_40x100.png | 0.18KB | 0.08KB | ▼ 51.67% |
includes/framework/images/ui-bg_flat_75_ffffff_40x100.png | 0.17KB | 0.08KB | ▼ 51.12% |
includes/framework/images/ui-icons_888888_256x240.png | 5.23KB | 4.11KB | ▼ 21.49% |
includes/framework/images/ui-bg_glass_65_ffffff_1x400.png | 0.10KB | 0.10KB | ▼ 5.71% |