Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼5.24ms] Passed 4 tests
Analyzing server-side resources used by Testerwp ecommerce companion
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 43.35 ▲2.22 |
Dashboard /wp-admin | 3.31 ▲0.01 | 46.94 ▼2.42 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 47.08 ▼1.86 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 82.40 ▼13.56 |
Media Library /wp-admin/upload.php | 3.23 ▲0.01 | 36.51 ▼3.12 |
Server storage [IO: ▲6.58MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 119 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Testerwp ecommerce companion
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲54 | 13.16 ▼1.49 | 1.78 ▼0.10 | 48.32 ▲6.84 |
Dashboard /wp-admin | 2,221 ▲18 | 5.79 ▲0.92 | 99.87 ▼9.61 | 38.64 ▼1.32 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.01 ▼0.02 | 36.38 ▲2.49 | 33.77 ▼5.15 |
Add New Post /wp-admin/post-new.php | 1,545 ▲19 | 23.15 ▲5.24 | 683.39 ▲46.32 | 57.61 ▲12.16 |
Media Library /wp-admin/upload.php | 1,403 ▲9 | 4.39 ▲0.17 | 97.33 ▼1.75 | 43.23 ▲0.91 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
- 122× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function get_theme_mod() in wp-content/plugins/testerwp-ecommerce-companion/bizz-ecommerce/bizz-ecommerce-front-page/front-ribbon.php:2
- > PHP Fatal error
Uncaught Error: Call to a member function add_setting() on null in wp-content/plugins/testerwp-ecommerce-companion/eshopping-cart/customizer/section/frontpage/featured-banner.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_theme_mod() in wp-content/plugins/testerwp-ecommerce-companion/shopping-ecommerce-wp/shopping-ecommerce-wp-front-page/front-tabproductimage.php:2
- > PHP Notice
Undefined variable: wp_customize in wp-content/plugins/testerwp-ecommerce-companion/eshopping-cart/customizer/section/frontpage/category-tab.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_theme_mod() in wp-content/plugins/testerwp-ecommerce-companion/eshopping-cart/eshopping-cart-front-page/front-bloglist.php:2
- > PHP Notice
Undefined variable: wp_customize in wp-content/plugins/testerwp-ecommerce-companion/bizz-ecommerce/customizer/section/frontpage/category-tab.php on line 2
- > PHP Fatal error
Uncaught Error: Call to a member function add_setting() on null in wp-content/plugins/testerwp-ecommerce-companion/shopping-ecommerce-wp/customizer/section/frontpage/ribbon.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_theme_mod() in wp-content/plugins/testerwp-ecommerce-companion/bizz-ecommerce/bizz-ecommerce-front-page/front-topslider.php:2
- > PHP Fatal error
Uncaught Error: Call to a member function add_setting() on null in wp-content/plugins/testerwp-ecommerce-companion/bizz-ecommerce/customizer/section/frontpage/features.php:2
- > PHP Notice
Undefined variable: wp_customize in wp-content/plugins/testerwp-ecommerce-companion/shopping-ecommerce-wp/customizer/section/frontpage/tab-productimage.php on line 2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
- Donate link: Invalid URI found ("#")
testerwp-ecommerce-companion/testerwp-ecommerce-companion.php 92% from 13 tests
The main PHP file in "Testerwp ecommerce companion" ver. 1.7 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- Description: The description should be shorter than 140 characters (currently 204 characters long)
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
There were no executable files found in this plugin6,881 lines of code in 95 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 95 | 791 | 303 | 6,881 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 9.00 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 9.00 |
Average method complexity | 9.00 |
▷ Minimum method complexity | 9.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 54 | |
▷ Named functions | 54 | 100.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 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
8 PNG files occupy 4.45MB with 2.98MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
eshopping-cart/assets/images/default.png | 481.37KB | 120.25KB | ▼ 75.02% |
shopping-kart-wp/assets/images/def-cat.png | 421.64KB | 174.49KB | ▼ 58.62% |
shopping-ecommerce-wp/assets/images/def-cat.png | 421.64KB | 174.49KB | ▼ 58.62% |
shopping-ecommerce-wp/assets/images/default.png | 953.76KB | 312.87KB | ▼ 67.20% |
bizz-ecommerce/assets/images/default.png | 481.37KB | 120.25KB | ▼ 75.02% |