Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.23MB] [CPU: ▲2.16ms] Passed 4 tests
Server-side resources used by Instant Breadcrumbs
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.67 ▲0.21 | 42.41 ▼2.77 |
Dashboard /wp-admin | 3.58 ▲0.27 | 53.83 ▲1.31 |
Posts /wp-admin/edit.php | 3.63 ▲0.27 | 56.74 ▲8.14 |
Add New Post /wp-admin/post-new.php | 6.09 ▲0.21 | 94.23 ▲1.97 |
Media Library /wp-admin/upload.php | 3.44 ▲0.21 | 42.80 ▲9.51 |
Breadcrumbs /wp-admin/themes.php?page=instant-breadcrumbs | 3.55 | 42.93 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 22 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
widget_lym_ib_widget |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Instant Breadcrumbs
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲4 | 13.21 ▼0.09 | 1.63 ▼0.33 | 42.85 ▼0.62 |
Dashboard /wp-admin | 2,213 ▲10 | 5.90 ▲0.06 | 108.77 ▲10.21 | 40.38 ▲0.08 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.01 ▲0.02 | 39.79 ▲3.85 | 34.66 ▲2.16 |
Add New Post /wp-admin/post-new.php | 1,536 ▲14 | 23.56 ▲0.43 | 620.58 ▼114.01 | 53.76 ▼8.03 |
Media Library /wp-admin/upload.php | 1,395 ▲7 | 4.21 ▼0.04 | 96.92 ▼6.76 | 40.60 ▼1.59 |
Breadcrumbs /wp-admin/themes.php?page=instant-breadcrumbs | 929 | 2.05 | 25.85 | 29.42 |
Uninstaller [IO: ✅] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- The uninstall procedure has failed, leaving 7 options in the database
- can_compress_scripts
- db_upgraded
- widget_lym_ib_widget
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
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
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 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
Please fix the following
- 3× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/instant-breadcrumbs/classes/class-instant-breadcrumbs-widget.php:5
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/instant-breadcrumbs/classes/class-instant-breadcrumbs-widget.php:5
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/instant-breadcrumbs/classes/class-instant-breadcrumbs-widget.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
4 plugin tags: breadcrumbs, links, navigation, menu
instant-breadcrumbs/instant-breadcrumbs.php Passed 13 tests
"Instant Breadcrumbs" version 1.4.5's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
64 characters long description:
Adds a breadcrumb trail to your nav menu, with no theme editing!
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
Everything looks great! No dangerous files found in this plugin1,418 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 97 | 142 | 1,133 |
PO File | 3 | 105 | 123 | 285 |
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.43 |
Average class complexity | 21.91 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 3.95 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 33.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 11 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 78 | |
▷ Static methods | 41 | 52.56% |
▷ Public methods | 49 | 62.82% |
▷ Protected methods | 14 | 17.95% |
▷ Private methods | 15 | 19.23% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 5 | 100.00% |
▷ Public constants | 5 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/flattr-badge-large.png | 1.60KB | 1.56KB | ▼ 2.38% |