Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.13MB] [CPU: ▼11.11ms] Passed 4 tests
An overview of server-side resources used by Dadi Breadcrumb
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.71 ▲0.25 | 35.91 ▼8.57 |
Dashboard /wp-admin | 3.57 ▲0.22 | 45.33 ▼14.19 |
Posts /wp-admin/edit.php | 3.68 ▲0.32 | 52.34 ▲7.01 |
Add New Post /wp-admin/post-new.php | 5.69 ▼0.19 | 71.19 ▼22.17 |
Media Library /wp-admin/upload.php | 3.49 ▲0.26 | 35.36 ▲0.50 |
Dadi Breadcrumb /wp-admin/options-general.php?page=dadibd-options-page | 3.45 | 40.54 |
Server storage [IO: ▲0.26MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 16 new files
Database: no new tables, 39 new options
New WordPress options |
---|
page_categories |
page_display_date |
nolink_date |
post_get_taxonomies |
post_categories |
post_no_parent_category |
date_element |
attachment_no_parent_category |
disable_css |
attachment_display_date |
... |
Browser metrics Passed 4 tests
Checking browser requirements for Dadi Breadcrumb
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,835 ▲89 | 13.14 ▼1.24 | 1.90 ▲0.12 | 41.28 ▼3.09 |
Dashboard /wp-admin | 2,215 ▲27 | 4.85 ▼1.02 | 104.51 ▼14.06 | 39.15 ▼6.64 |
Posts /wp-admin/edit.php | 2,095 ▲6 | 2.01 ▼0.04 | 35.87 ▼0.11 | 31.55 ▼1.37 |
Add New Post /wp-admin/post-new.php | 6,268 ▲4,740 | 19.00 ▲0.65 | 903.18 ▲270.50 | 78.96 ▲28.12 |
Media Library /wp-admin/upload.php | 1,388 ▲3 | 4.20 ▼0.03 | 95.42 ▲1.76 | 41.37 ▼0.65 |
Dadi Breadcrumb /wp-admin/options-general.php?page=dadibd-options-page | 1,448 | 1.77 | 27.96 | 27.69 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 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 were found after uninstall: 39 options
- page_no_parent_category
- custom_post_type_name_link
- widget_recent-comments
- format_date
- post_get_taxonomies
- theysaidso_admin_options
- virtual_dir
- home_icon
- page_categories
- radio_icon
- ...
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
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 items
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/dadi-breadcrumb/dadibd-metabox.php:35
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/dadi-breadcrumb/dadibd-output-functions.php:145
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that need to be fixed:
- Screenshots: Screenshot #1 (Dadi Breadcrumb Options Page2. Dadi Breadcrumb Metabox) image required
- Screenshots: Please add descriptions for these screenshots #0, #0 in dadi-breadcrumb/assets to your readme.txt
dadi-breadcrumb/dadibd-core.php 92% from 13 tests
The main PHP file in "Dadi Breadcrumb" ver. 1.1.2 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Main file name: Name the main plugin file the same as the plugin slug ("dadi-breadcrumb.php" instead of "dadibd-core.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin1,874 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 522 | 845 | 1,269 |
PO File | 1 | 128 | 252 | 412 |
CSS | 2 | 45 | 50 | 193 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 27.00 |
▷ Minimum class complexity | 27.00 |
▷ Maximum class complexity | 27.00 |
Average method complexity | 3.60 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.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 | 10 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 2 | 20.00% |
▷ Protected methods | 8 | 80.00% |
▷ Private methods | 0 | 0.00% |
Functions | 39 | |
▷ Named functions | 39 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.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
4 PNG files occupy 0.13MB with 0.06MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-dadibreadcrumb-options-page.png | 94.65KB | 26.27KB | ▼ 72.24% |
images/plus.png | 1.26KB | 1.08KB | ▼ 14.44% |
images/minus.png | 1.18KB | 0.98KB | ▼ 17.01% |
assets/screenshot-dadibreadcrumb-metabox.png | 35.50KB | 11.38KB | ▼ 67.94% |