Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.06MB] [CPU: ▼7.03ms] Passed 4 tests
Server-side resources used by Woo Shop Front Customizer
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.06 | 45.51 ▲2.31 |
Dashboard /wp-admin | 3.37 ▲0.06 | 48.18 ▼4.18 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 49.79 ▼4.83 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 88.42 ▼21.43 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 38.38 ▲3.41 |
Front Customizer /wp-admin/admin.php?page=woo-shop-front-customizer | 3.36 | 35.79 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Woo Shop Front Customizer: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,796 ▲10 | 14.34 ▼0.02 | 1.62 ▼0.32 | 37.93 ▼8.92 |
Dashboard /wp-admin | 2,202 ▲25 | 5.65 ▲0.12 | 90.96 ▼4.74 | 40.05 ▼2.94 |
Posts /wp-admin/edit.php | 2,110 ▲7 | 2.01 ▼0.00 | 39.67 ▼3.99 | 34.73 ▼1.70 |
Add New Post /wp-admin/post-new.php | 1,533 ▲7 | 22.96 ▼0.16 | 647.71 ▼9.02 | 54.91 ▲4.23 |
Media Library /wp-admin/upload.php | 1,410 ▲7 | 4.24 ▲0.04 | 100.18 ▼15.05 | 45.10 ▼2.87 |
Front Customizer /wp-admin/admin.php?page=woo-shop-front-customizer | 1,364 | 2.01 | 25.30 | 30.55 |
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
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Please fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=woo-shop-front-customizer
- > Notice in wp-content/plugins/woo-shop-front-customizer/admin/view.php+92
Undefined variable: wsfcwsfcshowProductPrice
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 fix the following items
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/woo-shop-front-customizer/woo-shop-front-customizer.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
1 plugin tags: woocommerce
woo-shop-front-customizer/woo-shop-front-customizer.php 92% from 13 tests
Analyzing the main PHP file in "Woo Shop Front Customizer" version 1.0.0
It is important to fix the following:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
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 detected569 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 10 | 9 | 399 |
JavaScript | 1 | 0 | 0 | 116 |
CSS | 1 | 0 | 0 | 54 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 10 | |
▷ Named functions | 10 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin