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 successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.27MB] [CPU: ▲2.99ms] Passed 4 tests
This is a short check of server-side resources used by Slim Slider
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.76 ▲0.30 | 42.15 ▼0.88 |
Dashboard /wp-admin | 3.60 ▲0.30 | 46.50 ▲2.50 |
Posts /wp-admin/edit.php | 3.65 ▲0.29 | 46.52 ▲2.44 |
Add New Post /wp-admin/post-new.php | 6.12 ▲0.24 | 93.28 ▲11.08 |
Media Library /wp-admin/upload.php | 3.46 ▲0.23 | 40.39 ▲7.88 |
Get Started /wp-admin/edit.php?post_type=slimslide&page=slim-slider-getting-started | 3.43 | 31.25 |
All Slides /wp-admin/edit.php?post_type=slimslide | 3.56 | 38.62 |
All Sliders /wp-admin/edit.php?post_type=slslider | 3.56 | 36.29 |
Add New /wp-admin/post-new.php?post_type=slslider | 3.59 | 42.32 |
Add New /wp-admin/post-new.php?post_type=slimslide | 3.67 | 46.82 |
Server storage [IO: ▲0.35MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 67 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Slim Slider
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,864 ▲129 | 14.45 ▼0.22 | 1.75 ▲0.16 | 44.13 ▼3.63 |
Dashboard /wp-admin | 2,267 ▲76 | 5.89 ▲0.04 | 107.43 ▼5.98 | 42.55 ▼5.90 |
Posts /wp-admin/edit.php | 2,147 ▲58 | 2.01 ▲0.01 | 40.17 ▼1.71 | 35.84 ▼2.06 |
Add New Post /wp-admin/post-new.php | 1,563 ▲21 | 17.57 ▼0.67 | 650.51 ▲34.07 | 55.92 ▼6.83 |
Media Library /wp-admin/upload.php | 1,449 ▲58 | 4.17 ▼0.03 | 95.62 ▼7.88 | 42.82 ▼3.73 |
Get Started /wp-admin/edit.php?post_type=slimslide&page=slim-slider-getting-started | 1,068 | 2.02 | 24.12 | 50.38 |
All Slides /wp-admin/edit.php?post_type=slimslide | 1,102 | 1.94 | 36.11 | 26.12 |
All Sliders /wp-admin/edit.php?post_type=slslider | 1,111 | 2.00 | 32.48 | 28.82 |
Add New /wp-admin/post-new.php?post_type=slslider | 1,504 | 2.53 | 49.60 | 58.79 |
Add New /wp-admin/post-new.php?post_type=slimslide | 1,767 | 3.83 | 60.82 | 31.69 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
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
Almost there! Just fix the following items
- 4× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/slim-slider/vendor/devuri/wp-admin-page/src/example/sample-plugin/src/Admin/pages/my-plugin/my-plugin-slug.admin.php
- > /wp-content/plugins/slim-slider/vendor/devuri/wp-admin-page/src/example/sample-plugin/src/Admin/pages/my-plugin/menu-two.admin.php
- > /wp-content/plugins/slim-slider/vendor/devuri/wp-admin-page/src/example/sample-plugin/src/Admin/pages/my-plugin/etc.admin.php
- > /wp-content/plugins/slim-slider/vendor/devuri/wp-admin-page/src/example/sample-plugin/src/Admin/pages/my-plugin/my-plugin.admin.php
- 9× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'DevUri\\Meta\\Settings' not found in wp-content/plugins/slim-slider/src/MetaView/Slide.php:7
- > PHP Fatal error
Uncaught Error: Class 'DevUri\\Meta\\Settings' not found in wp-content/plugins/slim-slider/src/MetaView/Sliders.php:7
- > PHP Fatal error
Uncaught Error: Interface 'SlimSlider\\EasyAdmin\\AdminPageInterface' not found in wp-content/plugins/slim-slider/src/EasyAdmin/AdminPage.php:5
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/slim-slider/vendor/devuri/wp-admin-page/src/pages/footer.admin.php:8
- > PHP Fatal error
Uncaught Error: Class 'SlimSlider\\EasyAdmin\\AdminPage' not found in wp-content/plugins/slim-slider/src/Admin/GetStarted.php:7
- > PHP Fatal error
Trait 'DevUri\\Meta\\Traits\\Form' not found in wp-content/plugins/slim-slider/vendor/devuri/cpt-meta-box/src/MetaBox.php on line 10
- > PHP Fatal error
Trait 'SlimSlider\\Asset' not found in wp-content/plugins/slim-slider/src/Slides.php on line 7
- > PHP Fatal error
Uncaught Error: Interface 'DevUri\\Meta\\Contracts\\SettingsInterface' not found in wp-content/plugins/slim-slider/vendor/devuri/cpt-meta-box/src/Settings.php:10
- > PHP Fatal error
Uncaught Error: Class 'WPAdminPage\\AdminPage' not found in wp-content/plugins/slim-slider/vendor/devuri/wp-admin-page/src/example/sample-plugin/src/Admin/MyPluginAdmin.php:5
- > 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)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that need to be fixed:
- Screenshots: Screenshot #1 (...) image missing
slim-slider/wp-slim-slider.php 77% from 13 tests
The entry point to "Slim Slider" version 0.20.01 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("slim-slider.php" instead of "wp-slim-slider.php")
- Domain Path: Note that the domain path follows the same naming rules as the domain name, using only dashes and lowercase characters ("languages")
- Domain Path: Please prefix the domain path with a forward slash character ("/languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin7,627 lines of code in 60 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 4 | 7 | 26 | 4,671 |
PHP | 43 | 510 | 1,540 | 2,471 |
CSS | 2 | 18 | 5 | 150 |
SVG | 6 | 2 | 6 | 118 |
JSON | 1 | 0 | 0 | 117 |
Markdown | 1 | 35 | 0 | 97 |
HTML | 3 | 0 | 0 | 3 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 7.30 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 2.12 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 11 | |
Interfaces | 2 | |
Traits | 6 | |
Classes | 22 | |
▷ Abstract classes | 3 | 13.64% |
▷ Concrete classes | 19 | 86.36% |
▷ Final classes | 6 | 31.58% |
Methods | 178 | |
▷ Static methods | 51 | 28.65% |
▷ Public methods | 159 | 89.33% |
▷ Protected methods | 12 | 6.74% |
▷ Private methods | 7 | 3.93% |
Functions | 7 | |
▷ Named functions | 2 | 28.57% |
▷ Anonymous functions | 5 | 71.43% |
Constants | 8 | |
▷ Global constants | 5 | 62.50% |
▷ Class constants | 3 | 37.50% |
▷ Public constants | 3 | 100.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 were not PNG files found in your plugin