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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.04MB] [CPU: ▼3.38ms] Passed 4 tests
A check of server-side resources used by Vertical Carousel
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 40.68 ▼2.25 |
Dashboard /wp-admin | 3.35 ▲0.04 | 49.25 ▼0.88 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 50.49 ▼1.89 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.05 | 92.63 ▼8.49 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 39.24 ▲6.66 |
Vertical Carousel /wp-admin/edit.php?post_type=vertical-carousel | 3.27 | 35.15 |
Add New Image /wp-admin/post-new.php?post_type=vertical-carousel | 3.33 | 59.64 |
Server storage [IO: ▲0.42MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Vertical Carousel
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,822 ▲61 | 14.37 ▲0.02 | 1.68 ▲0.01 | 43.85 ▼2.36 |
Dashboard /wp-admin | 2,225 ▲48 | 5.52 ▼0.14 | 82.97 ▼16.61 | 42.30 ▼2.70 |
Posts /wp-admin/edit.php | 2,130 ▲30 | 2.01 ▼0.01 | 39.16 ▲4.53 | 35.18 ▲0.89 |
Add New Post /wp-admin/post-new.php | 1,561 ▲33 | 17.99 ▼5.22 | 638.53 ▼45.83 | 67.99 ▲13.73 |
Media Library /wp-admin/upload.php | 1,430 ▲30 | 4.19 ▼0.04 | 94.77 ▼5.66 | 43.68 ▼1.21 |
Vertical Carousel /wp-admin/edit.php?post_type=vertical-carousel | 1,094 | 1.97 | 29.95 | 28.65 |
Add New Image /wp-admin/post-new.php?post_type=vertical-carousel | 1,683 | 3.59 | 59.48 | 33.06 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Please fix the following server-side errors
- > GET request to /wp-admin/edit.php?post_type=vertical-carousel
- > Notice in wp-content/plugins/vertical-carousel-slider/wp-vertical-carousel-slider.php+54
Trying to get property 'post_type' of non-object
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
- 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/vertical-carousel-slider/wp-vertical-carousel-slider.php:14
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need your attention:
- Screenshots: These screenshots do not have images: #1 (Back end add carousel image(go to wp-admin->Vertical Carousel->Add New Image.)), #2 (Back end vertical carousel image listing page(go to wp-admin->Vertical Carousel)), #3 (Front end look of vertical carousel slider.)
- Tags: There are too many tags (14 tag instead of maximum 10)
vertical-carousel-slider/wp-vertical-carousel-slider.php 92% from 13 tests
The main PHP script in "Vertical Carousel" version 1.0.2 is automatically included on every request by WordPress
Please take the time to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("vertical-carousel-slider.php" instead of "wp-vertical-carousel-slider.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin214 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 40 | 28 | 147 |
CSS | 1 | 22 | 3 | 61 |
JavaScript | 1 | 1 | 14 | 6 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There were no cyclomatic complexity issued 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 | 8 | |
▷ Named functions | 8 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
5 PNG files occupy 0.40MB with 0.29MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-3.png | 175.55KB | 39.99KB | ▼ 77.22% |
screenshot-1.png | 28.29KB | 16.83KB | ▼ 40.52% |
img/next.png | 3.23KB | 0.42KB | ▼ 87.06% |
img/prev.png | 3.22KB | 0.41KB | ▼ 87.13% |
screenshot-2.png | 194.52KB | 50.35KB | ▼ 74.12% |