Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.11MB] [CPU: ▼1.33ms] Passed 4 tests
This is a short check of server-side resources used by Client Logo Carousel - Responsive Logo Image Slider for WordPress
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.05 | 36.73 ▼2.10 |
Dashboard /wp-admin | 3.46 ▲0.16 | 48.46 ▼3.39 |
Posts /wp-admin/edit.php | 3.51 ▲0.15 | 51.32 ▲2.37 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.11 | 99.04 ▼0.39 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 37.96 ▲0.57 |
Add New Carousel /wp-admin/post-new.php?post_type=clc_carousel | 3.82 | 55.87 |
All Carousels /wp-admin/edit.php?post_type=clc_carousel | 3.43 | 41.37 |
Server storage [IO: ▲2.80MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 357 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Client Logo Carousel - Responsive Logo Image Slider for WordPress
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,946 ▲185 | 13.44 ▼0.92 | 8.19 ▲6.57 | 41.16 ▲1.18 |
Dashboard /wp-admin | 2,240 ▲63 | 5.68 ▲0.01 | 95.23 ▼2.27 | 41.26 ▼1.59 |
Posts /wp-admin/edit.php | 2,145 ▲45 | 2.07 ▲0.14 | 41.63 ▲2.60 | 36.77 ▲0.04 |
Add New Post /wp-admin/post-new.php | 1,560 ▲32 | 23.27 ▲0.04 | 640.10 ▼3.29 | 61.07 ▲6.86 |
Media Library /wp-admin/upload.php | 1,439 ▲39 | 4.31 ▲0.13 | 100.12 ▼6.62 | 44.02 ▼2.82 |
Add New Carousel /wp-admin/post-new.php?post_type=clc_carousel | 1,938 | 3.66 | 72.51 | 37.33 |
All Carousels /wp-admin/edit.php?post_type=clc_carousel | 1,123 | 1.96 | 34.29 | 32.86 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
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
Good news, no errors were detected
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 2× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/client-logo-carousel/public/partials/client-logo-carousel-public-display.php
- > /wp-content/plugins/client-logo-carousel/admin/partials/client-logo-carousel-admin-display.php
- 39× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Text' not found in wp-content/plugins/client-logo-carousel/inc/cmb2/includes/types/CMB2_Type_Colorpicker.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_File_Base' not found in wp-content/plugins/client-logo-carousel/inc/cmb2/includes/types/CMB2_Type_File.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Base' not found in wp-content/plugins/client-logo-carousel/inc/cmb2/includes/types/CMB2_Type_Textarea.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Select' not found in wp-content/plugins/client-logo-carousel/inc/cmb2/includes/types/CMB2_Type_Select_Timezone.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/client-logo-carousel/admin/class-client-logo-carousel-metabox.php:24
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Picker_Base' not found in wp-content/plugins/client-logo-carousel/inc/cmb2/includes/types/CMB2_Type_Text_Date.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_File_Base' not found in wp-content/plugins/client-logo-carousel/inc/cmb2/includes/types/CMB2_Type_File_List.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Base' not found in wp-content/plugins/client-logo-carousel/inc/cmb2/includes/types/CMB2_Type_Title.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Textarea' not found in wp-content/plugins/client-logo-carousel/inc/cmb2/includes/types/CMB2_Type_Textarea_Code.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Picker_Base' not found in wp-content/plugins/client-logo-carousel/inc/cmb2/includes/types/CMB2_Type_Text_Datetime_Timestamp.php:13
- > 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 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Please fix the following attributes:
- Tags: Too many tags (44 tag instead of maximum 10); only the first 5 tags are used in your directory listing
- Screenshots: These screenshots lack descriptions #1, #2, #3, #4, #5, #0, #0, #0, #0, #0, #0 in client-logo-carousel/assets to your readme.txt
client-logo-carousel/client-logo-carousel.php 92% from 13 tests
The entry point to "Client Logo Carousel - Responsive Logo Image Slider for WordPress" version 1.0.0 is a PHP file that has certain tags in its header comment area
The following require your attention:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 162 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin46,373 lines of code in 211 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 120 | 14,315 | 18,502 | 32,323 |
PHP | 67 | 2,228 | 6,653 | 7,339 |
CSS | 14 | 1,176 | 1,159 | 4,697 |
JavaScript | 8 | 331 | 553 | 1,382 |
Markdown | 2 | 214 | 0 | 632 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 16.93 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 183.00 |
Average method complexity | 3.15 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 28.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 73 | |
▷ Abstract classes | 8 | 10.96% |
▷ Concrete classes | 65 | 89.04% |
▷ Final classes | 0 | 0.00% |
Methods | 546 | |
▷ Static methods | 88 | 16.12% |
▷ Public methods | 450 | 82.42% |
▷ Protected methods | 88 | 16.12% |
▷ Private methods | 8 | 1.47% |
Functions | 39 | |
▷ Named functions | 39 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 10 | |
▷ Global constants | 4 | 40.00% |
▷ Class constants | 6 | 60.00% |
▷ Public constants | 6 | 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
14 compressed PNG files occupy 0.02MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
inc/cmb2/images/ico-delete.png | 0.70KB | 0.72KB | 0.00% |
inc/cmb2/images/ui-bg_flat_75_ffffff_40x100.png | 0.17KB | 0.08KB | ▼ 51.12% |
inc/cmb2/images/ui-bg_glass_55_fbf9ee_1x400.png | 0.12KB | 0.14KB | 0.00% |
inc/cmb2/images/ui-icons_cd0a0a_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
inc/cmb2/images/ui-bg_glass_95_fef1ec_1x400.png | 0.12KB | 0.14KB | 0.00% |