Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲1.45MB] [CPU: ▲7.69ms] Passed 4 tests
A check of server-side resources used by Brand Carousel
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.96 ▲1.49 | 56.03 ▲19.56 |
Dashboard /wp-admin | 4.76 ▲1.45 | 55.96 ▲7.60 |
Posts /wp-admin/edit.php | 4.81 ▲1.45 | 62.92 ▲19.91 |
Add New Post /wp-admin/post-new.php | 7.36 ▲1.47 | 87.37 ▼6.83 |
Media Library /wp-admin/upload.php | 4.66 ▲1.43 | 44.49 ▲10.41 |
Brands Carousel /wp-admin/edit.php?post_type=rbcs_carousels | 4.73 | 49.36 |
Add New Brand /wp-admin/post-new.php?post_type=rbcs_carousels | 4.71 | 55.09 |
Server storage [IO: ▲3.76MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 582 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Brand Carousel
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,189 ▲443 | 18.87 ▲4.30 | 6.15 ▲4.71 | 41.26 ▼0.14 |
Dashboard /wp-admin | 2,502 ▲321 | 8.95 ▲3.24 | 162.95 ▲64.60 | 41.32 ▼1.02 |
Posts /wp-admin/edit.php | 2,433 ▲333 | 6.20 ▲4.17 | 85.66 ▲47.39 | 34.41 ▲0.35 |
Add New Post /wp-admin/post-new.php | 1,623 ▲95 | 19.83 ▼3.40 | 712.70 ▲52.47 | 36.74 ▼21.26 |
Media Library /wp-admin/upload.php | 1,570 ▲173 | 6.70 ▲2.51 | 104.05 ▲6.24 | 48.99 ▲3.96 |
Brands Carousel /wp-admin/edit.php?post_type=rbcs_carousels | 1,437 | 6.07 | 68.13 | 26.09 |
Carousel Settings /wp-admin/crb_carbon_fields_container_carousel_settings.php | 26 | 0.42 | 0.09 | 13.12 |
Add New Brand /wp-admin/post-new.php?post_type=rbcs_carousels | 1,807 | 6.09 | 87.87 | 31.81 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
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
Please fix the following items
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/brand-carousel/vendor/htmlburger/carbon-fields/templates/Exception/incorrect-syntax.php
- 225× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Field\\Time_Field' not found in wp-content/plugins/brand-carousel/vendor/htmlburger/carbon-fields/core/Field/Date_Time_Field.php:8
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Container\\Container' not found in wp-content/plugins/brand-carousel/vendor/htmlburger/carbon-fields/core/Container/Nav_Menu_Item_Container.php:12
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/brand-carousel/vendor/composer/installers/src/Composer/Installers/KnownInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/brand-carousel/vendor/composer/installers/src/Composer/Installers/MayaInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Field\\Field' not found in wp-content/plugins/brand-carousel/vendor/htmlburger/carbon-fields/core/Field/Association_Field.php:19
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Datastore\\Meta_Datastore' not found in wp-content/plugins/brand-carousel/vendor/htmlburger/carbon-fields/core/Datastore/Post_Meta_Datastore.php:10
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Container\\Condition\\Condition' not found in wp-content/plugins/brand-carousel/vendor/htmlburger/carbon-fields/core/Container/Condition/Post_Parent_ID_Condition.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function get_posts() in wp-content/plugins/brand-carousel/views/brand-carousel.php:5
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/brand-carousel/vendor/composer/installers/src/Composer/Installers/PxcmsInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/brand-carousel/vendor/composer/installers/src/Composer/Installers/TuskInstaller.php:7
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please take a look at the following user-side issues
- > GET request to /wp-admin/crb_carbon_fields_container_carousel_settings.php
- > Network (severe)
wp-admin/crb_carbon_fields_container_carousel_settings.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
5 plugin tags: slide, image carousel, brand, carousel, image
brand-carousel/brand-carousel.php 85% from 13 tests
The principal PHP file in "Brand Carousel" v. 1.0.0 is loaded by WordPress automatically on each request
You should first fix the following items:
- Description: Please don't use more than 140 characters for the plugin description (currently 195 characters long)
- 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 a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin27,216 lines of code in 525 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 259 | 2,970 | 7,271 | 11,337 |
JavaScript | 170 | 2,522 | 4,796 | 8,920 |
PO File | 26 | 819 | 1,020 | 2,202 |
CSS | 10 | 372 | 1,154 | 2,072 |
Sass | 48 | 339 | 0 | 1,769 |
JSON | 5 | 0 | 0 | 712 |
YAML | 3 | 31 | 3 | 123 |
Markdown | 3 | 24 | 0 | 68 |
SVG | 1 | 1 | 0 | 13 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 5.53 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 50.00 |
Average method complexity | 2.05 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 25 | |
Interfaces | 5 | |
Traits | 0 | |
Classes | 230 | |
▷ Abstract classes | 12 | 5.22% |
▷ Concrete classes | 218 | 94.78% |
▷ Final classes | 1 | 0.46% |
Methods | 1,028 | |
▷ Static methods | 105 | 10.21% |
▷ Public methods | 815 | 79.28% |
▷ Protected methods | 201 | 19.55% |
▷ Private methods | 12 | 1.17% |
Functions | 111 | |
▷ Named functions | 23 | 20.72% |
▷ Anonymous functions | 88 | 79.28% |
Constants | 35 | |
▷ Global constants | 8 | 22.86% |
▷ Class constants | 27 | 77.14% |
▷ Public constants | 27 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin