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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.07MB] [CPU: ▼306.75ms] Passed 4 tests
Server-side resources used by Slideshow Manager
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.12 | 50.19 ▲0.61 |
Dashboard /wp-admin | 3.50 ▲0.10 | 38.31 ▲5.60 |
Posts /wp-admin/edit.php | 3.73 ▲0.09 | 39.92 ▲1.85 |
Add New Post /wp-admin/post-new.php | 6.96 ▼0.00 | 96.47 ▼1,224.71 |
Media Library /wp-admin/upload.php | 3.38 ▲0.08 | 25.61 ▼4.75 |
Server storage [IO: ▲0.34MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 12 new files
Database: no new tables, 1 new option
New WordPress options |
---|
slideshow_option |
Browser metrics Passed 4 tests
Slideshow Manager: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,897 ▲143 | 16.13 ▲0.48 | 8.26 ▲2.41 | 1.93 ▼0.77 |
Dashboard /wp-admin | 2,894 ▲33 | 6.07 ▼0.09 | 119.19 ▼18.21 | 179.81 ▲16.99 |
Posts /wp-admin/edit.php | 2,695 ▲4 | 3.28 ▲0.05 | 83.83 ▲19.27 | 150.37 ▼2.34 |
Add New Post /wp-admin/post-new.php | 1,680 ▲19 | 18.19 ▲1.82 | 392.27 ▼4.02 | 202.10 ▲34.17 |
Media Library /wp-admin/upload.php | 1,712 ▲14 | 5.64 ▲0.09 | 126.45 ▼16.80 | 236.58 ▲57.61 |
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
- This plugin did not uninstall successfully, leaving 1 option in the database
- slideshow_option
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
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 take a closer look at the following
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/slideshow-manager/slideshow.php:32
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/slideshow-manager/slideshow.php on line 29
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need to be fixed:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Backend), #2 (Frontend)
slideshow-manager/slideshow.php 92% from 13 tests
This is the main PHP file of "Slideshow Manager" version 2.1.3, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("slideshow-manager.php" instead of "slideshow.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected759 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 119 | 43 | 519 |
PO File | 2 | 83 | 131 | 205 |
CSS | 1 | 2 | 0 | 34 |
JavaScript | 1 | 1 | 9 | 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.17 |
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 | 15 | |
▷ Named functions | 15 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
2 compressed PNG files occupy 0.00MB
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
coin-slider/nav.png | 1.76KB | 1.83KB | 0.00% |
icon.png | 0.52KB | 0.58KB | 0.00% |