Benchmarks
Plugin footprint Passed 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 gracefully, with no errors
Server metrics [RAM: ▲0.03MB] [CPU: ▼141.14ms] Passed 4 tests
Analyzing server-side resources used by Essential Breadcrumbs
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.86 ▲0.14 | 33.78 ▲13.29 |
Dashboard /wp-admin | 3.09 ▲0.04 | 45.37 ▲1.40 |
Posts /wp-admin/edit.php | 3.14 ▲0.04 | 45.04 ▲3.01 |
Add New Post /wp-admin/post-new.php | 5.46 ▲0.03 | 90.38 ▼565.95 |
Media Library /wp-admin/upload.php | 3.04 ▲0.03 | 34.11 ▼3.01 |
Essential Breadcrumbs /wp-admin/options-general.php?page=essential-breadcrumbs | 3.01 | 28.12 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 8 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
This is an overview of browser requirements for Essential Breadcrumbs
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,686 ▲90 | 15.92 ▲0.02 | 7.58 ▼0.77 | 47.16 ▼1.39 |
Dashboard /wp-admin | 2,975 ▲41 | 5.90 ▼0.25 | 137.77 ▼3.24 | 115.15 ▲2.65 |
Posts /wp-admin/edit.php | 2,741 ▲2 | 2.69 ▼0.00 | 70.54 ▲7.66 | 96.06 ▲6.04 |
Add New Post /wp-admin/post-new.php | 1,722 ▲39 | 17.09 ▼1.43 | 362.87 ▲7.21 | 117.85 ▲4.25 |
Media Library /wp-admin/upload.php | 1,812 ▲5 | 5.05 ▲0.06 | 145.23 ▼10.11 | 120.27 ▼7.21 |
Essential Breadcrumbs /wp-admin/options-general.php?page=essential-breadcrumbs | 1,121 | 2.92 | 68.50 | 65.79 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The plugin uninstalled completely, with no zombie files or tables
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test
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
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/essential-breadcrumbs/essential-breadcrumbs.php
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/essential-breadcrumbs/essential_breadcrumb_functions.php:92
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/essential-breadcrumbs/admin/admin.php:3
- > 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)
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
5 plugin tags: url breadcrumbs, breadcrumbs, schema breadcrumbs, breadcrumbs based on url, essential breadcrumbs
essential-breadcrumbs/essential-breadcrumbs.php Passed 13 tests
The primary PHP file in "Essential Breadcrumbs" version 1.1.1 is used by WordPress to initiate all plugin functionality
73 characters long description:
Creates breadcrumbs based on the URL structure that are schema marked up.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin289 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 52 | 22 | 229 |
CSS | 2 | 0 | 0 | 56 |
JavaScript | 1 | 1 | 0 | 4 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 12 | |
▷ Named functions | 12 | 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
It is recommended to compress PNG files in your plugin to 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 |
admin/images/toggle-content.png | 0.50KB | 0.66KB | 0.00% |