Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.40MB] [CPU: ▲2.13ms] Passed 4 tests
This is a short check of server-side resources used by Best Logo Slider
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.73 ▲0.27 | 49.43 ▲1.73 |
Dashboard /wp-admin | 3.80 ▲0.50 | 49.45 ▼2.32 |
Posts /wp-admin/edit.php | 3.82 ▲0.46 | 53.66 ▲8.30 |
Add New Post /wp-admin/post-new.php | 6.33 ▲0.44 | 101.90 ▲3.19 |
Media Library /wp-admin/upload.php | 3.66 ▲0.43 | 38.18 ▲5.90 |
Clients /wp-admin/edit.php?post_type=client | 3.77 | 37.39 |
Add New Client /wp-admin/post-new.php?post_type=client | 3.98 | 47.64 |
Server storage [IO: ▲2.69MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 364 new files
Database: no new tables, 7 new options
New WordPress options |
---|
recovery_mode_email_last_sent |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Best Logo Slider
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,957 ▲211 | 13.71 ▼0.58 | 9.02 ▲6.86 | 42.77 ▼1.44 |
Dashboard /wp-admin | 2,244 ▲53 | 4.95 ▲0.12 | 112.81 ▲3.76 | 43.30 ▼0.94 |
Posts /wp-admin/edit.php | 2,127 ▲41 | 2.11 ▲0.11 | 40.82 ▲3.09 | 33.79 ▼3.59 |
Add New Post /wp-admin/post-new.php | 1,548 ▲28 | 23.39 ▲0.32 | 619.23 ▼69.54 | 58.75 ▲5.59 |
Media Library /wp-admin/upload.php | 1,426 ▲41 | 4.26 ▲0.02 | 97.85 ▼2.88 | 40.52 ▼2.37 |
Clients /wp-admin/edit.php?post_type=client | 1,100 | 1.99 | 40.11 | 29.52 |
Add New Client /wp-admin/post-new.php?post_type=client | 1,267 | 1.53 | 6.40 | 30.11 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 7 options
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- recovery_mode_email_last_sent
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Please fix the following server-side errors
- > GET request to /wp-admin/post-new.php?post_type=client
- > Compile error in wp-content/plugins/best-clients-logo-slider/inc/meta-box/lib/includes/types/CMB2_Type_File.php+15
Declaration of CMB2_Type_File::render() must be compatible with CMB2_Type_Text::render($args = Array)
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 40× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Text' not found in wp-content/plugins/best-clients-logo-slider/inc/meta-box/lib/includes/types/CMB2_Type_File_Base.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Text' not found in wp-content/plugins/best-clients-logo-slider/inc/meta-box/lib/includes/types/CMB2_Type_Checkbox.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Base' not found in wp-content/plugins/best-clients-logo-slider/inc/meta-box/lib/includes/types/CMB2_Type_Textarea.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Taxonomy_Base' not found in wp-content/plugins/best-clients-logo-slider/inc/meta-box/lib/includes/types/CMB2_Type_Taxonomy_Select.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Select' not found in wp-content/plugins/best-clients-logo-slider/inc/meta-box/lib/includes/types/CMB2_Type_Select_Timezone.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Picker_Base' not found in wp-content/plugins/best-clients-logo-slider/inc/meta-box/lib/includes/types/CMB2_Type_Text_Datetime_Timestamp.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/best-clients-logo-slider/inc/meta-box/lib/init.php:120
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Base' not found in wp-content/plugins/best-clients-logo-slider/inc/meta-box/lib/includes/CMB2_Field.php:17
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Textarea' not found in wp-content/plugins/best-clients-logo-slider/inc/meta-box/lib/includes/types/CMB2_Type_Textarea_Code.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/best-clients-logo-slider/inc/meta-box/lib/includes/helper-functions.php:120
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Screenshots: These screenshots require images: #1 (This screenshot shows example of Carousel logo slider screenshot-1.png), #2 (This is the second screenshot of grid logo.)
best-clients-logo-slider/best-logo-slider.php 92% from 13 tests
The principal PHP file in "Best Logo Slider" v. 1.0 is loaded by WordPress automatically on each request
It is important to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("best-clients-logo-slider.php" instead of "best-logo-slider.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected46,099 lines of code in 216 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 120 | 13,782 | 17,882 | 31,544 |
PHP | 55 | 1,755 | 4,672 | 5,957 |
CSS | 16 | 1,037 | 1,074 | 4,791 |
JavaScript | 8 | 440 | 260 | 2,199 |
Sass | 13 | 238 | 25 | 1,154 |
Markdown | 4 | 162 | 0 | 454 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 16.54 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 141.00 |
Average method complexity | 3.28 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 26.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 63 | |
▷ Abstract classes | 8 | 12.70% |
▷ Concrete classes | 55 | 87.30% |
▷ Final classes | 0 | 0.00% |
Methods | 432 | |
▷ Static methods | 67 | 15.51% |
▷ Public methods | 361 | 83.56% |
▷ Protected methods | 68 | 15.74% |
▷ Private methods | 3 | 0.69% |
Functions | 38 | |
▷ Named functions | 38 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 9 | |
▷ Global constants | 3 | 33.33% |
▷ Class constants | 6 | 66.67% |
▷ Public constants | 6 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
15 compressed PNG files occupy 0.02MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
inc/meta-box/lib/images/ui-icons_454545_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
inc/meta-box/lib/images/ui-icons_888888_256x240.png | 5.23KB | 4.11KB | ▼ 21.49% |
inc/meta-box/lib/images/ui-bg_glass_75_dadada_1x400.png | 0.11KB | 0.16KB | 0.00% |
inc/meta-box/lib/images/ui-bg_glass_95_fef1ec_1x400.png | 0.12KB | 0.14KB | 0.00% |
inc/meta-box/lib/images/ui-icons_2e83ff_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |