Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.02MB] [CPU: ▼6.46ms] Passed 4 tests
A check of server-side resources used by eCommerce Companion
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 38.34 ▼8.97 |
Dashboard /wp-admin | 3.33 ▼0.01 | 44.65 ▼16.82 |
Posts /wp-admin/edit.php | 3.45 ▲0.09 | 47.94 ▲0.30 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.05 | 94.81 ▲5.04 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 32.83 ▼0.34 |
Server storage [IO: ▲6.07MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 247 new files
Database: no new tables, 9 new options
New WordPress options |
---|
can_compress_scripts |
item_details_page |
db_upgraded |
widget_info_widget |
theysaidso_admin_options |
widget_social_widget |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for eCommerce Companion
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,811 ▲24 | 13.55 ▼0.73 | 4.20 ▲2.15 | 41.61 ▼4.80 |
Dashboard /wp-admin | 2,213 ▲35 | 4.89 ▼0.76 | 95.43 ▼20.02 | 42.23 ▼0.50 |
Posts /wp-admin/edit.php | 2,128 ▲28 | 2.36 ▲0.35 | 39.69 ▼5.25 | 33.40 ▼3.43 |
Add New Post /wp-admin/post-new.php | 1,543 ▲14 | 23.51 ▲0.22 | 606.76 ▼19.32 | 34.41 ▼25.10 |
Media Library /wp-admin/upload.php | 1,424 ▲24 | 4.43 ▲0.24 | 99.14 ▲0.46 | 44.92 ▲0.01 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Zombie WordPress options were found after uninstall: 9 options
- theysaidso_admin_options
- widget_recent-posts
- widget_social_widget
- widget_recent-comments
- item_details_page
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- widget_info_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
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
- 148× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ecommerce-companion/inc/themes/aromatic/features/aromatic-typography.php:758
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/ecommerce-companion/inc/themes/retailsy/sections/section-info.php:46
- > PHP Notice
Undefined variable: theme in wp-content/plugins/ecommerce-companion/inc/themes/aromatic/pages-widget/default-widget.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ecommerce-companion/inc/themes/storely/features/storely-service.php:134
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/ecommerce-companion/inc/themes/storely/sections/section-slider.php:95
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ecommerce-companion/inc/themes/shopient/features/storely-slider.php:430
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_insert_post() in wp-content/plugins/ecommerce-companion/inc/themes/retailsy/pages-widget/home-page.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_get_theme() in wp-content/plugins/ecommerce-companion/inc/themes.php:2
- > PHP Warning
require(ECOMMERCE_COMP_PLUGIN_DIRinc/themes/retailsy/theme-functions/extras.php): failed to open stream: No such file or directory in wp-content/plugins/ecommerce-companion/inc/themes/express-store/express-store.php on line 6
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/ecommerce-companion/inc/themes/storess/sections/section-slider.php:199
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 93% 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:
- Requires at least: Version format is invalid
ecommerce-companion/ecommerce-companion.php 92% from 13 tests
Analyzing the main PHP file in "eCommerce Companion" version 5.6
Please take the time to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 442 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin17,736 lines of code in 125 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 114 | 1,322 | 1,043 | 14,377 |
CSS | 5 | 37 | 20 | 2,426 |
SVG | 2 | 0 | 0 | 704 |
JavaScript | 4 | 60 | 31 | 229 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 2.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 15.00 |
Average method complexity | 1.87 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 30 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 30 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 52 | |
▷ Static methods | 2 | 3.85% |
▷ Public methods | 48 | 92.31% |
▷ Protected methods | 3 | 5.77% |
▷ Private methods | 1 | 1.92% |
Functions | 181 | |
▷ Named functions | 179 | 98.90% |
▷ Anonymous functions | 2 | 1.10% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 0% from 2 tests
Image compression 0% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
80 PNG files occupy 2.51MB with 0.92MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
inc/themes/shopiva/assets/images/service/3.png | 0.43KB | 0.28KB | ▼ 34.55% |
inc/themes/shopiva/assets/images/slider/slider.png | 5.51KB | 2.82KB | ▼ 48.90% |
inc/themes/shopiva/assets/images/slider/slide-3.png | 11.58KB | 11.94KB | 0.00% |
(invalid) inc/themes/storess/assets/images/slider/4.png | 19.21KB | 0.00KB | ▼ 100.00% |
inc/themes/storess/assets/images/service/4.png | 1.88KB | 2.05KB | 0.00% |