Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Please fix the following installer errors
- Install procedure had errors
- > Notice in wp-content/plugins/vertical-client-carousel/vertical-client-carousel.php+11
Constant WP_DEBUG already defined
Server metrics [RAM: ▼1.89MB] [CPU: ▼49.17ms] Passed 4 tests
A check of server-side resources used by Vertical Client Carousel
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.09 ▼1.36 | 5.09 ▼32.83 |
Dashboard /wp-admin | 2.11 ▼1.19 | 9.92 ▼37.43 |
Posts /wp-admin/edit.php | 2.12 ▼1.24 | 5.57 ▼41.92 |
Add New Post /wp-admin/post-new.php | 2.11 ▼3.77 | 6.24 ▼84.50 |
Media Library /wp-admin/upload.php | 2.11 ▼1.11 | 5.98 ▼29.16 |
About Us /wp-admin/edit.php?post_type=vertical_client&page=about-us | 2.12 | 5.65 |
Add New Client /wp-admin/post-new.php?post_type=vertical_client | 2.12 | 6.07 |
Carousel Setting /wp-admin/edit.php?post_type=vertical_client&page=carousel-page-setting | 2.12 | 6.17 |
All Clients /wp-admin/edit.php?post_type=vertical_client | 2.12 | 6.89 |
Server storage [IO: ▲0.30MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Vertical Client Carousel
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,878 ▲143 | 13.36 ▼1.01 | 2.62 ▲0.94 | 43.97 ▲5.39 |
Dashboard /wp-admin | 2,249 ▲61 | 5.83 ▼0.11 | 95.86 ▼9.00 | 37.88 ▼3.16 |
Posts /wp-admin/edit.php | 2,144 ▲55 | 2.02 ▼0.02 | 39.90 ▼0.62 | 36.14 ▲1.44 |
Add New Post /wp-admin/post-new.php | 1,570 ▲34 | 23.28 ▲0.20 | 586.27 ▼72.72 | 57.30 ▼4.25 |
Media Library /wp-admin/upload.php | 1,434 ▲49 | 4.22 ▲0.02 | 96.56 ▼6.51 | 41.54 ▼2.45 |
About Us /wp-admin/edit.php?post_type=vertical_client&page=about-us | 842 | 2.03 | 27.16 | 30.60 |
Add New Client /wp-admin/post-new.php?post_type=vertical_client | 1,684 | 3.60 | 64.10 | 32.83 |
Carousel Setting /wp-admin/edit.php?post_type=vertical_client&page=carousel-page-setting | 881 | 2.06 | 23.68 | 30.54 |
All Clients /wp-admin/edit.php?post_type=vertical_client | 1,116 | 1.95 | 29.66 | 28.22 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- This plugin did not uninstall without warnings or errors
- > Notice in wp-content/plugins/vertical-client-carousel/vertical-client-carousel.php+11
Constant WP_DEBUG already defined
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- 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
Smoke test failed, please fix the following
- 5 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=vertical_client
- > POST request to /wp-admin/admin-ajax.php
- > Notice in wp-content/plugins/vertical-client-carousel/vertical-client-carousel.php+11
Constant WP_DEBUG already defined
- > GET request to /wp-admin/edit.php?post_type=vertical_client&page=carousel-page-setting
- > Notice in wp-content/plugins/vertical-client-carousel/pages/carousel-page-setting.php+13
Undefined index: add_opt_submit
- > GET request to /wp-admin/edit.php?post_type=vertical_client&page=carousel-page-setting
- > Notice in wp-content/plugins/vertical-client-carousel/pages/carousel-page-setting.php+38
Undefined variable: message
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
Almost there! Just fix the following items
- 3× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/vertical-client-carousel/pages/carousel-page-setting.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/vertical-client-carousel/pages/about-us.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/vertical-client-carousel/vertical-client-carousel.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Tags: Too many tags (11 tag instead of maximum 10); only the first 5 tags are used in your directory listing
- Screenshots: These screenshots do not have images: #1 (Back end client carousel setting), #2 (Back end Add New Client), #3 (Front end slider look)
vertical-client-carousel/vertical-client-carousel.php Passed 13 tests
The principal PHP file in "Vertical Client Carousel" v. 1.0.0 is loaded by WordPress automatically on each request
76 characters long description:
This plugin will add vertical client carousel slider in your wordpress site.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin609 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 84 | 42 | 273 |
JavaScript | 1 | 52 | 21 | 208 |
CSS | 2 | 36 | 11 | 128 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 13 | |
▷ Named functions | 13 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
3 PNG files occupy 0.27MB with 0.16MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 37.50KB | 17.98KB | ▼ 52.06% |
screenshot-3.png | 198.61KB | 47.49KB | ▼ 76.09% |
screenshot-1.png | 36.21KB | 16.44KB | ▼ 54.60% |