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
Installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼6.59ms] Passed 4 tests
An overview of server-side resources used by Pricing Table block - Display product prices as a table.
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.05 | 39.89 ▼4.45 |
Dashboard /wp-admin | 3.38 ▼0.00 | 56.18 ▼14.34 |
Posts /wp-admin/edit.php | 3.44 ▲0.04 | 51.92 ▲1.64 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.04 | 90.61 ▼6.10 |
Media Library /wp-admin/upload.php | 3.31 ▲0.04 | 35.00 ▼1.48 |
Server storage [IO: ▲0.26MB] [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: 18 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Pricing Table block - Display product prices as a table.
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.64 ▼0.80 | 11.42 ▲9.70 | 42.03 ▼2.17 |
Dashboard /wp-admin | 2,195 ▲21 | 5.51 ▼0.15 | 87.25 ▼7.01 | 38.37 ▼13.53 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.98 ▲0.00 | 36.34 ▼5.77 | 33.78 ▼1.51 |
Add New Post /wp-admin/post-new.php | 6,203 ▲4,667 | 18.96 ▼4.13 | 911.30 ▲200.32 | 39.61 ▼15.44 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.17 ▲0.06 | 97.73 ▼19.01 | 43.48 ▼4.67 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Warning
Use of undefined constant BPTB_PLUGIN_VERSION - assumed 'BPTB_PLUGIN_VERSION' (this will throw an Error in a future version of PHP) in wp-content/plugins/b-pricing-table/dist/script.asset.php on line 4
- > PHP Warning
Use of undefined constant BPTB_PLUGIN_VERSION - assumed 'BPTB_PLUGIN_VERSION' (this will throw an Error in a future version of PHP) in wp-content/plugins/b-pricing-table/dist/editor.asset.php on line 4
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Requires at least: The plugin version is formatted incorrectly
b-pricing-table/index.php 92% from 13 tests
Analyzing the main PHP file in "Pricing Table block - Display product prices as a table." version 1.0.6
Please make the necessary changes and fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("b-pricing-table.php" instead of "index.php")
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
There were no executable files found in this plugin352 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 2 | 0 | 0 | 190 |
PO File | 1 | 44 | 79 | 109 |
PHP | 3 | 12 | 13 | 41 |
SVG | 1 | 0 | 0 | 8 |
CSS | 2 | 0 | 2 | 2 |
JavaScript | 2 | 0 | 2 | 2 |
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.24 |
Average class complexity | 3.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.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 | 3 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 3 | 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 | 2 | |
▷ Global constants | 2 | 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
PNG images were not found in this plugin