Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.26MB] [CPU: ▼14.25ms] Passed 4 tests
This is a short check of server-side resources used by Pricing Table Builder - The Best Price Table Builder Plugin
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.73 ▲0.27 | 41.34 ▲0.33 |
Dashboard /wp-admin | 3.57 ▲0.22 | 51.56 ▼15.47 |
Posts /wp-admin/edit.php | 3.68 ▲0.33 | 48.11 ▼9.24 |
Add New Post /wp-admin/post-new.php | 6.15 ▲0.27 | 86.03 ▼32.60 |
Media Library /wp-admin/upload.php | 3.49 ▲0.26 | 46.98 ▲17.23 |
Server storage [IO: ▲1.11MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 43 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Pricing Table Builder - The Best Price Table Builder Plugin
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,839 ▲68 | 14.26 ▼0.37 | 1.81 ▼0.27 | 43.64 ▲0.41 |
Dashboard /wp-admin | 2,245 ▲71 | 5.51 ▼0.14 | 101.97 ▲10.03 | 42.93 ▼0.95 |
Posts /wp-admin/edit.php | 2,151 ▲48 | 2.03 ▼0.01 | 36.70 ▼4.49 | 33.34 ▼3.98 |
Add New Post /wp-admin/post-new.php | 1,538 ▲12 | 23.06 ▼0.04 | 682.10 ▲68.56 | 57.97 ▲7.04 |
Media Library /wp-admin/upload.php | 1,450 ▲50 | 4.23 ▲0.04 | 106.09 ▼2.25 | 43.04 ▼0.10 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means 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
- 6× PHP files output text when accessed directly:
- > /wp-content/plugins/wp-pricing/views/table/footer.php
- > /wp-content/plugins/wp-pricing/views/table/features.php
- > /wp-content/plugins/wp-pricing/views/table/_css.php
- > /wp-content/plugins/wp-pricing/views/table/header.php
- > /wp-content/plugins/wp-pricing/views/table/price.php
- > /wp-content/plugins/wp-pricing/views/admin_view.php
- 42× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Notice
Undefined variable: prefix in wp-content/plugins/wp-pricing/views/table/_css.php on line 36
- > PHP Notice
Undefined variable: header in wp-content/plugins/wp-pricing/views/table/header.php on line 2
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/wp-pricing/views/table/price.php on line 3
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/wp-pricing/views/table/price.php on line 5
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/wp-pricing/views/table/footer.php on line 3
- > PHP Notice
Undefined variable: prefix in wp-content/plugins/wp-pricing/views/table/_css.php on line 42
- > PHP Notice
Undefined variable: footer in wp-content/plugins/wp-pricing/views/table/footer.php on line 3
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/wp-pricing/views/table/footer.php on line 2
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/wp-pricing/views/table/footer.php on line 5
- > PHP Notice
Undefined variable: prefix in wp-content/plugins/wp-pricing/views/table/_css.php on line 77
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need your attention:
- Requires php: Version format is invalid
- Screenshots: Add a description for screenshot #8 in wp-pricing/assets to your readme.txt
wp-pricing/wp-pricing.php 92% from 13 tests
The entry point to "Pricing Table Builder - The Best Price Table Builder Plugin" version 1.0.0 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Text Domain: Please use dashes and lowercase characters for text domains
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected1,393 lines of code in 24 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 18 | 168 | 103 | 1,353 |
SVG | 1 | 1 | 0 | 30 |
JSON | 1 | 0 | 0 | 6 |
CSS | 2 | 0 | 0 | 2 |
JavaScript | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 9.78 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 31.00 |
Average method complexity | 2.49 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 54 | |
▷ Static methods | 33 | 61.11% |
▷ Public methods | 47 | 87.04% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 7 | 12.96% |
Functions | 9 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 9 | 100.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
11 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
public/img/table.png | 0.94KB | 0.58KB | ▼ 37.67% |
public/img/support.png | 3.11KB | 3.19KB | 0.00% |
public/img/icon_white.png | 2.63KB | 1.16KB | ▼ 55.72% |
public/img/grid.png | 2.93KB | 1.07KB | ▼ 63.45% |
public/img/skin3.png | 2.21KB | 0.90KB | ▼ 59.33% |