Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼3.57ms] Passed 4 tests
A check of server-side resources used by Simple BreadCrumb
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.01 | 43.01 ▼1.65 |
Dashboard /wp-admin | 3.36 ▲0.01 | 48.32 ▼1.98 |
Posts /wp-admin/edit.php | 3.47 ▲0.07 | 49.42 ▼1.15 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.01 | 85.73 ▼9.50 |
Media Library /wp-admin/upload.php | 3.28 ▲0.01 | 39.60 ▲1.24 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 20 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
Simple BreadCrumb: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,809 ▲48 | 14.72 ▲0.35 | 1.82 ▲0.15 | 44.20 ▼0.24 |
Dashboard /wp-admin | 2,207 ▲27 | 5.56 ▼0.09 | 83.54 ▼7.73 | 38.44 ▼1.71 |
Posts /wp-admin/edit.php | 2,118 ▲15 | 2.03 ▼0.06 | 38.33 ▲2.98 | 33.30 ▼0.51 |
Add New Post /wp-admin/post-new.php | 1,541 ▲15 | 23.15 ▼0.48 | 708.11 ▲7.54 | 55.03 ▼0.68 |
Media Library /wp-admin/upload.php | 1,415 ▲21 | 4.17 ▼0.05 | 94.49 ▼14.58 | 40.21 ▼6.90 |
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
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Almost there! Just 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 add_shortcode() in wp-content/plugins/pop-breadcrumb-shortcode/breadcrumb.php:53
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
2 plugin tags: breadcrumb, shortcode
pop-breadcrumb-shortcode/breadcrumb.php 85% from 13 tests
This is the main PHP file of "Simple BreadCrumb" version 1.4, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please make the necessary changes and fix the following:
- Requires PHP: Required version must be the same as the one declared in readme.txt ("8.1" instead of "7.1")
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("pop-breadcrumb-shortcode.php" instead of "breadcrumb.php")
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
Success! There were no dangerous files found in this plugin170 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
XML | 4 | 0 | 0 | 61 |
PO File | 3 | 3 | 3 | 54 |
PHP | 2 | 27 | 35 | 52 |
CSS | 1 | 0 | 0 | 3 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.09 |
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 | 6 | |
▷ Named functions | 6 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
3 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/simple_breadcrumb_screenshot.png | 4.11KB | 2.17KB | ▼ 47.23% |
assets/images/icon-256x256.png | 17.36KB | 8.40KB | ▼ 51.62% |
assets/images/screenshot.png | 3.17KB | 1.97KB | ▼ 37.84% |