Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.70MB] [CPU: ▼22.95ms] Passed 4 tests
This is a short check of server-side resources used by Price Table
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.11 | 39.17 ▲0.85 |
Dashboard /wp-admin | 3.17 ▼0.14 | 27.55 ▼20.15 |
Posts /wp-admin/edit.php | 3.31 ▼0.05 | 33.78 ▼19.77 |
Add New Post /wp-admin/post-new.php | 3.27 ▼2.63 | 36.00 ▼45.58 |
Media Library /wp-admin/upload.php | 3.26 ▲0.02 | 27.23 ▼6.31 |
Server storage [IO: ▲1.74MB] [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: 66 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Price Table
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 1,442 ▼1,320 | 10.26 ▼4.11 | 1.80 ▲0.07 | 34.87 ▼3.34 |
Dashboard /wp-admin | 2,210 ▲36 | 5.51 ▼0.14 | 93.39 ▼8.09 | 84.35 ▲39.56 |
Posts /wp-admin/edit.php | 2,127 ▲27 | 1.96 ▼0.05 | 34.51 ▼4.26 | 30.77 ▼6.17 |
Add New Post /wp-admin/post-new.php | 1,568 ▲42 | 22.98 ▲0.16 | 726.11 ▲123.94 | 38.07 ▼16.74 |
Media Library /wp-admin/upload.php | 1,430 ▲30 | 4.20 ▲0.02 | 96.43 ▼1.46 | 75.75 ▲34.84 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- 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
Good news, no errors were detected
SRP 50% 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× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/pricetable-wp/pricetable-wp.php:24
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
5 plugin tags: pricing, our price table, price, price table, table price
pricetable-wp/pricetable-wp.php Passed 13 tests
The primary PHP file in "Price Table" version 2.2 is used by WordPress to initiate all plugin functionality
131 characters long description:
Pricetable plugin manage price tables on any wordpress page and posts. Easily add unlimited feature box with drag and drop builder.
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
Everything looks great! No dangerous files found in this plugin8,597 lines of code in 50 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 10 | 165 | 164 | 3,849 |
JavaScript | 8 | 110 | 84 | 1,313 |
Sass | 13 | 19 | 22 | 1,158 |
LESS | 13 | 19 | 31 | 1,149 |
PHP | 5 | 145 | 122 | 624 |
SVG | 1 | 0 | 0 | 504 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.54 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 22 | |
▷ Named functions | 22 | 100.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
Using a strong compression for your PNG files is a great way to speed-up your plugin
10 PNG files occupy 0.14MB with 0.04MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
css/images/ui-bg_glass_75_e6e6e6_1x400.png | 0.11KB | 0.14KB | 0.00% |
images/icon.png | 0.60KB | 0.42KB | ▼ 30.03% |
css/images/ui-icons_222222_256x240.png | 4.28KB | 4.13KB | ▼ 3.54% |
images/iconn.png | 1.43KB | 0.56KB | ▼ 61.09% |
screenshot-1.png | 27.39KB | 12.34KB | ▼ 54.96% |