Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼6.28ms] Passed 4 tests
Server-side resources used by WooCommerce Breadcrumbs
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 45.44 ▲2.56 |
Dashboard /wp-admin | 3.33 ▲0.03 | 54.00 ▲0.01 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 49.96 ▼3.88 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 88.40 ▼15.63 |
Media Library /wp-admin/upload.php | 3.25 ▲0.03 | 36.97 ▼5.63 |
WC Breadcrumbs /wp-admin/options-general.php?page=woocommerce-breadcrumbs | 3.22 | 34.02 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WooCommerce Breadcrumbs
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.75 ▲0.22 | 2.06 ▲0.18 | 48.57 ▲2.93 |
Dashboard /wp-admin | 2,196 ▲22 | 5.54 ▲0.02 | 84.11 ▼17.86 | 36.69 ▼10.42 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.96 ▼0.04 | 35.97 ▲0.54 | 32.23 ▼4.13 |
Add New Post /wp-admin/post-new.php | 1,529 ▲1 | 23.22 ▲0.06 | 691.70 ▼21.06 | 60.73 ▲1.51 |
Media Library /wp-admin/upload.php | 1,401 ▲1 | 4.14 ▼0.06 | 99.71 ▼11.40 | 43.29 ▼5.89 |
WC Breadcrumbs /wp-admin/options-general.php?page=woocommerce-breadcrumbs | 893 | 2.01 | 23.72 | 30.48 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% 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
Almost there! Just fix the following items
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function _x() in wp-content/plugins/woocommerce-breadcrumbs/woocommerce-breadcrumbs.php:33
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
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
7 plugin tags: woocommerce, ecommerce, breadcrumbs, woothemes, commerce...
woocommerce-breadcrumbs/woocommerce-breadcrumbs.php 92% from 13 tests
The entry point to "WooCommerce Breadcrumbs" version 1.0.8 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Requires at least: Required version must be the same as the one declared in readme.txt ("4.6" instead of "2.6")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected231 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 57 | 77 | 231 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 29.00 |
▷ Minimum class complexity | 29.00 |
▷ Maximum class complexity | 29.00 |
Average method complexity | 2.47 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 19 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 19 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin