Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
You still need to fix the following installer errors
- The plugin did not install without errors
- > Warning in wp-content/plugins/brozzme-product-navigation/wc_brozzme_product_navigation.php+92
include_once(wp-content/plugins/woocommerce/includes/admin/settings/class-wc-settings-page.php): failed to open stream: No such file or directory
Server metrics [RAM: ▲0.00MB] [CPU: ▼4.33ms] Passed 4 tests
A check of server-side resources used by Brozzme Product Navigation
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 41.74 ▼0.54 |
Dashboard /wp-admin | 3.31 ▲0.00 | 50.74 ▲8.12 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 44.26 ▼6.35 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 83.71 ▼11.67 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 33.40 ▲1.23 |
Server storage [IO: ▲0.98MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 19 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Brozzme Product Navigation
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.21 ▼1.17 | 1.63 ▼0.41 | 42.60 ▲0.61 |
Dashboard /wp-admin | 2,206 ▲18 | 4.85 ▼0.25 | 111.25 ▼4.16 | 43.58 ▼2.62 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.05 ▲0.01 | 35.01 ▼5.47 | 33.41 ▼4.81 |
Add New Post /wp-admin/post-new.php | 1,534 ▲1 | 23.09 ▼0.10 | 629.15 ▼90.92 | 50.24 ▼1.85 |
Media Library /wp-admin/upload.php | 1,388 ▼3 | 4.21 ▼0.01 | 95.14 ▲1.96 | 39.00 ▼2.30 |
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
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
SRP 0% 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 take a closer look at the following
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/brozzme-product-navigation/wc_brozzme_product_navigation.php
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/brozzme-product-navigation/includes/brozzme_product_navigation_widget_class.php:9
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that require attention:
- Tags: There are too many tags (15 tag instead of maximum 10)
brozzme-product-navigation/wc_brozzme_product_navigation.php 85% from 13 tests
"Brozzme Product Navigation" version 1.4.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("brozzme-product-navigation.php" instead of "wc_brozzme_product_navigation.php")
- Requires at least: The required version number must match the one declared in readme.txt ("4.5" instead of "2.3")
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
There were no executable files found in this plugin3,464 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 3 | 13 | 23 | 2,284 |
SVG | 1 | 0 | 0 | 685 |
PHP | 4 | 141 | 131 | 490 |
JavaScript | 1 | 3 | 4 | 5 |
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.35 |
Average class complexity | 11.75 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 33.00 |
Average method complexity | 2.59 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 27.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 | 27 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 27 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
2 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
css/images/arrow-right.png | 0.62KB | 0.50KB | ▼ 19.75% |
css/images/arrow-left.png | 0.63KB | 0.52KB | ▼ 18.06% |