Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
These installer errors require your attention
- The plugin did not install without errors
- > Warning in wp-content/plugins/genzel-breadcrumbs/gb.class.php+213
"continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"?
Server metrics [RAM: ▼1.84MB] [CPU: ▼62.24ms] Passed 4 tests
An overview of server-side resources used by Genzel breadcrumbs
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.16 ▼1.31 | 4.94 ▼41.31 |
Dashboard /wp-admin | 2.18 ▼1.17 | 6.48 ▼61.45 |
Posts /wp-admin/edit.php | 2.18 ▼1.18 | 6.04 ▼43.74 |
Add New Post /wp-admin/post-new.php | 2.18 ▼3.71 | 5.64 ▼102.46 |
Media Library /wp-admin/upload.php | 2.18 ▼1.06 | 5.57 ▼31.32 |
Genzel Breadcrumbs /wp-admin/options-general.php?page=genzel-breadcrumbs/gb.class.php | 2.18 | 6.24 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Genzel breadcrumbs
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲72 | 14.35 ▼0.00 | 1.95 ▲0.27 | 43.47 ▲1.71 |
Dashboard /wp-admin | 2,196 ▲16 | 5.55 ▼0.02 | 88.63 ▼4.62 | 38.86 ▼3.70 |
Posts /wp-admin/edit.php | 2,107 ▲4 | 2.02 ▼0.01 | 41.02 ▲3.79 | 36.40 ▼0.28 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 23.68 ▲0.64 | 650.33 ▲5.79 | 48.81 ▼2.61 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.18 ▼0.05 | 100.90 ▼3.88 | 40.73 ▼4.65 |
Genzel Breadcrumbs /wp-admin/options-general.php?page=genzel-breadcrumbs/gb.class.php | 1,245 | 1.67 | 27.13 | 50.36 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- The plugin did not uninstall gracefully
- > Warning in wp-content/plugins/genzel-breadcrumbs/gb.class.php+213
"continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"?
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These server-side errors were triggered
- > GET request to /wp-admin/options-general.php?page=genzel-breadcrumbs/gb.class.php
- > Warning in wp-content/plugins/genzel-breadcrumbs/gb.class.php+213
"continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"?
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=genzel-breadcrumbs/gb.class.php
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
- > GET request to /wp-admin/options-general.php?page=genzel-breadcrumbs/gb.class.php
- > Notice in wp-content/plugins/genzel-breadcrumbs/gb.class.php+412
Undefined index: action
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
- 3× PHP files trigger server errors when accessed directly:
- > PHP Warning
"continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in wp-content/plugins/genzel-breadcrumbs/gb.class.php on line 213
- > PHP Warning
Unterminated comment starting line 1 in wp-content/plugins/genzel-breadcrumbs/settings.php on line 1
- > PHP Warning
"continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in wp-content/plugins/genzel-breadcrumbs/gb.class.php on line 213
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
8 plugin tags: trail, link, simple breadcrumbs, menu, navigation...
genzel-breadcrumbs/genzel-breadcrumbs.php Passed 13 tests
The main file in "Genzel breadcrumbs" v. 1.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
82 characters long description:
Helps build breadcrumbs nav links. Based on WP menu, can be configured and hooked.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Success! There were no dangerous files found in this plugin769 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 135 | 42 | 769 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.60 |
Average class complexity | 107.00 |
▷ Minimum class complexity | 107.00 |
▷ Maximum class complexity | 107.00 |
Average method complexity | 9.15 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 55.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 | 13 | |
▷ Static methods | 2 | 15.38% |
▷ Public methods | 10 | 76.92% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 23.08% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin