Benchmarks
Plugin footprint 83% 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: ▲0.11MB] [CPU: ▲0.42ms] Passed 4 tests
This is a short check of server-side resources used by Welcome Bar
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.12 | 51.39 ▲4.08 |
Dashboard /wp-admin | 3.47 ▲0.17 | 106.18 ▲55.18 |
Posts /wp-admin/edit.php | 3.51 ▲0.15 | 53.15 ▼2.32 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.09 | 98.07 ▲3.75 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 38.44 ▼3.83 |
Welcome Bar /wp-admin/options-general.php?page=intelly-welcome-bar | 3.33 | 49.67 |
Server storage [IO: ▲3.50MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 178 new files
Database: no new tables, 14 new options
New WordPress options |
---|
widget_recent-comments |
IWB_TrackingEnable |
can_compress_scripts |
IWB_PluginSettings |
widget_theysaidso_widget |
IWB_PluginInstallDate[intelly-welcome-bar] |
db_upgraded |
IWB_PluginUpdateDate[intelly-welcome-bar] |
theysaidso_admin_options |
IWB_ShowActivationNotice |
... |
Browser metrics Passed 4 tests
Checking browser requirements for Welcome Bar
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,910 ▲85 | 13.58 ▼0.83 | 8.17 ▲6.01 | 39.85 ▼4.66 |
Dashboard /wp-admin | 2,213 ▲10 | 4.87 ▲0.02 | 109.65 ▼1.53 | 39.82 ▼4.72 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.00 ▼0.01 | 40.61 ▼1.54 | 35.52 ▼0.23 |
Add New Post /wp-admin/post-new.php | 1,536 ▼7 | 23.14 ▲0.26 | 701.51 ▲8.61 | 59.37 ▼5.71 |
Media Library /wp-admin/upload.php | 1,395 ▲4 | 4.20 ▲0.01 | 98.12 ▼3.73 | 41.39 ▼2.70 |
Welcome Bar /wp-admin/options-general.php?page=intelly-welcome-bar | 1,475 | 6.01 | 125.06 | 81.61 |
Uninstaller [IO: ✅] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- Zombie WordPress options were found after uninstall: 15 options
- IWB_Active
- IWB_PluginFirstInstall
- IWB_PluginInstallDate[intelly-welcome-bar]
- widget_recent-posts
- IWB_ShowWhatsNew
- widget_theysaidso_widget
- theysaidso_admin_options
- IWB_TrackingLastSend[intelly-welcome-bar]
- db_upgraded
- IWB_PluginSettings
- ...
Smoke tests 75% 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 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 7× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'IWB_Options' not found in wp-content/plugins/intelly-welcome-bar/includes/classes/utils/PluginOptions.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/intelly-welcome-bar/includes/classes/session/session.php:78
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/intelly-welcome-bar/includes/install.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/intelly-welcome-bar/includes/core.php:23
- > PHP Fatal error
Uncaught Error: Class 'IWB_Recursive_ArrayAccess' not found in wp-content/plugins/intelly-welcome-bar/includes/classes/session/class-session.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function register_deactivation_hook() in wp-content/plugins/intelly-welcome-bar/includes/uninstall.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/intelly-welcome-bar/index.php:32
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 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
Attributes that require attention:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Welcome Bar manager), #2 (Welcome Bar Builder (part 1)), #3 (Welcome Bar Builder (part 2))
- Tags: There are too many tags (23 tag instead of maximum 10)
intelly-welcome-bar/index.php 92% from 13 tests
The entry point to "Welcome Bar" version 2.0.4 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("intelly-welcome-bar.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected62,033 lines of code in 120 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 13 | 105 | 2,075 | 31,329 |
JavaScript | 59 | 4,534 | 2,394 | 20,773 |
PHP | 34 | 639 | 793 | 8,963 |
Sass | 12 | 169 | 7 | 605 |
SVG | 1 | 0 | 0 | 288 |
HTML | 1 | 38 | 3 | 75 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 74.61 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 586.00 |
Average method complexity | 4.48 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 58.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 23 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 23 | 100.00% |
▷ Final classes | 1 | 4.35% |
Methods | 487 | |
▷ Static methods | 1 | 0.21% |
▷ Public methods | 429 | 88.09% |
▷ Protected methods | 25 | 5.13% |
▷ Private methods | 33 | 6.78% |
Functions | 36 | |
▷ Named functions | 36 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 60 | |
▷ Global constants | 43 | 71.67% |
▷ Class constants | 17 | 28.33% |
▷ Public constants | 17 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
27 PNG files occupy 0.72MB with 0.45MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/simple-arrow.png | 1.26KB | 0.24KB | ▼ 80.72% |
assets/images/accept-tos.png | 95.79KB | 25.60KB | ▼ 73.27% |
screenshot-1.png | 123.09KB | 47.66KB | ▼ 61.28% |
assets/images/select-all.png | 0.68KB | 0.37KB | ▼ 45.45% |
assets/deps/colorpicker/img/bootstrap-colorpicker/alpha-horizontal.png | 3.55KB | 1.62KB | ▼ 54.44% |