Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼5.79ms] Passed 4 tests
Analyzing server-side resources used by Breadcrumb For Frontend
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 35.83 ▼4.67 |
Dashboard /wp-admin | 3.34 ▲0.04 | 46.04 ▼8.88 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 50.97 ▼6.13 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 96.57 ▼0.56 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 32.31 ▼3.46 |
Server storage [IO: ▲0.21MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Breadcrumb For Frontend
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,926 ▲180 | 13.94 ▼0.36 | 7.83 ▲5.91 | 37.83 ▼4.80 |
Dashboard /wp-admin | 2,249 ▲61 | 4.84 ▼1.01 | 98.27 ▼17.25 | 48.55 ▲4.30 |
Posts /wp-admin/edit.php | 2,092 ▲6 | 2.14 ▲0.13 | 40.42 ▲3.68 | 34.70 ▼0.56 |
Add New Post /wp-admin/post-new.php | 1,532 ▼2 | 23.32 ▲0.17 | 626.49 ▼36.87 | 61.71 ▲7.94 |
Media Library /wp-admin/upload.php | 1,391 ▲3 | 4.29 ▲0.10 | 98.36 ▼1.27 | 40.99 ▼1.65 |
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
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
Smoke tests Passed 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 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that need to be fixed:
- Screenshots: Screenshot #3 (BFF plugin is fully compatiable with all devices(screenshot-3.png).) image not found
breadcrumb-for-frontend/breadcrumb-for-frontend.php Passed 13 tests
The principal PHP file in "Breadcrumb For Frontend" v. 1.0.0 is loaded by WordPress automatically on each request
110 characters long description:
Breadcrumb For Frontend plugin is used for displaying the breadcrumb for web pages to easily navigate on pages
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
Success! There were no dangerous files found in this plugin226 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 42 | 111 | 170 |
CSS | 1 | 4 | 14 | 49 |
JavaScript | 1 | 1 | 1 | 7 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 31.00 |
▷ Minimum class complexity | 31.00 |
▷ Maximum class complexity | 31.00 |
Average method complexity | 7.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 31.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 | 5 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 5 | 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 | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
3 PNG files occupy 0.18MB with 0.10MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/screenshot-2.png | 83.90KB | 30.66KB | ▼ 63.45% |
assets/images/screeshot-3.png | 25.86KB | 12.38KB | ▼ 52.13% |
assets/images/screenshot-1.png | 69.46KB | 27.93KB | ▼ 59.79% |