Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.18MB] [CPU: ▼0.02ms] 75% from 4 tests
A check of server-side resources used by IG Pricing table
It is recommended to improve the following
- CPU: Try to keep total CPU usage under 500.00ms (currently 860.47ms on /wp-admin/edit.php?post_type=ig_pricing_table&page=ig-pricing-table-getting-started)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.65 ▲0.19 | 45.84 ▼3.39 |
Dashboard /wp-admin | 3.49 ▲0.18 | 51.26 ▲2.15 |
Posts /wp-admin/edit.php | 3.58 ▲0.23 | 53.49 ▲7.25 |
Add New Post /wp-admin/post-new.php | 6.07 ▲0.19 | 90.19 ▼6.11 |
Media Library /wp-admin/upload.php | 3.41 ▲0.18 | 42.14 ▲10.41 |
Add New /wp-admin/post-new.php?post_type=ig_pricing_table | 3.49 | 49.77 |
Settings /wp-admin/edit.php?post_type=ig_pricing_table&page=ig-pricing-table-settings-page | 3.38 | 40.12 |
All Pricing Tables /wp-admin/edit.php?post_type=ig_pricing_table | 3.44 | 45.54 |
Getting Started /wp-admin/edit.php?post_type=ig_pricing_table&page=ig-pricing-table-getting-started | 3.53 | 860.47 |
Server storage [IO: ▲0.37MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 23 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for IG Pricing table
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,840 ▲94 | 13.73 ▼0.50 | 4.56 ▲2.86 | 41.59 ▼0.80 |
Dashboard /wp-admin | 2,241 ▲53 | 5.88 ▲1.04 | 109.34 ▲5.68 | 39.77 ▼3.28 |
Posts /wp-admin/edit.php | 2,127 ▲38 | 2.00 ▼0.04 | 38.21 ▼2.75 | 35.47 ▼1.85 |
Add New Post /wp-admin/post-new.php | 1,565 ▲18 | 23.39 ▲5.25 | 675.17 ▲29.93 | 65.04 ▲1.15 |
Media Library /wp-admin/upload.php | 1,426 ▲38 | 4.24 ▲0.03 | 101.34 ▼2.44 | 48.26 ▲1.62 |
Add New /wp-admin/post-new.php?post_type=ig_pricing_table | 2,388 | 2.65 | 51.98 | 75.04 |
Settings /wp-admin/edit.php?post_type=ig_pricing_table&page=ig-pricing-table-settings-page | 835 | 2.20 | 27.71 | 25.39 |
All Pricing Tables /wp-admin/edit.php?post_type=ig_pricing_table | 1,093 | 1.96 | 30.67 | 29.99 |
Getting Started /wp-admin/edit.php?post_type=ig_pricing_table&page=ig-pricing-table-getting-started | 1,218 | 2.02 | 22.54 | 45.72 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Almost there! Just fix the following items
- 17× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Notice
Undefined variable: active in wp-content/plugins/ig-pricing-table/includes/ig-pricing-table-form.php on line 45
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/ig-pricing-table/welcome/sections/welcome-footer.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ig-pricing-table/includes/ig-pricing-table-function.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/ig-pricing-table/welcome/sections/welcome-free-resources.php:7
- > PHP Notice
Undefined variable: number in wp-content/plugins/ig-pricing-table/includes/ig-pricing-table-form.php on line 45
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ig-pricing-table/welcome/welcome-screen.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ig-pricing-table/includes/ig-pricing-table-settings.php:3
- > PHP Notice
Undefined variable: number in wp-content/plugins/ig-pricing-table/includes/ig-pricing-table-form.php on line 22
- > PHP Notice
Undefined variable: number in wp-content/plugins/ig-pricing-table/includes/ig-pricing-table-form.php on line 32
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/ig-pricing-table/includes/ig-pricing-table-form.php:46
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
- Screenshots: These screenshots do not have images: #1 (Pricing tables), #2 (Pricing tables customization)
ig-pricing-table/ig-pricing-table.php Passed 13 tests
"IG Pricing table" version 1.3's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
67 characters long description:
A responsive and simple way to present your offer to your visitors.
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
No dangerous file extensions were detected1,656 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 52 | 92 | 788 |
CSS | 3 | 15 | 17 | 511 |
PO File | 2 | 148 | 154 | 357 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 2.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 2.00 |
Average method complexity | 1.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.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 | 29 | |
▷ Named functions | 29 | 100.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 PNG file occupies 0.13MB with 0.09MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/pricing-tables.png | 136.54KB | 40.85KB | ▼ 70.08% |