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.02MB] [CPU: ▼11.58ms] Passed 4 tests
Analyzing server-side resources used by Aboozé Slideshow
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.39 ▼0.07 | 24.59 ▼16.89 |
Dashboard /wp-admin | 3.32 ▼0.03 | 50.42 ▼14.58 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 49.29 ▼3.24 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 96.17 ▼11.61 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 39.07 ▲3.28 |
Aboozé Slideshow /wp-admin/upload.php?page=abooze-slideshow | 3.18 | 32.87 |
Server storage [IO: ▲0.52MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Aboozé Slideshow: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,853 ▲92 | 13.22 ▼1.18 | 2.16 ▲0.29 | 44.14 ▼0.81 |
Dashboard /wp-admin | 2,228 ▲25 | 5.85 ▼0.06 | 96.52 ▼9.22 | 39.64 ▼4.95 |
Posts /wp-admin/edit.php | 2,104 ▲7 | 2.04 ▲0.02 | 40.32 ▲2.47 | 36.86 ▲1.68 |
Add New Post /wp-admin/post-new.php | 1,558 ▲27 | 18.15 ▼5.43 | 634.46 ▼7.75 | 48.64 ▼5.69 |
Media Library /wp-admin/upload.php | 1,404 ▲10 | 4.22 ▲0.06 | 97.66 ▼4.79 | 43.74 ▼3.98 |
Aboozé Slideshow /wp-admin/upload.php?page=abooze-slideshow | 904 | 2.05 | 23.48 | 33.30 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These errors were triggered by the plugin
- > GET request to /wp-admin/upload.php?page=abooze-slideshow
- > Notice in wp-content/plugins/abooze-slideshow/abooze-home-slider.php+46
Undefined index: action
- 3 occurences, only the last one shown
- > GET request to /wp-admin/upload.php?page=abooze-slideshow
- > Notice in wp-content/plugins/abooze-slideshow/abooze-home-slider.php+142
Trying to access array offset on value of type bool
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
Almost there! Just fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/abooze-slideshow/abooze-home-slider.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need your attention:
- Screenshots: These screenshots require images: #1 (Screenshot of admin page.), #2 (Front end view of the slideshow)
- Plugin Name: Please specify the plugin name on the first line (
=== abooze-slideshow ===
)
abooze-slideshow/abooze-home-slider.php 85% from 13 tests
The main PHP file in "Aboozé Slideshow" ver. 3.2 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
- Description: Keep the plugin description shorter than 140 characters (currently 247 characters long)
- Main file name: The principal plugin file should be the same as the plugin slug ("abooze-slideshow.php" instead of "abooze-home-slider.php")
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
There were no executable files found in this plugin369 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 7 | 60 | 367 |
JavaScript | 1 | 0 | 19 | 2 |
PHP code Passed 2 tests
This is a short overview 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.18 |
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 | 16 | |
▷ Named functions | 16 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
2 PNG files occupy 0.47MB with 0.28MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 101.10KB | 40.99KB | ▼ 59.46% |
screenshot-2.png | 380.18KB | 155.85KB | ▼ 59.01% |