Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼5.40ms] Passed 4 tests
An overview of server-side resources used by SB Breadcrumbs
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.04 | 39.77 ▼6.77 |
Dashboard /wp-admin | 3.36 ▲0.05 | 49.78 ▼0.53 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 53.17 ▼18.14 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 99.16 ▲3.84 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 38.35 ▲6.26 |
SB Breadcrumbs /wp-admin/options-general.php?page=sb_breadcrumbs-setting | 3.22 | 38.00 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for SB Breadcrumbs
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲6 | 13.26 ▼1.51 | 1.66 ▼0.36 | 44.56 ▲1.10 |
Dashboard /wp-admin | 2,210 ▲4 | 4.89 ▼1.02 | 109.06 ▲0.46 | 44.48 ▲4.60 |
Posts /wp-admin/edit.php | 2,096 ▲10 | 1.97 ▼0.06 | 39.57 ▲3.29 | 36.57 ▲5.43 |
Add New Post /wp-admin/post-new.php | 1,517 ▼2 | 17.78 ▼5.55 | 608.54 ▼78.11 | 56.65 ▼8.40 |
Media Library /wp-admin/upload.php | 1,386 ▲1 | 4.20 ▲0.05 | 94.57 ▼4.97 | 41.71 ▼2.39 |
SB Breadcrumbs /wp-admin/options-general.php?page=sb_breadcrumbs-setting | 914 | 2.06 | 27.86 | 33.72 |
Uninstaller [IO: ✅] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These server-side errors were triggered
- > GET request to /wp-admin/options-general.php?page=sb_breadcrumbs-setting
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=sb_breadcrumbs-setting
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=sb_breadcrumbs-setting
- > Notice in wp-content/plugins/sb-breadcrumbs/sb_options.php+102
Undefined index: show_on_home
- > GET request to /wp-admin/options-general.php?page=sb_breadcrumbs-setting
- > Notice in wp-content/plugins/sb-breadcrumbs/sb_options.php+113
Undefined index: use_def_style
- > GET request to /wp-admin/options-general.php?page=sb_breadcrumbs-setting
- > Notice in wp-content/plugins/sb-breadcrumbs/sb_options.php+122
Undefined index: home
- > GET request to /wp-admin/options-general.php?page=sb_breadcrumbs-setting
- > Notice in wp-content/plugins/sb-breadcrumbs/sb_options.php+128
Undefined index: category
- > GET request to /wp-admin/options-general.php?page=sb_breadcrumbs-setting
- > Notice in wp-content/plugins/sb-breadcrumbs/sb_options.php+134
Undefined index: search
- > GET request to /wp-admin/options-general.php?page=sb_breadcrumbs-setting
- > Notice in wp-content/plugins/sb-breadcrumbs/sb_options.php+140
Undefined index: tag
- > GET request to /wp-admin/options-general.php?page=sb_breadcrumbs-setting
- > Notice in wp-content/plugins/sb-breadcrumbs/sb_options.php+146
Undefined index: author
- > GET request to /wp-admin/options-general.php?page=sb_breadcrumbs-setting
- > Notice in wp-content/plugins/sb-breadcrumbs/sb_options.php+152
Undefined index: p404
- > GET request to /wp-admin/options-general.php?page=sb_breadcrumbs-setting
- > Notice in wp-content/plugins/sb-breadcrumbs/sb_options.php+158
Undefined index: year
- > GET request to /wp-admin/options-general.php?page=sb_breadcrumbs-setting
- > Notice in wp-content/plugins/sb-breadcrumbs/sb_options.php+164
Undefined index: month
- > GET request to /wp-admin/options-general.php?page=sb_breadcrumbs-setting
- > Notice in wp-content/plugins/sb-breadcrumbs/sb_options.php+170
Undefined index: day
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/sb-breadcrumbs/sb_options.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/sb-breadcrumbs/sb_options.php:4
- > 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)
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
3 plugin tags: custom css, have options, breadcrumbs
sb-breadcrumbs/index.php 92% from 13 tests
The main PHP file in "SB Breadcrumbs" ver. 1.0 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("sb-breadcrumbs.php" instead of "index.php")
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
Good job! No executable or dangerous file extensions detected282 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 70 | 23 | 252 |
CSS | 1 | 2 | 0 | 30 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
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 | 19 | |
▷ Named functions | 19 | 100.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
4 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 5.25KB | 2.58KB | ▼ 50.96% |
img/breadcrumbs-bg.png | 1.02KB | 1.02KB | 0.00% |
img/icon-arrow-right.png | 0.97KB | 0.16KB | ▼ 83.84% |
screenshot-2.png | 16.89KB | 9.43KB | ▼ 44.19% |