Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.10MB] [CPU: ▼3.78ms] Passed 4 tests
This is a short check of server-side resources used by Banner Info Effect
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.12 | 42.49 ▲3.32 |
Dashboard /wp-admin | 3.40 ▲0.10 | 47.69 ▼3.25 |
Posts /wp-admin/edit.php | 3.45 ▲0.09 | 56.33 ▲4.94 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.10 | 82.31 ▼19.30 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 36.10 ▲4.11 |
Gallery showcases /wp-admin/edit.php?post_type=bie_gallery_slider&page=responsive_gallery-vss-bar-submenu-page | 3.29 | 31.77 |
Gallery Category /wp-admin/edit-tags.php?taxonomy=responsive_bie_slider-category&post_type=bie_gallery_slider | 3.32 | 34.95 |
Add New /wp-admin/post-new.php?post_type=bie_gallery_slider | 3.44 | 50.53 |
All Images /wp-admin/edit.php?post_type=bie_gallery_slider | 3.37 | 34.37 |
Server storage [IO: ▲0.53MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 56 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Banner Info Effect: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,977 ▲231 | 13.77 ▼0.52 | 9.72 ▲7.82 | 43.35 ▼2.06 |
Dashboard /wp-admin | 2,244 ▲59 | 5.06 ▼0.04 | 104.37 ▼16.03 | 38.46 ▼8.86 |
Posts /wp-admin/edit.php | 2,127 ▲35 | 2.01 ▼0.05 | 32.98 ▼5.52 | 34.02 ▼0.69 |
Add New Post /wp-admin/post-new.php | 1,565 ▲23 | 23.18 ▲4.70 | 647.00 ▲3.88 | 62.43 ▲11.20 |
Media Library /wp-admin/upload.php | 1,420 ▲32 | 4.20 ▲0.00 | 99.68 ▼3.47 | 43.29 ▼0.30 |
Gallery showcases /wp-admin/edit.php?post_type=bie_gallery_slider&page=responsive_gallery-vss-bar-submenu-page | 823 | 2.02 | 22.82 | 26.87 |
Gallery Category /wp-admin/edit-tags.php?taxonomy=responsive_bie_slider-category&post_type=bie_gallery_slider | 1,283 | 2.14 | 26.61 | 27.53 |
Add New /wp-admin/post-new.php?post_type=bie_gallery_slider | 2,328 | 7.74 | 172.64 | 62.45 |
All Images /wp-admin/edit.php?post_type=bie_gallery_slider | 1,105 | 1.93 | 30.50 | 31.16 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
- 3× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/banner-info-effect/bie_gallery_admin_settings_center.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function the_post_thumbnail() in wp-content/plugins/banner-info-effect/designs/template.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/banner-info-effect/banner-info-effect.php:326
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There are user-side issues you should fix
- > GET request to /wp-admin/edit.php?post_type=bie_gallery_slider&page=responsive_gallery-vss-bar-submenu-page
- > Network (severe)
wp-content/plugins/banner-info-effect/images/design-1.jpg - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that require attention:
- Screenshots: Add images for these screenshots: #1 (Designs Views from admin side), #2 (Catagroies shortcode)
banner-info-effect/banner-info-effect.php Passed 13 tests
"Banner Info Effect" version 1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
38 characters long description:
A simple Responsive Banner Info Effect
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 plugin3,833 lines of code in 30 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 18 | 549 | 376 | 2,266 |
CSS | 9 | 247 | 121 | 1,278 |
PHP | 3 | 58 | 25 | 289 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 21.00 |
▷ Minimum class complexity | 21.00 |
▷ Maximum class complexity | 21.00 |
Average method complexity | 2.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.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 | 12 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 12 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
25 PNG files occupy 0.31MB with 0.29MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
themes/dark/images/right-arrow.png | 22.87KB | 0.45KB | ▼ 98.05% |
themes/default-big/images/up-arrow.png | 3.36KB | 0.40KB | ▼ 87.99% |
themes/default/images/down-arrow.png | 3.07KB | 0.29KB | ▼ 90.67% |
themes/light/images/up-arrow.png | 3.31KB | 0.45KB | ▼ 86.45% |
themes/light-big/images/left-arrow.png | 23.34KB | 0.58KB | ▼ 97.53% |