Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.03MB] [CPU: ▼321.80ms] Passed 4 tests
Server-side resources used by Image Banner Effects Lite
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.09 | 53.42 ▲4.45 |
Dashboard /wp-admin | 3.48 ▲0.06 | 33.57 ▲0.79 |
Posts /wp-admin/edit.php | 3.70 ▲0.06 | 35.79 ▼1.41 |
Add New Post /wp-admin/post-new.php | 6.94 ▼0.04 | 92.76 ▼1,291.04 |
Media Library /wp-admin/upload.php | 3.35 ▲0.05 | 32.06 ▲9.67 |
Server storage [IO: ▲0.60MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 40 new files
Database: 1 new table, no new options
New tables |
---|
wp_ibeffects_layers |
Browser metrics Passed 4 tests
A check of browser resources used by Image Banner Effects Lite
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,898 ▲154 | 16.29 ▲0.34 | 10.53 ▲4.50 | 2.40 ▲0.44 |
Dashboard /wp-admin | 2,912 ▲51 | 6.16 ▼0.05 | 118.46 ▼12.93 | 157.70 ▼0.98 |
Posts /wp-admin/edit.php | 2,708 ▲17 | 3.24 ▲0.00 | 63.93 ▲1.51 | 144.08 ▲8.69 |
Add New Post /wp-admin/post-new.php | 1,773 ▲112 | 22.74 ▲6.51 | 535.63 ▲119.98 | 163.57 ▲6.39 |
Media Library /wp-admin/upload.php | 1,718 ▲20 | 5.56 ▲0.02 | 142.29 ▲0.58 | 184.92 ▼6.06 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- The plugin did not uninstall successfully, leaving 1 table in the database
- wp_ibeffects_layers
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting 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
Almost there! Just fix the following items
- 3× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/image-banner-effects-lite/ajax_handler.php
- > /wp-content/plugins/image-banner-effects-lite/image_banner_effects.php
- > /wp-content/plugins/image-banner-effects-lite/ibeffects.php
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 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
4 plugin tags: images, media, ads, animations
image-banner-effects-lite/image_banner_effects.php 92% from 13 tests
"Image Banner Effects Lite" version 1.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("image-banner-effects-lite.php" instead of "image_banner_effects.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin9,151 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 5 | 469 | 244 | 5,349 |
CSS | 5 | 452 | 120 | 2,587 |
PHP | 4 | 62 | 16 | 986 |
SVG | 1 | 0 | 0 | 229 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 22.33 |
▷ Minimum class complexity | 14.00 |
▷ Maximum class complexity | 31.00 |
Average method complexity | 3.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 27.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 24 | |
▷ Static methods | 15 | 62.50% |
▷ Public methods | 24 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
15 PNG files occupy 0.04MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
css/images/ui-icons_888888_256x240.png | 6.83KB | 4.17KB | ▼ 38.92% |
images/transparentback.png | 1.51KB | 0.17KB | ▼ 88.56% |
css/images/ui-bg_flat_0_aaaaaa_40x100.png | 0.21KB | 0.08KB | ▼ 58.96% |
images/checked.png | 3.01KB | 0.31KB | ▼ 89.65% |
css/images/ui-icons_2e83ff_256x240.png | 4.44KB | 4.17KB | ▼ 6.02% |