Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.99MB] [CPU: ▼3.36ms] Passed 4 tests
Analyzing server-side resources used by BreadcrumbsPress
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.43 ▲0.97 | 45.51 ▲5.82 |
Dashboard /wp-admin | 4.30 ▲1.00 | 48.73 ▼0.95 |
Posts /wp-admin/edit.php | 4.35 ▲1.00 | 48.96 ▼4.96 |
Add New Post /wp-admin/post-new.php | 6.89 ▲1.00 | 84.27 ▼11.57 |
Media Library /wp-admin/upload.php | 4.22 ▲1.00 | 40.46 ▲4.03 |
BreadcrumbsPress /wp-admin/options-general.php?page=breadcrumbspress | 4.35 | 44.09 |
Server storage [IO: ▲3.34MB] [DB: ▲0.01MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 437 new files
Database: no new tables, 18 new options
New WordPress options |
---|
d4p_blog_breadcrumbspress_title |
d4p_blog_breadcrumbspress_info |
d4p_blog_breadcrumbspress_integration |
widget_recent-posts |
d4p_blog_breadcrumbspress_core |
widget_theysaidso_widget |
d4p_blog_breadcrumbspress_display |
db_upgraded |
d4p_blog_breadcrumbspress_rules |
d4p_blog_breadcrumbspress_visibility |
... |
Browser metrics Passed 4 tests
BreadcrumbsPress: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,795 ▲9 | 14.20 ▼0.08 | 1.81 ▼0.13 | 42.47 ▲6.32 |
Dashboard /wp-admin | 2,199 ▲22 | 5.62 ▲0.03 | 83.16 ▼3.36 | 38.70 ▼5.98 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.98 ▲0.03 | 34.29 ▼9.74 | 35.63 ▼4.76 |
Add New Post /wp-admin/post-new.php | 6,369 ▲4,843 | 27.80 ▲4.73 | 921.87 ▲278.15 | 63.77 ▲11.42 |
Media Library /wp-admin/upload.php | 1,404 ▲7 | 4.23 ▲0.04 | 95.76 ▼7.70 | 43.97 ▼1.14 |
BreadcrumbsPress /wp-admin/options-general.php?page=breadcrumbspress | 962 | 2.10 | 31.52 | 53.80 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- Zombie WordPress options detected upon uninstall: 18 options
- d4p_blog_breadcrumbspress_integration
- d4p_blog_breadcrumbspress_title
- d4p_blog_breadcrumbspress_visibility
- d4p_blog_breadcrumbspress_plain
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- d4p_blog_breadcrumbspress_rules
- d4p_blog_breadcrumbspress_info
- ...
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
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 fix the following
- 2× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/breadcrumbspress/d4plib/forms/footer.php
- > /wp-content/plugins/breadcrumbspress/d4plib/forms/content-dashboard.php
- 53× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function Dev4Press\\v42\\Functions\\panel() in wp-content/plugins/breadcrumbspress/d4plib/forms/content-settings-index.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function breadcrumbspress_settings() in wp-content/plugins/breadcrumbspress/forms/content-install.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/breadcrumbspress/forms/content-dashboard-integration.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function Dev4Press\\v42\\Functions\\panel() in wp-content/plugins/breadcrumbspress/d4plib/forms/content-features-index-filter.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/breadcrumbspress/d4plib/forms/content-tools-import.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function Dev4Press\\v42\\Functions\\panel() in wp-content/plugins/breadcrumbspress/d4plib/forms/sidebar-features-index.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/breadcrumbspress/d4plib/forms/widget-loader.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function Dev4Press\\v42\\Functions\\panel() in wp-content/plugins/breadcrumbspress/d4plib/forms/content-about-info.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/breadcrumbspress/d4plib/forms/content.php:2
- > PHP Warning
Use of undefined constant BREADCRUMBSPRESS_PATH - assumed 'BREADCRUMBSPRESS_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/breadcrumbspress/forms/content-about-whatsnew.php on line 1
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
6 plugin tags: breadcrumbs, schema, crumb, navigation, dev4press...
breadcrumbspress/breadcrumbspress.php 92% from 13 tests
"BreadcrumbsPress" version 2.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 161 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin38,066 lines of code in 384 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 203 | 5,160 | 2,459 | 19,046 |
CSS | 44 | 1,192 | 42 | 10,338 |
Sass | 58 | 1,068 | 29 | 5,510 |
JavaScript | 76 | 314 | 120 | 3,112 |
JSON | 1 | 0 | 0 | 32 |
Markdown | 2 | 12 | 0 | 28 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 15.90 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 148.00 |
Average method complexity | 2.64 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 65.00 |
Code structure | ||
---|---|---|
Namespaces | 43 | |
Interfaces | 0 | |
Traits | 3 | |
Classes | 144 | |
▷ Abstract classes | 39 | 27.08% |
▷ Concrete classes | 105 | 72.92% |
▷ Final classes | 12 | 11.43% |
Methods | 1,384 | |
▷ Static methods | 215 | 15.53% |
▷ Public methods | 1,041 | 75.22% |
▷ Protected methods | 242 | 17.49% |
▷ Private methods | 101 | 7.30% |
Functions | 17 | |
▷ Named functions | 15 | 88.24% |
▷ Anonymous functions | 2 | 11.76% |
Constants | 53 | |
▷ Global constants | 5 | 9.43% |
▷ Class constants | 48 | 90.57% |
▷ Public constants | 48 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
3 compressed PNG files occupy 0.06MB
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
d4plib/resources/libraries/flags/img/flag_placeholder.png | 0.09KB | 0.09KB | 0.00% |
d4plib/resources/libraries/flags/img/flags_responsive.png | 54.14KB | 57.01KB | 0.00% |
d4plib/resources/gfx/buy_me_a_coffee.png | 7.73KB | 7.79KB | 0.00% |