Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▼0.03MB] [CPU: ▼302.47ms] 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.47 ▼0.04 | 49.79 ▼2.59 |
Dashboard /wp-admin | 3.43 ▲0.02 | 32.91 ▼2.36 |
Posts /wp-admin/edit.php | 3.65 ▲0.01 | 36.25 ▼0.43 |
Add New Post /wp-admin/post-new.php | 6.90 ▼0.07 | 98.01 ▼1,201.51 |
Media Library /wp-admin/upload.php | 3.30 ▲0.00 | 24.40 ▼3.40 |
Aboozé Slideshow /wp-admin/upload.php?page=abooze-slideshow | 3.25 | 22.00 |
Server storage [IO: ▲0.52MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 5 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for Aboozé Slideshow
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,777 ▲23 | 15.87 ▲0.32 | 6.68 ▲0.43 | 2.16 ▼0.47 |
Dashboard /wp-admin | 2,894 ▲39 | 6.17 ▼0.01 | 118.14 ▼17.03 | 159.26 ▼3.20 |
Posts /wp-admin/edit.php | 2,675 ▼13 | 3.25 ▲0.01 | 62.46 ▼1.25 | 141.08 ▼0.19 |
Add New Post /wp-admin/post-new.php | 1,664 ▼4 | 15.80 ▼2.20 | 406.19 ▲7.73 | 155.70 ▲1.24 |
Media Library /wp-admin/upload.php | 1,703 ▲5 | 5.53 ▼0.01 | 138.43 ▼2.05 | 191.26 ▲1.06 |
Aboozé Slideshow /wp-admin/upload.php?page=abooze-slideshow | 1,144 | 2.38 | 55.41 | 134.87 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Uninstall script ran successfully
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Please fix the following server-side errors
- > 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 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
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > 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 shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
- Plugin Name: Please specify the plugin name on the first line (
=== abooze-slideshow ===
) - Screenshots: These screenshots have no corresponding images in /assets: #1 (Screenshot of admin page.), #2 (Front end view of the slideshow)
abooze-slideshow/abooze-home-slider.php 85% from 13 tests
"Aboozé Slideshow" version 3.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 247 characters long)
- Main file name: Name the main plugin file 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 review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected369 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
A short review of cyclomatic complexity and code structure
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
PNG files should be compressed to save space and minimize bandwidth usage
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-2.png | 380.18KB | 155.85KB | ▼ 59.01% |
screenshot-1.png | 101.10KB | 40.99KB | ▼ 59.46% |