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.28MB] [CPU: ▼3.45ms] Passed 4 tests
Analyzing server-side resources used by Carbon Breadcrumbs
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.73 ▲0.26 | 41.20 ▼1.23 |
Dashboard /wp-admin | 3.59 ▲0.29 | 53.14 ▼1.10 |
Posts /wp-admin/edit.php | 3.64 ▲0.29 | 51.18 ▲1.66 |
Add New Post /wp-admin/post-new.php | 6.17 ▲0.29 | 87.70 ▼13.12 |
Media Library /wp-admin/upload.php | 3.52 ▲0.29 | 38.24 ▲8.31 |
Carbon Breadcrumbs /wp-admin/options-general.php?page=carbon_breadcrumbs_settings | 3.42 | 37.17 |
Server storage [IO: ▲0.28MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 164 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Carbon Breadcrumbs
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.30 ▲0.07 | 1.96 ▲0.22 | 46.28 ▼0.24 |
Dashboard /wp-admin | 2,202 ▲25 | 5.67 ▲0.08 | 87.20 ▼6.55 | 39.95 ▼1.87 |
Posts /wp-admin/edit.php | 2,101 ▲1 | 2.04 ▼0.02 | 34.01 ▼4.88 | 38.91 ▲0.63 |
Add New Post /wp-admin/post-new.php | 1,548 ▲3 | 23.10 ▼0.08 | 639.29 ▼68.88 | 52.97 ▲5.38 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.30 ▼0.05 | 97.48 ▼16.39 | 43.25 ▼4.73 |
Carbon Breadcrumbs /wp-admin/options-general.php?page=carbon_breadcrumbs_settings | 942 | 2.05 | 23.24 | 33.25 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Almost there! Just fix the following items
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/carbon-breadcrumbs/tests/bootstrap.php
- 140× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Breadcrumb_Item' not found in wp-content/plugins/carbon-breadcrumbs/core/Carbon_Breadcrumb_Item_DB_Object.php:7
- > PHP Fatal error
Uncaught Error: Class 'WP_UnitTestCase' not found in wp-content/plugins/carbon-breadcrumbs/tests/unit-tests/Carbon_Breadcrumb_Item_Term/CarbonBreadcrumbItemTermSetupTest.php:5
- > PHP Fatal error
Uncaught Error: Class 'WP_UnitTestCase' not found in wp-content/plugins/carbon-breadcrumbs/tests/unit-tests/Carbon_Breadcrumb_Item_Renderer/CarbonBreadcrumbItemRendererGetItemLinkTest.php:5
- > PHP Fatal error
Uncaught Error: Class 'WP_UnitTestCase' not found in wp-content/plugins/carbon-breadcrumbs/tests/unit-tests/Carbon_Breadcrumb_Admin/CarbonBreadcrumbAdminApplySettingsTest.php:5
- > PHP Fatal error
Uncaught Error: Class 'WP_UnitTestCase' not found in wp-content/plugins/carbon-breadcrumbs/tests/unit-tests/Carbon_Breadcrumb_Item/CarbonBreadcrumbItemGetSetSubtypeTest.php:5
- > PHP Fatal error
Uncaught Error: Class 'WP_UnitTestCase' not found in wp-content/plugins/carbon-breadcrumbs/tests/unit-tests/Carbon_Breadcrumb_Admin/CarbonBreadcrumbAdminRegisterSettingsTest.php:5
- > PHP Fatal error
Uncaught Error: Class 'WP_UnitTestCase' not found in wp-content/plugins/carbon-breadcrumbs/tests/unit-tests/Carbon_Breadcrumb_Item_Renderer/CarbonBreadcrumbItemRendererRenderLinkAfterTest.php:5
- > PHP Fatal error
Uncaught Error: Class 'WP_UnitTestCase' not found in wp-content/plugins/carbon-breadcrumbs/tests/unit-tests/Carbon_Breadcrumb_Item_Renderer/CarbonBreadcrumbItemRendererConstructTest.php:5
- > PHP Fatal error
Uncaught Error: Class 'WP_UnitTestCase' not found in wp-content/plugins/carbon-breadcrumbs/tests/unit-tests/Carbon_Breadcrumb_Item_Custom/CarbonBreadcrumbItemCustomSetupTest.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/carbon-breadcrumbs/core/Carbon_Breadcrumb_L10n.php:17
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that require attention:
- Tags: Please delete some tags, you are using 14 tag instead of maximum 10
carbon-breadcrumbs/carbon-breadcrumbs.php 92% from 13 tests
The main file in "Carbon Breadcrumbs" v. 1.0.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Text Domain: Please use dashes and lowercase characters for text domains
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
There were no executable files found in this plugin5,374 lines of code in 158 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 150 | 1,493 | 2,771 | 4,889 |
Markdown | 2 | 142 | 0 | 265 |
PO File | 1 | 27 | 28 | 79 |
Bourne Shell | 1 | 19 | 19 | 60 |
YAML | 2 | 9 | 0 | 48 |
JSON | 1 | 0 | 0 | 18 |
XML | 1 | 0 | 0 | 15 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.05 |
Average class complexity | 1.74 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 20.00 |
Average method complexity | 1.16 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 150 | |
▷ Abstract classes | 5 | 3.33% |
▷ Concrete classes | 145 | 96.67% |
▷ Final classes | 0 | 0.00% |
Methods | 685 | |
▷ Static methods | 9 | 1.31% |
▷ Public methods | 683 | 99.71% |
▷ Protected methods | 1 | 0.15% |
▷ Private methods | 1 | 0.15% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected