Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.06MB] [CPU: ▼7.58ms] Passed 4 tests
This is a short check of server-side resources used by Wide Banner
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.45 ▼0.01 | 33.34 ▼16.67 |
Dashboard /wp-admin | 3.38 ▲0.08 | 50.58 ▼4.20 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 49.87 ▼4.14 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.10 | 87.03 ▼5.32 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 43.60 ▲6.32 |
New banner /wp-admin/admin.php?page=create_wb | 3.28 | 34.67 |
List of banners /wp-admin/admin.php?page=list-of-banner | 3.27 | 35.14 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 11 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_wb_banner |
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Wide Banner
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,904 ▲143 | 13.48 ▼1.07 | 11.08 ▲9.07 | 38.35 ▼9.64 |
Dashboard /wp-admin | 2,222 ▲45 | 5.55 ▼0.11 | 89.48 ▲4.88 | 42.93 ▲2.37 |
Posts /wp-admin/edit.php | 2,127 ▲24 | 2.03 ▼0.00 | 40.70 ▲4.73 | 36.33 ▲1.11 |
Add New Post /wp-admin/post-new.php | 1,549 ▲20 | 23.25 ▲0.20 | 688.47 ▼12.12 | 54.75 ▼4.53 |
Media Library /wp-admin/upload.php | 1,427 ▲30 | 4.14 ▼0.12 | 106.39 ▼0.56 | 50.13 ▲2.41 |
New banner /wp-admin/admin.php?page=create_wb | 986 | 2.03 | 25.49 | 31.67 |
List of banners /wp-admin/admin.php?page=list-of-banner | 788 | 2.05 | 25.51 | 25.36 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- This plugin cannot be uninstalled
- > Notice in wp-content/plugins/wide-banner/database/database.php+34
Undefined variable: db_table_name2
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/wide-banner/wide-banner.php
- 3× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/wide-banner/views/wide-banner-options.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/wide-banner/views/liste-wb.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wide-banner/include/functions.php:8
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Donate link: Please fix this invalid url: "paypal.me/pluginnplay"
wide-banner/wide-banner.php Passed 13 tests
The principal PHP file in "Wide Banner" v. 1.0.4 is loaded by WordPress automatically on each request
84 characters long description:
Display a banner on your website. Easy, simple and free banner plugin for wordpress.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected480 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 67 | 51 | 364 |
JavaScript | 2 | 11 | 10 | 94 |
CSS | 2 | 1 | 0 | 22 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 4.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 1.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.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 | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.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
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin