Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.06MB] [CPU: ▼5.51ms] Passed 4 tests
Server-side resources used by Logo Carousel Gutenberg Block
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 37.51 ▼5.27 |
Dashboard /wp-admin | 3.36 ▲0.05 | 45.15 ▼3.87 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 47.08 ▼4.68 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 82.80 ▼8.21 |
Media Library /wp-admin/upload.php | 3.29 ▲0.05 | 40.19 ▲3.72 |
Logo Carousel Block /wp-admin/tools.php?page=aclb-carousel | 3.25 | 30.23 |
Server storage [IO: ▲0.38MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 25 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Logo Carousel Gutenberg Block
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,802 ▲16 | 14.44 ▲0.16 | 2.68 ▲0.88 | 39.71 ▼3.33 |
Dashboard /wp-admin | 2,202 ▲28 | 5.62 ▲0.02 | 80.26 ▼17.64 | 38.96 ▼4.34 |
Posts /wp-admin/edit.php | 2,107 ▲7 | 2.02 ▲0.08 | 35.08 ▼1.79 | 29.67 ▼5.78 |
Add New Post /wp-admin/post-new.php | 6,371 ▲4,845 | 27.95 ▲4.32 | 892.04 ▲192.79 | 66.28 ▲5.21 |
Media Library /wp-admin/upload.php | 1,407 ▲13 | 4.13 ▼0.14 | 92.94 ▼1.12 | 41.49 ▲0.02 |
Logo Carousel Block /wp-admin/tools.php?page=aclb-carousel | 1,411 | 13.21 | 290.22 | 86.50 |
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
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
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 fix the following items
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/awesome-logo-carousel-block/admin/admin.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
- Screenshots: Please add descriptions for these screenshots #3, #4, #5 in awesome-logo-carousel-block/assets to your readme.txt
awesome-logo-carousel-block/plugin.php 85% from 13 tests
"Logo Carousel Gutenberg Block" version 2.0.4's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 199 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("awesome-logo-carousel-block.php" instead of "plugin.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin9,952 lines of code in 22 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 10 | 37 | 37 | 8,770 |
CSS | 6 | 29 | 19 | 814 |
JSON | 1 | 0 | 0 | 140 |
PHP | 3 | 25 | 60 | 115 |
Sass | 2 | 7 | 3 | 113 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
Average class complexity | 3.50 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 5.00 |
Average method complexity | 1.45 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 1 | 50.00% |
Methods | 11 | |
▷ Static methods | 1 | 9.09% |
▷ Public methods | 10 | 90.91% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 9.09% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
No PNG files were detected