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 successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.04MB] [CPU: ▼13.18ms] Passed 4 tests
Server-side resources used by WooCommerce Product Navigation
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.45 ▼0.01 | 26.21 ▼15.07 |
Dashboard /wp-admin | 3.38 ▲0.03 | 48.48 ▼12.79 |
Posts /wp-admin/edit.php | 3.43 ▲0.07 | 43.55 ▼4.81 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 80.20 ▼20.05 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 34.58 ▼0.92 |
Server storage [IO: ▲0.28MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 9 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
wpn_options |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by WooCommerce Product Navigation
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,465 ▼270 | 13.28 ▼1.28 | 0.50 ▼1.23 | 18.32 ▼20.43 |
Dashboard /wp-admin | 2,206 ▲18 | 5.86 ▲0.99 | 103.64 ▼7.53 | 39.33 ▼4.62 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.02 ▲0.05 | 37.15 ▼4.64 | 32.06 ▼4.04 |
Add New Post /wp-admin/post-new.php | 1,514 ▼19 | 17.67 ▼5.60 | 641.34 ▼29.23 | 71.76 ▲12.78 |
Media Library /wp-admin/upload.php | 1,391 ▲3 | 4.20 ▲0.02 | 98.06 ▼10.73 | 44.57 ▼1.20 |
Product Navigation /wp-admin/wpn-settings.php | 26 | 0.44 | 0.11 | 13.92 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- This plugin did not uninstall successfully, leaving 7 options in the database
- theysaidso_admin_options
- wpn_options
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- 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
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 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
The SRP test was a success
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please fix the following user-side errors
- > GET request to /wp-admin/wpn-settings.php
- > Network (severe)
wp-admin/wpn-settings.php - Failed to load resource: the server responded with a status of 404 (Not 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
Attributes that need to be fixed:
- Screenshots: Add an image for screenshot #1 (Adjust where your navigation buttons will display and what it will look like.)
woocommerce-product-navigation/woocommerce-product-navigation.php 92% from 13 tests
The main file in "WooCommerce Product Navigation" v. 1.0.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 237 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
Everything looks great! No dangerous files found in this plugin477 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 115 | 86 | 373 |
CSS | 2 | 3 | 0 | 54 |
JavaScript | 1 | 17 | 19 | 50 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.84 |
Average class complexity | 44.50 |
▷ Minimum class complexity | 33.00 |
▷ Maximum class complexity | 56.00 |
Average method complexity | 7.21 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 32.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 14 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 14 | 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
3 PNG files occupy 0.26MB with 0.17MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 126.65KB | 43.94KB | ▼ 65.31% |
assets/img/wpbo-logo.png | 24.75KB | 8.99KB | ▼ 63.66% |
screenshot-1.png | 116.84KB | 38.59KB | ▼ 66.97% |