Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.04MB] [CPU: ▼8.57ms] Passed 4 tests
A check of server-side resources used by Responsive Vertical Slider
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.04 | 39.19 ▲1.55 |
Dashboard /wp-admin | 3.35 ▲0.04 | 50.38 ▲1.60 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 43.68 ▼0.88 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 90.06 ▼34.07 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 35.13 ▼0.87 |
Add New Slide /wp-admin/post-new.php?post_type=verticalslide | 3.30 | 42.98 |
All Slides /wp-admin/edit.php?post_type=verticalslide | 3.31 | 33.79 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
Responsive Vertical Slider: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,938 ▲192 | 14.03 ▼0.34 | 5.81 ▲4.21 | 36.78 ▼3.39 |
Dashboard /wp-admin | 2,236 ▲45 | 4.85 ▼0.05 | 99.88 ▼18.94 | 40.32 ▼2.04 |
Posts /wp-admin/edit.php | 2,116 ▲27 | 2.06 ▲0.03 | 35.27 ▼1.82 | 32.44 ▼2.85 |
Add New Post /wp-admin/post-new.php | 1,558 ▲30 | 23.49 ▲0.36 | 729.90 ▲97.85 | 49.81 ▼11.05 |
Media Library /wp-admin/upload.php | 1,418 ▲36 | 4.19 ▼0.03 | 118.99 ▲24.20 | 43.83 ▲1.39 |
Add New Slide /wp-admin/post-new.php?post_type=verticalslide | 1,474 | 2.52 | 48.69 | 51.85 |
All Slides /wp-admin/edit.php?post_type=verticalslide | 1,088 | 1.94 | 29.37 | 28.92 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/responsive-vertical-slider/vertical-slide.php
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/responsive-vertical-slider/inc/verticalslide_shortcode.php:43
- > 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 93% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
3 plugin tags: responsive, vertical, slider
responsive-vertical-slider/vertical-slide.php 85% from 13 tests
"Responsive Vertical Slider" version 1.3's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
You should first fix the following items:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("responsive-vertical-slider.php" instead of "vertical-slide.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected246 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 1 | 4 | 1 | 128 |
PHP | 6 | 63 | 51 | 84 |
Markdown | 1 | 3 | 0 | 21 |
JavaScript | 1 | 3 | 0 | 13 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 1.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1.00 |
Average method complexity | 1.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 1.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 5 | |
▷ Static methods | 2 | 40.00% |
▷ Public methods | 5 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
There are no PNG files in this plugin