Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
You still need to fix the following installer errors
- Install procedure had errors
- > Deprecated in wp-content/plugins/breadcrumbs-by-menu/breadcrumbs_by_menu.php+38
Methods with the same name as their class will not be constructors in a future version of PHP; breadcrumbs_by_menu has a deprecated constructor
Server metrics [RAM: ▼1.77MB] [CPU: ▼185.36ms] Passed 4 tests
Server-side resources used by Breadcrumbs by menu
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 1.86 ▼0.98 | 9.19 ▼24.99 |
Dashboard /wp-admin | 1.88 ▼1.18 | 5.06 ▼38.09 |
Posts /wp-admin/edit.php | 1.88 ▼1.23 | 5.94 ▼38.33 |
Add New Post /wp-admin/post-new.php | 1.88 ▼3.56 | 5.20 ▼636.01 |
Media Library /wp-admin/upload.php | 1.88 ▼1.13 | 4.96 ▼28.99 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 1 new option
New WordPress options |
---|
BCBM_SETTINGS |
Browser metrics Passed 4 tests
A check of browser resources used by Breadcrumbs by menu
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,830 ▲234 | 16.29 ▲0.83 | 12.25 ▲1.16 | 44.94 ▼9.53 |
Dashboard /wp-admin | 2,982 ▲51 | 5.91 ▼0.17 | 137.14 ▼11.43 | 118.48 ▲2.39 |
Posts /wp-admin/edit.php | 2,754 ▲15 | 2.72 ▲0.01 | 66.73 ▲1.32 | 94.74 ▲5.56 |
Add New Post /wp-admin/post-new.php | 1,882 ▲382 | 19.18 ▲0.63 | 377.11 ▼0.51 | 112.85 ▲3.35 |
Media Library /wp-admin/upload.php | 1,825 ▲18 | 5.05 ▲0.02 | 155.67 ▼0.80 | 122.25 ▲1.90 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- This plugin cannot be uninstalled
- > Deprecated in wp-content/plugins/breadcrumbs-by-menu/breadcrumbs_by_menu.php+38
Methods with the same name as their class will not be constructors in a future version of PHP; breadcrumbs_by_menu has a deprecated constructor
- The uninstall procedure has failed, leaving 1 option in the database
- BCBM_SETTINGS
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
No output text or server-side errors detected on direct access of PHP files
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 90% from 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
2 plugin tags: breadcrumbs, menu
breadcrumbs-by-menu/breadcrumbs_by_menu.php 77% from 13 tests
The main PHP script in "Breadcrumbs by menu" version 1.0.3 is automatically included on every request by WordPress
Please take the time to fix the following:
- Domain Path: The domain path points to a folder that does not exist ("/languages/")
- Main file name: It is recommended to name the main PHP file as the plugin slug ("breadcrumbs-by-menu.php" instead of "breadcrumbs_by_menu.php")
- Text Domain: The text domain follows the same naming rules as the plugin slug: lowercase characters and dashes
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 plugin293 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 62 | 27 | 250 |
JavaScript | 1 | 2 | 0 | 26 |
CSS | 1 | 9 | 10 | 17 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 42.00 |
▷ Minimum class complexity | 42.00 |
▷ Maximum class complexity | 42.00 |
Average method complexity | 4.73 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.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 | 11 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 11 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected