Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
It is recommended to fix the following installer errors
- The plugin cannot be installed
- > Deprecated in wp-content/plugins/schema-breadcrumbs/WDPanelAdmin.php+9
Methods with the same name as their class will not be constructors in a future version of PHP; WDPanelAdmin has a deprecated constructor
Server metrics [RAM: ▼1.59MB] [CPU: ▼50.55ms] Passed 4 tests
Server-side resources used by Schema Breadcrumbs
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.40 ▼1.06 | 9.70 ▼28.16 |
Dashboard /wp-admin | 2.42 ▼0.89 | 8.20 ▼37.98 |
Posts /wp-admin/edit.php | 2.42 ▼0.94 | 6.99 ▼41.10 |
Add New Post /wp-admin/post-new.php | 2.42 ▼3.47 | 7.47 ▼94.97 |
Media Library /wp-admin/upload.php | 2.42 ▼0.81 | 7.59 ▼24.22 |
Schema Breadcrumbs /wp-admin/options-general.php?page=schema-breadcrumbs | 2.42 | 7.87 |
Server storage [IO: ▲0.04MB] [DB: ▲0.38MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 5 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
schema_breadcrumbs |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Schema Breadcrumbs: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲83 | 13.59 ▼0.77 | 1.72 ▼0.04 | 42.52 ▲1.74 |
Dashboard /wp-admin | 2,210 ▲22 | 5.79 ▼0.11 | 97.37 ▼8.98 | 40.23 ▼3.94 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 2.01 ▼0.01 | 39.69 ▼1.14 | 36.49 ▲1.12 |
Add New Post /wp-admin/post-new.php | 1,536 ▲1 | 23.71 ▲0.60 | 653.28 ▼21.28 | 64.02 ▲5.30 |
Media Library /wp-admin/upload.php | 1,389 ▼2 | 4.19 ▲0.01 | 97.19 ▼1.66 | 42.13 ▼0.04 |
Schema Breadcrumbs /wp-admin/options-general.php?page=schema-breadcrumbs | 1,237 | 4.86 | 52.20 | 64.48 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.38MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- This plugin did not uninstall without warnings or errors
- > Deprecated in wp-content/plugins/schema-breadcrumbs/WDPanelAdmin.php+9
Methods with the same name as their class will not be constructors in a future version of PHP; WDPanelAdmin has a deprecated constructor
- This plugin did not uninstall successfully, leaving 7 options in the database
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- schema_breadcrumbs
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These server-side errors were triggered
- > GET request to /wp-admin/options-general.php?page=schema-breadcrumbs
- > Deprecated in wp-content/plugins/schema-breadcrumbs/WDPanelAdmin.php+9
Methods with the same name as their class will not be constructors in a future version of PHP; WDPanelAdmin has a deprecated constructor
- > GET request to /wp-admin/options-general.php?page=schema-breadcrumbs
- > Notice in wp-content/plugins/schema-breadcrumbs/schema-breadcrumbs.php+189
Undefined index: trytheme
- 10 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=schema-breadcrumbs
- > User deprecated in wp-includes/functions.php+5453
Function clean_url is deprecated since version 3.0.0! Use esc_url() instead.
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
Please fix the following
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_option() in wp-content/plugins/schema-breadcrumbs/schema-breadcrumbs.php:39
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please fix the following user-side errors
- > GET request to /wp-admin/options-general.php?page=schema-breadcrumbs
- > Network (severe)
https://yoast.com/theme/yoast-16x16.png - Failed to load resource: the server responded with a status of 404 ()
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
7 plugin tags: rdfa, breadcrumbs, schema, google, breadcrumb...
schema-breadcrumbs/schema-breadcrumbs.php Passed 13 tests
The main PHP script in "Schema Breadcrumbs" version 2.1.0 is automatically included on every request by WordPress
39 characters long description:
Outputs a fully Schema valid breadcrumb
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
There were no executable files found in this plugin902 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 183 | 147 | 882 |
CSS | 1 | 5 | 0 | 20 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 13.00 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 18.00 |
Average method complexity | 2.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 18 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 18 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 10 | |
▷ Named functions | 10 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
script_link.png | 0.86KB | 1.01KB | 0.00% |