Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▼1.72MB] [CPU: ▼45.43ms] Passed 4 tests
An overview of server-side resources used by Banner System
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.27 ▼1.19 | 8.22 ▼26.10 |
Dashboard /wp-admin | 2.28 ▼1.02 | 11.11 ▼36.12 |
Posts /wp-admin/edit.php | 2.28 ▼1.07 | 11.49 ▼35.92 |
Add New Post /wp-admin/post-new.php | 2.28 ▼3.60 | 10.86 ▼83.58 |
Media Library /wp-admin/upload.php | 2.28 ▼0.94 | 10.76 ▼21.80 |
Server storage [IO: ▲0.62MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 32 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Banner System
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,953 ▲207 | 13.72 ▼0.59 | 5.90 ▲4.19 | 40.90 ▼5.35 |
Dashboard /wp-admin | 2,248 ▲60 | 5.11 ▲0.00 | 104.41 ▼6.23 | 77.34 ▲32.16 |
Posts /wp-admin/edit.php | 2,134 ▲42 | 2.04 ▲0.02 | 38.57 ▼0.79 | 33.42 ▼3.08 |
Add New Post /wp-admin/post-new.php | 1,564 ▲22 | 18.77 ▲0.47 | 670.10 ▲22.14 | 68.81 ▲12.15 |
Media Library /wp-admin/upload.php | 1,433 ▲42 | 4.12 ▼0.05 | 114.59 ▲11.97 | 45.16 ▼2.70 |
Configuración /wp-admin/admin.php?page=config-Banner System | 848 | 2.04 | 24.69 | 34.26 |
Membresia /wp-admin/admin.php?page=configmember-Banner System | 825 | 2.09 | 25.88 | 32.69 |
Ayuda /wp-admin/admin.php?page=confighelp-Banner System | 923 | 2.03 | 23.35 | 31.90 |
Banners /wp-admin/admin.php?page=configbanners-Banner System | 936 | 2.05 | 24.86 | 34.25 |
Flow /wp-admin/admin.php?page=configflow-Banner System | 1,101 | 2.12 | 26.48 | 26.06 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- Uninstall procedure had uncaught errors
- > User deprecated in wp-includes/functions.php+5453
Function get_page_by_title is deprecated since version 6.2.0! Use WP_Query instead.
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
Smoke tests Passed 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 Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 86% 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
Attributes that require attention:
- Tags: There are too many tags (11 tag instead of maximum 10)
banner-system/bannersystem.php 77% from 13 tests
This is the main PHP file of "Banner System" version 1.0.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
- Domain Path: The domain path points to a folder that does not exist ("/languages/")
- Main file name: The principal plugin file should be the same as the plugin slug ("banner-system.php" instead of "bannersystem.php")
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin2,342 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 263 | 222 | 1,809 |
JavaScript | 2 | 31 | 0 | 511 |
CSS | 1 | 1 | 0 | 22 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 30.82 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 99.00 |
Average method complexity | 5.90 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 53.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 11 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 67 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 58 | 86.57% |
▷ Protected methods | 2 | 2.99% |
▷ Private methods | 7 | 10.45% |
Functions | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
7 PNG files occupy 0.32MB with 0.13MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/screenshot-1.png | 10.44KB | 5.26KB | ▼ 49.59% |
icon.png | 1.72KB | 1.61KB | ▼ 6.25% |
assets/img/movil_banner_bannersystem.png | 7.40KB | 3.67KB | ▼ 50.38% |
assets/img/screenshot-3.png | 35.20KB | 14.72KB | ▼ 58.19% |
assets/img/leaderboard_bannersystem.png | 3.01KB | 1.56KB | ▼ 48.17% |