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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.28MB] [CPU: ▼7.60ms] Passed 4 tests
An overview of server-side resources used by Pricing Table
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.76 ▲0.30 | 39.10 ▲1.41 |
Dashboard /wp-admin | 3.60 ▲0.25 | 43.67 ▼15.81 |
Posts /wp-admin/edit.php | 3.71 ▲0.35 | 44.30 ▼0.21 |
Add New Post /wp-admin/post-new.php | 6.18 ▲0.29 | 77.97 ▼14.76 |
Media Library /wp-admin/upload.php | 3.52 ▲0.29 | 35.44 ▲0.38 |
Server storage [IO: ▲1.50MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 43 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_elfsight_pricing_table_widgets |
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Pricing Table: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 14.72 ▲0.37 | 1.75 ▲0.21 | 43.77 ▲3.57 |
Dashboard /wp-admin | 2,213 ▲39 | 5.58 ▲0.04 | 79.28 ▼5.61 | 79.97 ▲38.72 |
Posts /wp-admin/edit.php | 2,115 ▲15 | 2.00 ▲0.03 | 32.81 ▼0.98 | 34.00 ▼4.15 |
Add New Post /wp-admin/post-new.php | 1,692 ▲164 | 21.85 ▼1.31 | 745.77 ▲61.79 | 60.41 ▲3.95 |
Media Library /wp-admin/upload.php | 1,415 ▲15 | 4.18 ▼0.05 | 94.68 ▼11.69 | 73.97 ▲27.67 |
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
- Zombie tables detected upon uninstall: 1 table
- wp_elfsight_pricing_table_widgets
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
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
2 plugin tags: pricing, pricing table
elfsight-pricing-table/elfsight-pricing-table.php Passed 13 tests
"Pricing Table" version 2.0.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
62 characters long description:
Increase your website conversion with compelling pricing table
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
Success! There were no dangerous files found in this plugin2,062 lines of code in 22 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 1 | 0 | 0 | 1,284 |
PHP | 15 | 238 | 10 | 759 |
HTML | 1 | 0 | 0 | 14 |
JavaScript | 4 | 9 | 35 | 4 |
CSS | 1 | 3 | 7 | 1 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 20.67 |
▷ Minimum class complexity | 14.00 |
▷ Maximum class complexity | 33.00 |
Average method complexity | 2.93 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 31 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 26 | 83.87% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 16.13% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
15 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 |
assets/img/icon-remove-dark-small.png | 1.13KB | 0.32KB | ▼ 71.55% |
assets/img/logo.png | 2.06KB | 1.61KB | ▼ 21.82% |
assets/img/icon-star-white.png | 0.91KB | 1.12KB | 0.00% |
assets/img/icon-edit-dark-small.png | 1.14KB | 0.33KB | ▼ 71.38% |
assets/img/icon-check-green-small.png | 1.08KB | 0.30KB | ▼ 72.64% |