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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼141.67ms] Passed 4 tests
This is a short check of server-side resources used by Easy Slide Show
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.90 ▲0.18 | 42.93 ▲17.47 |
Dashboard /wp-admin | 3.13 ▲0.07 | 52.09 ▼0.47 |
Posts /wp-admin/edit.php | 3.18 ▲0.07 | 50.51 ▼1.22 |
Add New Post /wp-admin/post-new.php | 5.49 ▲0.05 | 99.01 ▼572.45 |
Media Library /wp-admin/upload.php | 3.07 ▲0.07 | 42.62 ▲7.46 |
Add New /wp-admin/post-new.php?post_type=easy-slides | 3.17 | 52.93 |
Easy Slides /wp-admin/edit.php?post_type=easy-slides | 3.11 | 40.53 |
Server storage [IO: ▲0.63MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 18 new files
Database: no new tables, 1 new option
New WordPress options |
---|
widget_easy_slide_show_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Easy Slide Show
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,915 ▲319 | 16.38 ▲0.39 | 20.03 ▲5.74 | 99.27 ▲46.23 |
Dashboard /wp-admin | 3,025 ▲88 | 5.92 ▼0.21 | 161.52 ▼15.84 | 130.18 ▲5.77 |
Posts /wp-admin/edit.php | 2,794 ▲55 | 2.71 ▼0.00 | 73.63 ▲2.02 | 93.33 ▼5.89 |
Add New Post /wp-admin/post-new.php | 1,719 ▲104 | 18.66 ▼2.85 | 438.16 ▲126.03 | 113.81 ▼1.07 |
Media Library /wp-admin/upload.php | 1,862 ▲55 | 5.03 ▲0.00 | 182.17 ▲4.62 | 122.64 ▼0.67 |
Add New /wp-admin/post-new.php?post_type=easy-slides | 2,893 | 9.02 | 251.18 | 156.41 |
Easy Slides /wp-admin/edit.php?post_type=easy-slides | 1,443 | 2.63 | 72.84 | 67.92 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- This plugin does not fully uninstall, leaving 1 option in the database
- widget_easy_slide_show_widget
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 | 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 trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/easy-slide-show/easy-slide-show.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
- Donate link: Invalid URI found ("")
- Screenshots: Screenshot #1 (This is what easy slide show is all about.) image required
easy-slide-show/easy-slide-show.php 92% from 13 tests
The main file in "Easy Slide Show" v. 1.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 345 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin2,663 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 3 | 66 | 72 | 1,792 |
JavaScript | 2 | 5 | 7 | 593 |
PHP | 1 | 22 | 32 | 278 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 7.00 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 2.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 13 | |
▷ Named functions | 13 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 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
4 PNG files occupy 0.04MB with 0.02MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/pagination.png | 1.36KB | 0.58KB | ▼ 57.53% |
images/btns-next-prev.png | 1.82KB | 1.81KB | 0.27% |
images/default-image.png | 34.62KB | 13.68KB | ▼ 60.49% |
images/default-image-small.png | 7.60KB | 2.51KB | ▼ 67.00% |