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
Install script ran successfully
Server metrics [RAM: ▼0.22MB] [CPU: ▼314.76ms] Passed 4 tests
This is a short check of server-side resources used by EDD Download Images Slider
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.04 | 59.58 ▲3.42 |
Dashboard /wp-admin | 3.45 ▲0.04 | 39.60 ▼25.72 |
Posts /wp-admin/edit.php | 3.67 ▲0.03 | 44.21 ▼0.23 |
Add New Post /wp-admin/post-new.php | 5.99 ▼0.98 | 74.25 ▼1,233.68 |
Media Library /wp-admin/upload.php | 3.33 ▲0.03 | 30.59 ▲0.58 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 1 new option
New WordPress options |
---|
recovery_mode_email_last_sent |
Browser metrics Passed 4 tests
This is an overview of browser requirements for EDD Download Images Slider
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,795 ▲51 | 14.66 ▼1.04 | 5.94 ▼0.96 | 3.34 ▲1.34 |
Dashboard /wp-admin | 2,895 ▲38 | 6.09 ▼0.04 | 114.43 ▼36.01 | 154.25 ▼56.41 |
Posts /wp-admin/edit.php | 2,694 ▲3 | 3.24 ▲0.01 | 63.90 ▼3.25 | 141.84 ▼4.98 |
Add New Post /wp-admin/post-new.php | 45 ▼1,707 | 0.94 ▼20.34 | 0.04 ▼427.98 | 47.47 ▼111.74 |
Media Library /wp-admin/upload.php | 1,701 ▲3 | 5.49 ▼0.03 | 148.41 ▲0.97 | 194.18 ▼18.94 |
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
- Zombie WordPress options were found after uninstall: 1 option
- recovery_mode_email_last_sent
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
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 items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/edd-download-images-slider/edd-download-slider.php:22
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 86% 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
7 plugin tags: e-downloads, images slider, download images slider, edd, additional images slider...
edd-download-images-slider/edd-download-slider.php 69% from 13 tests
This is the main PHP file of "EDD Download Images Slider" version 1.0.5, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
- Domain Path: Prefix the domain path with a forward slash character ("/languages")
- 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 ("edd-download-images-slider.php" instead of "edd-download-slider.php")
- Domain Path: The domain path follows the same naming rules as the domain name, using only dashes and lowercase characters ("languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin227 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 45 | 64 | 148 |
PO File | 2 | 18 | 27 | 63 |
JavaScript | 2 | 3 | 16 | 15 |
CSS | 1 | 0 | 11 | 1 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
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 | 12 | |
▷ Named functions | 12 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There were not PNG files found in your plugin