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
- This plugin did not install gracefully
- > Error in wp-content/plugins/breadcrumbs-shortcode/library_wp.php+2677
Uncaught Error: Class 'WP_Plugins_List_Table' not found in wp-content/plugins/breadcrumbs-shortcode/library_wp.php:2677
Stack trace:
#0 wp-content/plugins/breadcrumbs-shortcode/library_wp.php(2611): Puvox\wp_plugin->is_not_bulk_activation()
#1 wp-includes/class-wp-hook.php(312): Puvox\wp_plugin->Puvox\{closure}()
#2 wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
#3 wp-includes/plugin.php(517): WP_Hook->do_action()
#4 wp-admin/includes/plugin.php(720): do_action()
Server metrics [RAM: ▲2.22MB] [CPU: ▲9.13ms] Passed 4 tests
A check of server-side resources used by Breadcrumbs Shortcode
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.72 ▲2.26 | 53.24 ▲14.08 |
Dashboard /wp-admin | 5.55 ▲2.25 | 59.24 ▲10.64 |
Posts /wp-admin/edit.php | 5.60 ▲2.25 | 64.48 ▲12.77 |
Add New Post /wp-admin/post-new.php | 8.07 ▲2.18 | 96.60 ▼0.98 |
Media Library /wp-admin/upload.php | 5.41 ▲2.18 | 56.31 ▲24.38 |
Breadcrumbs Shortcode /wp-admin/options-general.php?page=breadcrumbs-shortcode | 5.39 | 57.15 |
Server storage [IO: ▲0.39MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 6 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_breadcrumbs_shortcode__errors_log |
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
breadcrumbs-shortcode |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Breadcrumbs Shortcode
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,809 ▲74 | 13.65 ▼0.70 | 1.64 ▼0.11 | 43.68 ▲6.68 |
Dashboard /wp-admin | 2,213 ▲22 | 4.85 ▼1.04 | 108.04 ▼7.78 | 39.30 ▼7.93 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 2.00 ▲0.02 | 39.73 ▼2.17 | 34.99 ▼1.50 |
Add New Post /wp-admin/post-new.php | 1,520 ▼13 | 17.52 ▼5.61 | 652.26 ▼14.22 | 59.07 ▲1.34 |
Media Library /wp-admin/upload.php | 1,395 ▲10 | 4.14 ▼0.04 | 98.59 ▼5.35 | 40.06 ▼4.01 |
Breadcrumbs Shortcode /wp-admin/options-general.php?page=breadcrumbs-shortcode | 971 | 2.14 | 33.18 | 60.60 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- This plugin does not fully uninstall, leaving 1 table in the database
- wp_breadcrumbs_shortcode__errors_log
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_recent-comments
- breadcrumbs-shortcode
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
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 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'Puvox\\library' not found in wp-content/plugins/breadcrumbs-shortcode/library_wp.php:25
- > 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 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Please fix the following attributes:
- Contributors: The plugin contributors field is not present
breadcrumbs-shortcode/index.php 92% from 13 tests
The principal PHP file in "Breadcrumbs Shortcode" v. 1.45 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("breadcrumbs-shortcode.php" instead of "index.php")
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected3,676 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 1,276 | 5,144 | 3,668 |
CSS | 1 | 1 | 0 | 8 |
PHP code 50% from 2 tests
This plugin's cyclomatic complexity and code structure detailed below
It is recommended to fix the following
- Cyclomatic complexity of classes should be reduced to less than 1000 (currently 1,076)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.50 |
Average class complexity | 351.80 |
▷ Minimum class complexity | 21.00 |
▷ Maximum class complexity | 1,076.00 |
Average method complexity | 3.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 29.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 852 | |
▷ Static methods | 102 | 11.97% |
▷ Public methods | 845 | 99.18% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 7 | 0.82% |
Functions | 89 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 89 | 100.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.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
There are no PNG files in this plugin