Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼1.58ms] Passed 4 tests
A check of server-side resources used by Sliding Banner - News and Offers
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 38.51 ▲2.62 |
Dashboard /wp-admin | 3.34 ▲0.03 | 50.79 ▲3.31 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 48.61 ▲4.99 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 87.32 ▼17.23 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 40.02 ▲5.04 |
Añadir nuevo /wp-admin/post-new.php?post_type=banners | 3.29 | 45.49 |
Banners /wp-admin/edit.php?post_type=banners | 3.30 | 36.75 |
Sliding Banner /wp-admin/options-general.php?page=sliding-banner | 3.22 | 29.69 |
Server storage [IO: ▲0.06MB] [DB: ▲0.07MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Sliding Banner - News and Offers
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,917 ▲171 | 13.68 ▼1.00 | 10.53 ▲8.62 | 40.48 ▼4.81 |
Dashboard /wp-admin | 2,237 ▲52 | 5.83 ▼0.03 | 98.79 ▼1.34 | 38.80 ▼2.93 |
Posts /wp-admin/edit.php | 2,120 ▲31 | 2.05 ▲0.01 | 39.25 ▲2.15 | 34.23 ▼0.15 |
Add New Post /wp-admin/post-new.php | 1,559 ▲31 | 23.25 ▲5.14 | 677.99 ▲78.23 | 58.22 ▲8.66 |
Media Library /wp-admin/upload.php | 1,422 ▲31 | 4.20 ▲0.01 | 102.36 ▼0.65 | 42.53 ▼3.01 |
Añadir nuevo /wp-admin/post-new.php?post_type=banners | 1,490 | 2.55 | 50.93 | 48.88 |
Banners /wp-admin/edit.php?post_type=banners | 1,084 | 1.96 | 31.12 | 29.78 |
Sliding Banner /wp-admin/options-general.php?page=sliding-banner | 815 | 2.06 | 23.64 | 26.86 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 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 6 options in the database
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
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
Even though everything seems fine, this is not 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 fix the following
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/sliding-banner/sliding-banner.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 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
6 plugin tags: notices, slider, wordpress, woocommerce, banner...
sliding-banner/sliding-banner.php 92% from 13 tests
The main PHP file in "Sliding Banner - News and Offers" ver. 1.0 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected271 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 43 | 22 | 226 |
CSS | 1 | 0 | 0 | 28 |
JavaScript | 1 | 0 | 0 | 17 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
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 | 14 | |
▷ Named functions | 14 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
2 PNG files occupy 0.05MB with 0.03MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-2.png | 14.57KB | 4.22KB | ▼ 71.02% |
assets/screenshot-1.png | 36.48KB | 12.52KB | ▼ 65.67% |