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.10MB] [CPU: ▼1.69ms] Passed 4 tests
A check of server-side resources used by SEO Breadcrumbs
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 43.88 ▲2.51 |
Dashboard /wp-admin | 3.40 ▲0.10 | 47.67 ▼2.85 |
Posts /wp-admin/edit.php | 3.45 ▲0.10 | 45.76 ▼3.23 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.10 | 88.70 ▼0.28 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 39.58 ▼0.38 |
Server storage [IO: ▲0.14MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 23 new files
Database: no new tables, 16 new options
New WordPress options |
---|
sbc_default_settings |
widget_recent-comments |
sbc_home |
widget_recent-posts |
sbc_before_fontcolor |
theysaidso_admin_options |
sbc_separator_color |
sbc_after_bgcolor |
widget_theysaidso_widget |
can_compress_scripts |
... |
Browser metrics Passed 4 tests
Checking browser requirements for SEO Breadcrumbs
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,833 ▲72 | 13.24 ▼1.20 | 1.84 ▼0.02 | 42.00 ▼2.49 |
Dashboard /wp-admin | 2,237 ▲31 | 4.87 ▼1.03 | 110.07 ▲2.59 | 42.20 ▼1.30 |
Posts /wp-admin/edit.php | 2,116 ▲16 | 1.99 ▲0.00 | 36.12 ▼0.48 | 36.10 ▲1.34 |
Add New Post /wp-admin/post-new.php | 1,562 ▲31 | 23.29 ▼0.05 | 611.44 ▼70.70 | 50.00 ▼2.49 |
Media Library /wp-admin/upload.php | 1,416 ▲16 | 4.20 ▼0.03 | 96.14 ▼16.20 | 42.15 ▼0.66 |
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 13 options in the database
- sbc_after_bgcolor
- can_compress_scripts
- widget_seo_breadcrumbs_widget
- widget_recent-comments
- sbc_default_settings
- sbc_before_bgcolor
- db_upgraded
- sbc_before_fontcolor
- widget_theysaidso_widget
- sbc_after_fontcolor
- ...
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)
The smoke test was a success, however most plugin functionality was not tested
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
- 4× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/seo-breadcrumbs/seo-breadcrumbs.php
- > /wp-content/plugins/seo-breadcrumbs/functions.php
- > /wp-content/plugins/seo-breadcrumbs/settings.php
- > /wp-content/plugins/seo-breadcrumbs/uninstall.php
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function shortcode_exists() in wp-content/plugins/seo-breadcrumbs/shortcode.php:2
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/seo-breadcrumbs/widget.php:7
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
7 plugin tags: navigation, trail, seo breadcrumbs, list, breadcrumb...
seo-breadcrumbs/seo-breadcrumbs.php 92% from 13 tests
Analyzing the main PHP file in "SEO Breadcrumbs" version 7.0
It is important to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 298 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected836 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 204 | 68 | 432 |
CSS | 2 | 75 | 9 | 362 |
XML | 1 | 0 | 0 | 35 |
JavaScript | 2 | 0 | 2 | 7 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 5.00 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 5.00 |
Average method complexity | 2.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.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 | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 13 | |
▷ Named functions | 13 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
10 PNG files occupy 0.10MB with 0.07MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
(invalid) images/plugin-donate.png | 1.67KB | 0.00KB | ▼ 100.00% |
images/style2.png | 14.90KB | 7.89KB | ▼ 47.07% |
images/style4.png | 6.49KB | 3.15KB | ▼ 51.46% |
images/style0.png | 7.60KB | 3.39KB | ▼ 55.43% |
images/style5.png | 6.67KB | 2.88KB | ▼ 56.75% |