Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Please fix the following installer errors
- This plugin did not install gracefully
- > Notice in wp-content/plugins/svs-pricing-tables/svs-pricing-tables-main.php+20
Undefined variable: wpdb
Server metrics [RAM: ▲0.01MB] [CPU: ▼0.31ms] Passed 4 tests
Analyzing server-side resources used by SVS Pricing Tables
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 35.65 ▼3.67 |
Dashboard /wp-admin | 3.31 ▲0.01 | 46.39 ▲0.16 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 45.69 ▲1.07 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 87.60 ▲2.70 |
Media Library /wp-admin/upload.php | 3.23 ▲0.01 | 35.24 ▲1.20 |
Server storage [IO: ▲0.46MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 55 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_svs_pricing_tables |
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for SVS Pricing Tables
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,841 ▲106 | 13.22 ▼1.08 | 1.80 ▼0.09 | 40.43 ▼0.49 |
Dashboard /wp-admin | 2,225 ▲39 | 4.86 ▼1.15 | 98.16 ▼3.14 | 41.79 ▼0.18 |
Posts /wp-admin/edit.php | 2,108 ▲19 | 2.04 ▼0.00 | 35.11 ▼1.92 | 31.96 ▼1.34 |
Add New Post /wp-admin/post-new.php | 1,546 ▲13 | 23.23 ▼0.02 | 642.41 ▼9.18 | 62.13 ▲6.96 |
Media Library /wp-admin/upload.php | 1,407 ▲16 | 4.27 ▼0.03 | 94.56 ▼9.06 | 41.53 ▼4.45 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- The plugin did not uninstall successfully, leaving 1 table in the database
- wp_svs_pricing_tables
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- 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 0% 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
The following issues need your attention
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/svs-pricing-tables/app/view/_footer.php
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/svs-pricing-tables/app/view/_header.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/svs-pricing-tables/app/view/_header.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/svs-pricing-tables/app/view/_header.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
10 plugin tags: pricing table, comparison table, pricing plugin, pricing tables, price comparison table...
svs-pricing-tables/svs-pricing-tables-main.php 92% from 13 tests
The main file in "SVS Pricing Tables" v. 1.0.4 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("svs-pricing-tables.php" instead of "svs-pricing-tables-main.php")
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
No dangerous file extensions were detected843 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 1 | 0 | 3 | 540 |
PHP | 7 | 35 | 76 | 262 |
CSS | 9 | 9 | 2 | 38 |
JavaScript | 3 | 0 | 0 | 3 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
Average class complexity | 4.50 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 1.37 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 19 | |
▷ Static methods | 2 | 10.53% |
▷ Public methods | 13 | 68.42% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 31.58% |
Functions | 1 | |
▷ Named functions | 1 | 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
PNG files should be compressed to save space and minimize bandwidth usage
17 PNG files occupy 0.06MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
templates/t02/images/yes.png | 1.32KB | 1.27KB | ▼ 3.34% |
images/codecanyon.png | 16.79KB | 6.46KB | ▼ 61.55% |
templates/t03/images/no.png | 1.35KB | 1.36KB | 0.00% |
templates/t06/images/no.png | 0.86KB | 0.80KB | ▼ 6.89% |
images/svs_logo.png | 8.35KB | 4.70KB | ▼ 43.72% |