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.05MB] [CPU: ▼7.44ms] Passed 4 tests
Analyzing server-side resources used by Vertically Client Carousel
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.06 | 43.26 ▼3.07 |
Dashboard /wp-admin | 3.38 ▲0.03 | 49.03 ▼16.79 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 50.61 ▲0.18 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 91.72 ▼10.06 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 39.69 ▲5.14 |
All Clients /wp-admin/edit.php?post_type=vertically_client | 3.34 | 36.76 |
About Us /wp-admin/edit.php?post_type=vertically_client&page=about-us | 3.26 | 37.79 |
Carousel Setting /wp-admin/edit.php?post_type=vertically_client&page=carousel-page-setting | 3.27 | 33.87 |
Add New Client /wp-admin/post-new.php?post_type=vertically_client | 3.36 | 49.42 |
Server storage [IO: ▲0.30MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Vertically Client Carousel
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,867 ▲121 | 14.36 ▼0.20 | 2.70 ▲0.78 | 45.40 ▲2.50 |
Dashboard /wp-admin | 2,241 ▲67 | 5.58 ▲0.00 | 84.82 ▲0.05 | 42.90 ▲3.15 |
Posts /wp-admin/edit.php | 2,155 ▲55 | 1.98 ▲0.01 | 39.51 ▼2.05 | 36.65 ▼1.56 |
Add New Post /wp-admin/post-new.php | 1,575 ▲40 | 18.15 ▼0.10 | 610.91 ▼31.43 | 72.46 ▲6.02 |
Media Library /wp-admin/upload.php | 1,443 ▲43 | 4.14 ▼0.06 | 101.47 ▼2.55 | 45.36 ▲1.36 |
All Clients /wp-admin/edit.php?post_type=vertically_client | 1,127 | 1.97 | 32.86 | 30.40 |
About Us /wp-admin/edit.php?post_type=vertically_client&page=about-us | 853 | 2.03 | 25.97 | 34.33 |
Carousel Setting /wp-admin/edit.php?post_type=vertically_client&page=carousel-page-setting | 873 | 2.00 | 25.35 | 29.97 |
Add New Client /wp-admin/post-new.php?post_type=vertically_client | 1,654 | 3.56 | 62.76 | 33.66 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Please fix the following server-side errors
- > GET request to /wp-admin/edit.php?post_type=vertically_client&page=carousel-page-setting
- > Notice in wp-content/plugins/vertically-client-carousel/pages/carousel-page-setting.php+14
Undefined index: add_opt_submit
- > GET request to /wp-admin/edit.php?post_type=vertically_client&page=carousel-page-setting
- > Notice in wp-content/plugins/vertically-client-carousel/pages/carousel-page-setting.php+34
Undefined variable: message
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/vertically-client-carousel/pages/about-us.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% 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 require attention:
- Screenshots: These screenshots require images: #1 (Back end client carousel setting), #2 (Back end Add New Client), #3 (Front end slider look)
- Tags: Please delete some tags, you are using 11 tag instead of maximum 10
vertically-client-carousel/cb-vertically-client-carousel.php 92% from 13 tests
The main PHP script in "Vertically Client Carousel" version 1.0.0 is automatically included on every request by WordPress
It is important to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("vertically-client-carousel.php" instead of "cb-vertically-client-carousel.php")
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
Everything looks great! No dangerous files found in this plugin607 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 57 | 43 | 271 |
JavaScript | 1 | 52 | 21 | 208 |
CSS | 2 | 33 | 11 | 128 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
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 | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
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-3.png | 198.61KB | 47.49KB | ▼ 76.09% |
screenshot-2.png | 37.50KB | 17.98KB | ▼ 52.06% |
screenshot-1.png | 36.21KB | 16.44KB | ▼ 54.60% |