Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.13MB] [CPU: ▼3.15ms] Passed 4 tests
A check of server-side resources used by Breadcrumb Trail
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.13 | 39.25 ▼2.06 |
Dashboard /wp-admin | 3.44 ▲0.14 | 46.72 ▼1.77 |
Posts /wp-admin/edit.php | 3.56 ▲0.20 | 48.87 ▲1.73 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.13 | 83.96 ▼10.51 |
Media Library /wp-admin/upload.php | 3.37 ▲0.13 | 39.67 ▲4.33 |
Server storage [IO: ▲0.23MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Breadcrumb Trail
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,803 ▲57 | 14.48 ▲0.10 | 1.58 ▼0.15 | 40.99 ▼5.63 |
Dashboard /wp-admin | 2,209 ▲18 | 4.86 ▼0.02 | 108.22 ▲5.30 | 38.02 ▼2.09 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 1.97 ▼0.02 | 39.74 ▼0.48 | 34.55 ▲1.10 |
Add New Post /wp-admin/post-new.php | 1,533 ▲19 | 23.27 ▲1.61 | 658.76 ▲3.72 | 54.07 ▼5.44 |
Media Library /wp-admin/upload.php | 1,391 ▲3 | 4.26 ▲0.03 | 94.25 ▼7.09 | 40.63 ▼2.42 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
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
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
- 1× 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/breadcrumb-trail/breadcrumb-trail.php:18
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Please fix the following attributes:
- Screenshots: Please add images for these screenshots: #1 (Breadcrumbs in Google search results.), #2 (Date-based permalink structure in breadcrumbs.), #3 (Custom post type + taxonomy (portfolio).), #4 (Image attachment of a blog post.)
breadcrumb-trail/breadcrumb-trail.php 92% from 13 tests
"Breadcrumb Trail" version 1.1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
- Description: Keep the plugin description shorter than 140 characters (currently 284 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 plugin1,015 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 272 | 534 | 525 |
Markdown | 4 | 150 | 0 | 490 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.70 |
Average class complexity | 153.00 |
▷ Minimum class complexity | 153.00 |
▷ Maximum class complexity | 153.00 |
Average method complexity | 5.61 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.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 | 33 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 5 | 15.15% |
▷ Protected methods | 28 | 84.85% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 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
PNG files should be compressed to save space and minimize bandwidth usage
2 PNG files occupy 0.09MB with 0.04MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 42.91KB | 25.10KB | ▼ 41.51% |
screenshot-1.png | 44.67KB | 21.74KB | ▼ 51.33% |