Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲3.56MB] [CPU: ▲16.99ms] Passed 4 tests
A check of server-side resources used by Pricing Table Plugin
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 7.03 ▲3.56 | 57.04 ▲16.93 |
Dashboard /wp-admin | 6.87 ▲3.56 | 65.60 ▲15.24 |
Posts /wp-admin/edit.php | 6.91 ▲3.56 | 60.85 ▲12.85 |
Add New Post /wp-admin/post-new.php | 9.47 ▲3.59 | 112.71 ▲32.51 |
Media Library /wp-admin/upload.php | 6.78 ▲3.55 | 55.10 ▲22.93 |
ARPrice Lite /wp-admin/admin.php?page=arpricelite | 6.57 | 39.92 |
A/B Testing /wp-admin/admin.php?page=arplite_ab_testing | 6.57 | 38.81 |
Settings /wp-admin/admin.php?page=arplite_global_settings | 6.57 | 38.13 |
Growth Plugins /wp-admin/admin.php?page=arplite_growth_tools | 6.72 | 44.08 |
Import/Export /wp-admin/admin.php?page=arplite_import_export | 6.57 | 46.81 |
Upgrade to Premium /wp-admin/admin.php?page=arplite_upgrade_to_premium | 6.68 | 43.58 |
Server storage [IO: ▲9.16MB] [DB: ▲0.18MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 277 new files
Database: 3 new tables, 17 new options
New tables |
---|
wp_arplite_arprice |
wp_arplite_arprice_analytics |
wp_arplite_arprice_options |
New WordPress options |
---|
widget_arpricelite_widget |
arplite_popup_display |
widget_theysaidso_widget |
db_upgraded |
arplite_is_new_installation |
arpricelite_version |
enable_font_loading_icon |
can_compress_scripts |
arpricelite_tour_guide_value |
arplite_desktop_responsive_size |
... |
Browser metrics 75% from 4 tests
Checking browser requirements for Pricing Table Plugin
It is time to focus on the following
- Nodes: For the best user experience, please reduce the number of DOM nodes under 25,000 (currently 43,490 on /wp-admin/admin.php?page=arplite_upgrade_to_premium)
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,918 ▲156 | 13.43 ▼0.91 | 10.45 ▲8.74 | 31.53 ▼15.93 |
Dashboard /wp-admin | 2,219 ▲39 | 5.56 ▼0.11 | 93.10 ▼3.97 | 79.61 ▲33.27 |
Posts /wp-admin/edit.php | 2,139 ▲39 | 2.06 ▲0.11 | 33.74 ▼4.51 | 33.61 ▼1.20 |
Add New Post /wp-admin/post-new.php | 6,187 ▲4,661 | 23.53 ▲0.29 | 891.99 ▲251.50 | 37.08 ▼18.29 |
Media Library /wp-admin/upload.php | 1,427 ▲30 | 4.16 ▼0.06 | 98.40 ▲2.16 | 74.00 ▲32.91 |
ARPrice Lite /wp-admin/admin.php?page=arpricelite | 1,897 | 2.16 | 49.60 | 169.51 |
A/B Testing /wp-admin/admin.php?page=arplite_ab_testing | 1,141 | 1.91 | 27.21 | 54.14 |
Settings /wp-admin/admin.php?page=arplite_global_settings | 1,669 | 2.00 | 33.04 | 63.14 |
Growth Plugins /wp-admin/admin.php?page=arplite_growth_tools | 1,203 | 2.07 | 26.99 | 109.93 |
Import/Export /wp-admin/admin.php?page=arplite_import_export | 1,032 | 1.73 | 29.18 | 47.76 |
Upgrade to Premium /wp-admin/admin.php?page=arplite_upgrade_to_premium | 43,490 | 6.82 | 210.30 | 155.21 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 9 options
- theysaidso_admin_options
- enable_font_loading_icon
- db_upgraded
- widget_theysaidso_widget
- arplite_display_bf_sale_popup
- widget_recent-posts
- widget_arpricelite_widget
- can_compress_scripts
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 4× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/arprice-responsive-pricing-table/core/widgets/arprice_widget.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/arprice-responsive-pricing-table/core/views/arplite_growth_tools.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/arprice-responsive-pricing-table/arprice-responsive-pricing-table.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function is_ssl() in wp-content/plugins/arprice-responsive-pricing-table/core/views/arprice_ab_testing.php:3
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There are user-side issues you should fix
- > GET request to /wp-admin/admin.php?page=arplite_upgrade_to_premium
- > Security (warning) in unknown
security - Error with Feature-Policy header: Unrecognized feature: 'speaker'.
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that need to be fixed:
- Tags: Please delete some tags, you are using 13 tag instead of maximum 10
- Screenshots: Add a description for screenshot #6 in arprice-responsive-pricing-table/assets to your readme.txt
arprice-responsive-pricing-table/arprice-responsive-pricing-table.php Passed 13 tests
The main PHP script in "Pricing Table Plugin" version 3.6.4 is automatically included on every request by WordPress
57 characters long description:
Responsive WordPress Pricing Table / Team Showcase Plugin
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected54,999 lines of code in 77 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 35 | 5,518 | 570 | 38,854 |
SVG | 4 | 1 | 1 | 9,555 |
JSON | 1 | 1 | 0 | 2,912 |
CSS | 18 | 331 | 0 | 2,579 |
PO File | 1 | 487 | 1,050 | 1,081 |
JavaScript | 18 | 0 | 0 | 18 |
PHP code 50% from 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Please fix the following
- Method cyclomatic complexity should be reduced to less than 100 (currently 510)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
Average class complexity | 115.93 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 934.00 |
Average method complexity | 8.66 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 510.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 14 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 14 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 210 | |
▷ Static methods | 8 | 3.81% |
▷ Public methods | 206 | 98.10% |
▷ Protected methods | 3 | 1.43% |
▷ Private methods | 1 | 0.48% |
Functions | 14 | |
▷ Named functions | 14 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 15 | |
▷ Global constants | 15 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
158 PNG files occupy 2.19MB with 0.48MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/template_images/arp_template_19.png | 9.22KB | 3.75KB | ▼ 59.30% |
images/template_images/arp_template_20.png | 9.62KB | 4.75KB | ▼ 50.60% |
images/arptemplate_14_v2.0_preview.png | 86.34KB | 91.60KB | 0.00% |
images/template_images/arp_template_22_hover.png | 32.27KB | 32.64KB | 0.00% |
images/template_images/arp_template_8_hover.png | 4.34KB | 4.35KB | 0.00% |