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
Install script ran successfully
Server metrics [RAM: ▲0.14MB] [CPU: ▼8.06ms] Passed 4 tests
Server-side resources used by WPSSO Schema Breadcrumbs Markup
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.15 | 39.21 ▼6.37 |
Dashboard /wp-admin | 3.45 ▲0.14 | 46.08 ▼8.60 |
Posts /wp-admin/edit.php | 3.56 ▲0.20 | 46.16 ▼4.10 |
Add New Post /wp-admin/post-new.php | 6.03 ▲0.14 | 81.26 ▼13.16 |
Media Library /wp-admin/upload.php | 3.37 ▲0.14 | 34.53 ▼3.16 |
Server storage [IO: ▲0.19MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 34 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
WPSSO Schema Breadcrumbs Markup: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,821 ▲34 | 14.14 ▼0.03 | 1.87 ▼0.17 | 40.75 ▼3.56 |
Dashboard /wp-admin | 2,201 ▲21 | 5.60 ▼0.02 | 88.97 ▲3.76 | 40.83 ▼3.07 |
Posts /wp-admin/edit.php | 2,106 ▲9 | 2.03 ▲0.01 | 39.14 ▲1.72 | 36.52 ▲1.67 |
Add New Post /wp-admin/post-new.php | 1,532 ▲6 | 23.30 ▲0.10 | 660.15 ▼44.26 | 50.28 ▼7.61 |
Media Library /wp-admin/upload.php | 1,409 ▲12 | 4.14 ▼0.02 | 101.95 ▼6.54 | 43.15 ▼5.75 |
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
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP 50% 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
Almost there! Just fix the following items
- 16× GET requests to PHP files return non-empty strings (only 10 are shown):
- > /wp-content/plugins/wpsso-breadcrumbs/lib/compat.php
- > /wp-content/plugins/wpsso-breadcrumbs/lib/abstract/add-on.php
- > /wp-content/plugins/wpsso-breadcrumbs/lib/abstract/com/add-on.php
- > /wp-content/plugins/wpsso-breadcrumbs/wpsso-breadcrumbs.php
- > /wp-content/plugins/wpsso-breadcrumbs/lib/config.php
- > /wp-content/plugins/wpsso-breadcrumbs/gettext/gettext-lib-config.php
- > /wp-content/plugins/wpsso-breadcrumbs/lib/submenu/breadcrumbs.php
- > /wp-content/plugins/wpsso-breadcrumbs/lib/functions.php
- > /wp-content/plugins/wpsso-breadcrumbs/lib/register.php
- > /wp-content/plugins/wpsso-breadcrumbs/lib/filters-messages.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
8 plugin tags: google, schema, seo, breadcrumbs, hierarchy...
wpsso-breadcrumbs/wpsso-breadcrumbs.php Passed 13 tests
"WPSSO Schema Breadcrumbs Markup" version 5.0.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
71 characters long description:
Schema BreadcrumbList markup in JSON-LD format for Google Rich Results.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin1,193 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 16 | 585 | 325 | 1,026 |
PO File | 1 | 22 | 22 | 69 |
HTML | 3 | 50 | 0 | 65 |
Markdown | 1 | 18 | 0 | 33 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 13.08 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 46.00 |
Average method complexity | 3.76 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 44.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 13 | |
▷ Abstract classes | 2 | 15.38% |
▷ Concrete classes | 11 | 84.62% |
▷ Final classes | 0 | 0.00% |
Methods | 56 | |
▷ Static methods | 13 | 23.21% |
▷ Public methods | 46 | 82.14% |
▷ Protected methods | 6 | 10.71% |
▷ Private methods | 4 | 7.14% |
Functions | 5 | |
▷ Named functions | 4 | 80.00% |
▷ Anonymous functions | 1 | 20.00% |
Constants | 7 | |
▷ Global constants | 7 | 100.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
2 PNG files occupy 0.07MB with 0.04MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/icon-256x256.png | 52.34KB | 19.99KB | ▼ 61.82% |
images/icon-128x128.png | 19.60KB | 7.58KB | ▼ 61.34% |