Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼8.84ms] Passed 4 tests
A check of server-side resources used by WP Horizontal Slider
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 36.48 ▼3.82 |
Dashboard /wp-admin | 3.32 ▼0.02 | 48.24 ▼19.12 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 52.33 ▼0.37 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 89.07 ▼11.73 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 35.92 ▼0.68 |
WP Horizontal Slider /wp-admin/options-general.php?page=wphs_menu | 3.22 | 30.52 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 8 new options
New WordPress options |
---|
wphs_post_type |
wphs_category |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for WP Horizontal Slider
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,909 ▲148 | 13.88 ▼0.70 | 9.16 ▲7.40 | 41.50 ▲0.04 |
Dashboard /wp-admin | 2,203 ▲26 | 5.60 ▼0.08 | 84.96 ▼13.60 | 39.07 ▼4.01 |
Posts /wp-admin/edit.php | 2,111 ▲11 | 2.04 ▲0.05 | 39.46 ▼1.29 | 35.82 ▼2.17 |
Add New Post /wp-admin/post-new.php | 1,533 ▲7 | 23.24 ▲5.68 | 662.87 ▼29.44 | 56.79 ▲0.27 |
Media Library /wp-admin/upload.php | 1,411 ▲11 | 4.27 ▲0.03 | 101.82 ▼16.96 | 42.59 ▼6.79 |
WP Horizontal Slider /wp-admin/options-general.php?page=wphs_menu | 833 | 2.07 | 24.42 | 26.76 |
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
You still need to fix the following
- Zombie WordPress options were found after uninstall: 8 options
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- wphs_post_type
- widget_recent-posts
- can_compress_scripts
- wphs_category
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Almost there! Just fix the following items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_theme_support() in wp-content/plugins/wp-horizontal-slider/wp-horizontal-slider.php:10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== wp-horizontal-slider ===
)
wp-horizontal-slider/wp-horizontal-slider.php Passed 13 tests
"WP Horizontal Slider" version 2.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
76 characters long description:
A plugin that allows you to show the featured images of the available posts.
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 detected148 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 22 | 8 | 86 |
JavaScript | 1 | 10 | 7 | 54 |
CSS | 1 | 2 | 11 | 8 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.13 |
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 | 6 | |
▷ Named functions | 6 | 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
PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin