Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.02MB] [CPU: ▼173.28ms] Passed 4 tests
A check of server-side resources used by Slidely Slideshows Embed
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.86 ▲0.14 | 36.68 ▲9.79 |
Dashboard /wp-admin | 3.08 ▲0.02 | 41.93 ▼7.19 |
Posts /wp-admin/edit.php | 3.13 ▲0.02 | 45.16 ▲2.43 |
Add New Post /wp-admin/post-new.php | 5.44 ▲0.00 | 87.22 ▼688.25 |
Media Library /wp-admin/upload.php | 3.02 ▲0.02 | 33.21 ▼0.09 |
Server storage [IO: ▲0.83MB] [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: 10 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for Slidely Slideshows Embed
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,679 ▲83 | 15.79 ▼0.23 | 9.53 ▼3.94 | 46.50 ▲0.11 |
Dashboard /wp-admin | 2,973 ▲39 | 5.95 ▼0.02 | 151.31 ▼4.30 | 114.62 ▲2.82 |
Posts /wp-admin/edit.php | 2,739 ▼0 | 2.70 ▼0.02 | 72.10 ▲0.63 | 85.53 ▼0.75 |
Add New Post /wp-admin/post-new.php | 1,500 ▼0 | 18.58 ▼0.17 | 392.61 ▼26.67 | 107.00 ▼1.88 |
Media Library /wp-admin/upload.php | 1,807 ▼0 | 5.02 ▼0.03 | 189.77 ▲30.66 | 119.03 ▲5.80 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
This plugin's uninstaller ran successfully
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Tags: There are too many tags (20 tag instead of maximum 10)
slidely-slideshows-embed/slidely-embed.php 92% from 13 tests
The principal PHP file in "Slidely Slideshows Embed" v. 3.1 is loaded by WordPress automatically on each request
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("slidely-slideshows-embed.php" instead of "slidely-embed.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin83 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 35 | 68 | 83 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.52 |
Average class complexity | 1.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1.00 |
Average method complexity | 1.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 1.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 | 2 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 2 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 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 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
4 PNG files occupy 0.82MB with 0.53MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-3.png | 380.62KB | 124.78KB | ▼ 67.22% |
screenshot-4.png | 35.20KB | 13.36KB | ▼ 62.05% |
screenshot-2.png | 389.98KB | 127.82KB | ▼ 67.22% |
screenshot-1.png | 32.63KB | 12.29KB | ▼ 62.33% |