Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.12MB] [CPU: ▼6.06ms] Passed 4 tests
Server-side resources used by IH Sliders & Showcases
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.12 | 41.71 ▲0.43 |
Dashboard /wp-admin | 3.42 ▲0.12 | 46.99 ▼7.72 |
Posts /wp-admin/edit.php | 3.54 ▲0.18 | 49.55 ▲1.26 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.12 | 86.00 ▼18.22 |
Media Library /wp-admin/upload.php | 3.35 ▲0.12 | 38.20 ▲6.70 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for IH Sliders & Showcases
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲83 | 14.47 ▼0.15 | 1.78 ▲0.01 | 43.03 ▼3.40 |
Dashboard /wp-admin | 2,218 ▲30 | 5.81 ▲0.95 | 108.27 ▼9.96 | 37.80 ▼6.07 |
Posts /wp-admin/edit.php | 2,107 ▲18 | 2.03 ▲0.00 | 41.25 ▲3.28 | 36.83 ▲0.83 |
Add New Post /wp-admin/post-new.php | 1,541 ▲8 | 22.94 ▼0.24 | 653.44 ▲30.91 | 53.24 ▲1.19 |
Media Library /wp-admin/upload.php | 1,403 ▲18 | 4.21 ▲0.04 | 97.32 ▼2.10 | 43.79 ▲0.04 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
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
- 8× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'IHSS' not found in wp-content/plugins/ih-sliders-showcases/sections/parallax.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ih-sliders-showcases/style.php:6
- > PHP Fatal error
Uncaught Error: Class 'IHSS' not found in wp-content/plugins/ih-sliders-showcases/sections/testimonials.php:3
- > PHP Fatal error
Uncaught Error: Class 'IHSS' not found in wp-content/plugins/ih-sliders-showcases/sections/slider.php:3
- > PHP Fatal error
Uncaught Error: Class 'IHSS' not found in wp-content/plugins/ih-sliders-showcases/sections/counters.php:3
- > PHP Fatal error
Uncaught Error: Class 'IHSS' not found in wp-content/plugins/ih-sliders-showcases/sections/showcase.php:3
- > PHP Fatal error
Uncaught Error: Class 'IHSS' not found in wp-content/plugins/ih-sliders-showcases/sections/team.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/ih-sliders-showcases/ih-slider-showcase.php:25
- > 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 90% from 29 tests
readme.txt 88% 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 to be fixed:
- Screenshots: These screenshots need descriptions #1, #2, #3 in ih-sliders-showcases/assets to your readme.txt
- Plugin Name: You should set the name of your plugin on the first line (
=== ih-sliders-showcases ===
)
ih-sliders-showcases/ih-slider-showcase.php 92% from 13 tests
The main PHP file in "IH Sliders & Showcases" ver. 0.9 adds more information about the plugin and also serves as the entry point for this plugin
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 ("ih-sliders-showcases.php" instead of "ih-slider-showcase.php")
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
Success! There were no dangerous files found in this plugin929 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 210 | 32 | 899 |
CSS | 1 | 6 | 0 | 30 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.13 |
Average class complexity | 3.14 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 8.00 |
Average method complexity | 1.79 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 21 | |
▷ Static methods | 2 | 9.52% |
▷ Public methods | 21 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 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
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