Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼150.04ms] Passed 4 tests
Server-side resources used by Breadcrumb Box
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.88 ▲0.05 | 27.01 ▲1.25 |
Dashboard /wp-admin | 3.12 ▲0.06 | 35.11 ▼6.77 |
Posts /wp-admin/edit.php | 3.17 ▲0.06 | 39.22 ▲1.64 |
Add New Post /wp-admin/post-new.php | 5.48 ▲0.04 | 70.36 ▼592.40 |
Media Library /wp-admin/upload.php | 3.06 ▲0.06 | 24.91 ▼2.22 |
Breadcrumb Box /wp-admin/options-general.php?page=breadcrumb-box-setting | 3.03 | 20.46 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 10 new files
Database: no new tables, 1 new option
New WordPress options |
---|
widget_widget_breadcrumb_box |
Browser metrics Passed 4 tests
An overview of browser requirements for Breadcrumb Box
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,676 ▲75 | 15.72 ▲0.10 | 5.77 ▲0.52 | 75.80 ▼3.31 |
Dashboard /wp-admin | 2,940 ▲44 | 6.20 ▲0.03 | 113.32 ▼16.55 | 170.96 ▼3.04 |
Posts /wp-admin/edit.php | 2,750 ▲7 | 3.24 ▲0.14 | 61.58 ▼1.16 | 134.16 ▼5.16 |
Add New Post /wp-admin/post-new.php | 2,325 ▼1,482 | 22.00 ▲3.23 | 402.47 ▼17.14 | 159.35 ▼11.55 |
Media Library /wp-admin/upload.php | 1,762 ▲10 | 5.58 ▲0.06 | 141.80 ▼15.79 | 182.50 ▼1.61 |
Breadcrumb Box /wp-admin/options-general.php?page=breadcrumb-box-setting | 1,154 | 2.41 | 52.67 | 119.90 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin did not uninstall successfully, leaving 1 option in the database
- widget_widget_breadcrumb_box
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP Passed 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
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 96% 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
4 plugin tags: seo, links, breadcrumb, pathway
breadcrumb-box/index.php 92% from 13 tests
The entry point to "Breadcrumb Box" version 1.1 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("breadcrumb-box.php" instead of "index.php")
Code Analysis Passed 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 detected460 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 154 | 88 | 329 |
CSS | 1 | 3 | 3 | 119 |
JavaScript | 1 | 5 | 3 | 10 |
HTML | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 44.00 |
▷ Minimum class complexity | 44.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 5.78 |
▷ 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 | 9 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 44.44% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 55.56% |
Functions | 15 | |
▷ Named functions | 14 | 93.33% |
▷ Anonymous functions | 1 | 6.67% |
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
All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin