Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.32MB] [CPU: ▼0.40ms] Passed 4 tests
An overview of server-side resources used by Flexy Breadcrumb
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.78 ▲0.32 | 50.06 ▲2.74 |
Dashboard /wp-admin | 3.62 ▲0.31 | 56.55 ▼1.15 |
Posts /wp-admin/edit.php | 3.73 ▲0.37 | 52.71 ▲1.14 |
Add New Post /wp-admin/post-new.php | 6.22 ▲0.33 | 96.37 ▼4.33 |
Media Library /wp-admin/upload.php | 3.54 ▲0.31 | 46.69 ▲12.19 |
Server storage [IO: ▲2.37MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 50 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
fbc_settings_options |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Flexy Breadcrumb
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,910 ▲121 | 13.97 ▲0.79 | 5.18 ▲3.35 | 43.30 ▼2.93 |
Dashboard /wp-admin | 2,216 ▲10 | 5.83 ▲0.99 | 115.78 ▲3.29 | 82.63 ▲39.86 |
Posts /wp-admin/edit.php | 2,114 ▲25 | 2.00 ▼0.06 | 38.90 ▲3.91 | 34.69 ▼0.28 |
Add New Post /wp-admin/post-new.php | 1,447 ▼86 | 17.80 ▼5.43 | 835.00 ▲193.98 | 52.94 ▼4.91 |
Media Library /wp-admin/upload.php | 1,407 ▲16 | 4.21 ▲0.04 | 102.19 ▲3.46 | 80.38 ▲36.33 |
Uninstaller [IO: ✅] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
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
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Almost there! Just fix the following items
- 2× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/flexy-breadcrumb/admin/partials/flexy-breadcrumb-admin-display.php
- > /wp-content/plugins/flexy-breadcrumb/public/partials/flexy-breadcrumb-public-display.php
- 4× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/flexy-breadcrumb/admin/settings/class-flexy-breadcrumb-settings-general.php:24
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/flexy-breadcrumb/public/class-flexy-breadcrumb-typography.php:25
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/flexy-breadcrumb/admin/class-flexy-breadcrumb-settings-init.php:28
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/flexy-breadcrumb/admin/settings/class-flexy-breadcrumb-settings-typography.php:24
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
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
7 plugin tags: navigation, breadcrumb, navigate, page link, menu...
flexy-breadcrumb/flexy-breadcrumb.php Passed 13 tests
The main PHP script in "Flexy Breadcrumb" version 1.2.1 is automatically included on every request by WordPress
91 characters long description:
Flexy Breadcrumb is a super light weight & easy to navigate through current page hierarchy.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin5,660 lines of code in 28 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 1 | 0 | 0 | 2,671 |
CSS | 4 | 27 | 60 | 1,727 |
PHP | 18 | 297 | 911 | 1,101 |
PO File | 1 | 46 | 59 | 109 |
JavaScript | 4 | 9 | 38 | 52 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 10.69 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 90.00 |
Average method complexity | 3.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 38.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 13 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 13 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 56 | |
▷ Static methods | 2 | 3.57% |
▷ Public methods | 51 | 91.07% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 8.93% |
Functions | 4 | |
▷ Named functions | 4 | 100.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
3 PNG files occupy 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/images/powerByIcon.png | 6.17KB | 2.52KB | ▼ 59.18% |
admin/images/admin-menu-icon.png | 1.26KB | 0.40KB | ▼ 68.14% |
admin/images/flexy-breadcrumb-logo.png | 5.45KB | 3.04KB | ▼ 44.24% |