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.84MB] [CPU: ▲1.12ms] Passed 4 tests
An overview of server-side resources used by Pricing Table builder - Price List
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.33 ▲0.87 | 41.50 ▼0.05 |
Dashboard /wp-admin | 4.18 ▲0.88 | 52.57 ▲4.20 |
Posts /wp-admin/edit.php | 4.23 ▲0.88 | 50.69 ▲3.42 |
Add New Post /wp-admin/post-new.php | 6.70 ▲0.81 | 90.07 ▼3.09 |
Media Library /wp-admin/upload.php | 4.04 ▲0.81 | 45.09 ▲9.28 |
Column Themes /wp-admin/admin.php?page=wpda_pricing_table_themes | 4.02 | 35.92 |
Featured Plugins /wp-admin/admin.php?page=wpda_pricing_table_featured_plugins | 4.01 | 36.93 |
Pricing Tables /wp-admin/admin.php?page=wpda_pricing_table_menu | 4.01 | 41.01 |
Server storage [IO: ▲4.10MB] [DB: ▲0.03MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 90 new files
Database: 2 new tables, 7 new options
New tables |
---|
wp_wpda_pricing_table_theme |
wp_wpda_pricing_tables |
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
wpdevart_pricing_table_databese_status |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Pricing Table builder - Price List
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,938 ▲152 | 13.55 ▼1.11 | 9.42 ▲7.49 | 38.35 ▲0.03 |
Dashboard /wp-admin | 2,215 ▲45 | 5.54 ▼0.06 | 86.10 ▼17.17 | 71.32 ▲32.20 |
Posts /wp-admin/edit.php | 2,135 ▲35 | 2.04 ▲0.01 | 38.73 ▼4.37 | 35.65 ▼2.59 |
Add New Post /wp-admin/post-new.php | 6,396 ▲4,870 | 27.72 ▲4.62 | 958.59 ▲316.06 | 40.72 ▼12.88 |
Media Library /wp-admin/upload.php | 1,432 ▲32 | 4.17 ▼0.00 | 114.36 ▲8.88 | 79.79 ▲33.08 |
Column Themes /wp-admin/admin.php?page=wpda_pricing_table_themes | 1,204 | 2.76 | 63.93 | 51.00 |
Featured Plugins /wp-admin/admin.php?page=wpda_pricing_table_featured_plugins | 1,137 | 1.99 | 24.64 | 40.79 |
Pricing Tables /wp-admin/admin.php?page=wpda_pricing_table_menu | 1,072 | 2.60 | 60.23 | 34.91 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.03MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- The plugin did not uninstall successfully, leaving 2 tables in the database
- wp_wpda_pricing_table_theme
- wp_wpda_pricing_tables
- Zombie WordPress options were found after uninstall: 7 options
- wpdevart_pricing_table_databese_status
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check 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
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function trailingslashit() in wp-content/plugins/wpdevart-pricing-table/wpdevart-pricing-table.php:61
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please fix the following browser errors
- > GET request to /wp-admin/admin.php?page=wpda_pricing_table_themes
- > Network (severe)
wp-content/plugins/wpdevart-pricing-table/includes/admin/images/default%7B%7Brows.default%7D%7D.png - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
5 plugin tags: price table, price list, responsive pricing table, pricing table, comparison tables
wpdevart-pricing-table/wpdevart-pricing-table.php 92% from 13 tests
The primary PHP file in "Pricing Table builder - Price List" version 1.4.7 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 159 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected26,484 lines of code in 39 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 3 | 0 | 12 | 9,026 |
CSS | 10 | 1,838 | 94 | 6,792 |
PO File | 8 | 2,228 | 2,504 | 4,890 |
PHP | 9 | 212 | 92 | 3,061 |
JavaScript | 9 | 245 | 308 | 2,715 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 30.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 107.00 |
Average method complexity | 3.31 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 113 | |
▷ Static methods | 36 | 31.86% |
▷ Public methods | 61 | 53.98% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 52 | 46.02% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.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
25 PNG files occupy 0.24MB with 0.13MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/admin/images/featured_plugins/facebook-comments-icon.png | 35.59KB | 9.23KB | ▼ 74.06% |
includes/admin/images/featured_plugins/contact_forms.png | 14.11KB | 6.86KB | ▼ 51.39% |
includes/admin/images/featured_plugins/gallery-album-icon.png | 10.74KB | 4.69KB | ▼ 56.38% |
includes/admin/images/success.png | 6.07KB | 2.08KB | ▼ 65.74% |
includes/admin/images/featured_plugins/vertical-menu.png | 6.36KB | 3.88KB | ▼ 39.03% |