Benchmarks
Plugin footprint 65% 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.72MB] [CPU: ▼4.56ms] 75% from 4 tests
This is a short check of server-side resources used by Floating Notification Bar, Sticky Menu on Scroll, Announcement Banner, and Sticky Header for Any Theme - My Sticky Bar (formerly myStickymenu)
It is recommended to improve the following
- CPU: Total CPU usage should be kept under 500.00ms (currently 2,052.06ms on /wp-admin/admin.php?page=msm-recommended-plugins)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.15 ▲0.69 | 42.66 ▲2.98 |
Dashboard /wp-admin | 4.06 ▲0.71 | 49.41 ▼10.91 |
Posts /wp-admin/edit.php | 4.17 ▲0.81 | 52.43 ▲7.41 |
Add New Post /wp-admin/post-new.php | 6.64 ▲0.75 | 86.33 ▼17.06 |
Media Library /wp-admin/upload.php | 3.98 ▲0.75 | 41.49 ▲6.77 |
Sticky menu settings /wp-admin/admin.php?page=my-stickymenu-settings | 3.96 | 35.90 |
+ Create New Bar /wp-admin/admin.php?page=my-stickymenu-new-welcomebar | 3.93 | 38.40 |
Upgrade to Pro ⭐️ /wp-admin/admin.php?page=my-stickymenu-upgrade | 4.19 | 40.35 |
Recommended Plugins /wp-admin/admin.php?page=msm-recommended-plugins | 4.38 | 2,052.06 |
Contact Form Leads /wp-admin/admin.php?page=my-sticky-menu-leads | 3.96 | 39.37 |
Dashboard /wp-admin/admin.php?page=my-stickymenu-welcomebar | 3.96 | 35.47 |
Server storage [IO: ▲3.11MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 104 new files
Database: 1 new table, 15 new options
New tables |
---|
wp_mystickymenu_contact_lists |
New WordPress options |
---|
has_sticky_header_old_version |
mysticky_option_name |
update_mysticky_version_2_5_7 |
theysaidso_admin_options |
mystickymenu_update_message |
can_compress_scripts |
widget_recent-comments |
sticky_header_status |
update_mysticky_version_2_6 |
my-sticky-menu_show_upgrade_box_after |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Floating Notification Bar, Sticky Menu on Scroll, Announcement Banner, and Sticky Header for Any Theme - My Sticky Bar (formerly myStickymenu)
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,057 ▲296 | 13.84 ▼0.41 | 10.88 ▲9.26 | 40.45 ▼0.20 |
Dashboard /wp-admin | 2,241 ▲66 | 5.55 ▼0.13 | 81.45 ▼17.88 | 40.39 ▼0.88 |
Posts /wp-admin/edit.php | 2,146 ▲46 | 1.96 ▲0.02 | 35.61 ▲0.61 | 38.10 ▲3.87 |
Add New Post /wp-admin/post-new.php | 1,563 ▲37 | 23.52 ▲0.51 | 674.66 ▲23.20 | 63.08 ▲6.48 |
Media Library /wp-admin/upload.php | 1,440 ▲43 | 4.21 ▲0.02 | 98.41 ▲2.57 | 46.24 ▼0.52 |
Sticky menu settings /wp-admin/admin.php?page=my-stickymenu-settings | 1,635 | 2.26 | 35.65 | 79.59 |
+ Create New Bar /wp-admin/admin.php?page=my-stickymenu-new-welcomebar | 7,895 | 3.01 | 78.60 | 186.91 |
Upgrade to Pro ⭐️ /wp-admin/admin.php?page=my-stickymenu-upgrade | 4,642 | 3.19 | 60.55 | 106.79 |
Recommended Plugins /wp-admin/admin.php?page=msm-recommended-plugins | 1,234 | 2.35 | 32.11 | 40.92 |
Contact Form Leads /wp-admin/admin.php?page=my-sticky-menu-leads | 1,026 | 2.25 | 30.20 | 34.27 |
Dashboard /wp-admin/admin.php?page=my-stickymenu-welcomebar | 1,629 | 2.20 | 31.75 | 53.16 |
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
The following items require your attention
- Zombie tables were found after uninstall: 1 table
- wp_mystickymenu_contact_lists
- Zombie WordPress options detected upon uninstall: 15 options
- has_sticky_header_old_version
- mystickymenu_update_message
- update_mysticky_version_2_5_7
- my-sticky-menu_show_upgrade_box_after
- mystickymenu_show_affiliate_box_after
- mysticky_option_name
- widget_theysaidso_widget
- mystickymenu_intro_box
- widget_recent-posts
- update_mysticky_version_2_6
- ...
Smoke tests 0% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Please fix the following server-side errors
- > GET request to /wp-admin/admin.php?page=my-stickymenu-new-welcomebar
- > Notice in wp-content/plugins/mystickymenu/welcome-bar.php+71
Undefined index: mysticky_welcomebar_enable
- > GET request to /wp-admin/admin.php?page=my-stickymenu-new-welcomebar
- > Notice in wp-content/plugins/mystickymenu/welcome-bar.php+332
Undefined index: mysticky_welcomebar_show_success_message
- 7 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=my-stickymenu-new-welcomebar
- > Notice in wp-content/plugins/mystickymenu/welcome-bar.php+426
Undefined index: mysticky_welcomebar_attentionselect
SRP 0% from 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
Please take a closer look at the following
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/mystickymenu/mystickymenu.php
- 12× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr_e() in wp-content/plugins/mystickymenu/mystickymeny-new-welcomebar.php:2
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/mystickymenu/recommended-plugins.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/mystickymenu/mystickymenu-affiliate.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/mystickymenu/welcome-bar.php:1984
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/mystickymenu/stickymenu-dashboard.php:2
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/plugin-install.php' (include_path='.:/usr/share/php') in wp-content/plugins/mystickymenu/recommended-plugins.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/mystickymenu/class-upgrade-box.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/mystickymenu/mystickymenu-review-popup.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_create_nonce() in wp-content/plugins/mystickymenu/mystickymenu-popup.php:21
- > PHP Fatal error
Uncaught Error: Call to undefined function admin_url() in wp-content/plugins/mystickymenu/help.php:2
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please take a look at the following user-side issues
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=my-stickymenu-welcomebar
- > Network (severe)
wp-content/plugins/mystickymenu/fonts/Lato-Regular.ttf - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% 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
These attributes need your attention:
- Tags: You are using too many tags: 14 tag instead of maximum 10
mystickymenu/mystickymenu.php 92% from 13 tests
"Floating Notification Bar, Sticky Menu on Scroll, Announcement Banner, and Sticky Header for Any Theme - My Sticky Bar (formerly myStickymenu)" version 2.6.5's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 227 characters long)
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
Success! There were no dangerous files found in this plugin20,115 lines of code in 56 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 10 | 651 | 138 | 8,922 |
PHP | 18 | 795 | 231 | 7,937 |
JavaScript | 11 | 347 | 105 | 1,815 |
SVG | 12 | 0 | 0 | 800 |
PO File | 5 | 237 | 279 | 641 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 72.60 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 229.00 |
Average method complexity | 9.14 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 50.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 44 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 44 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 10 | |
▷ Named functions | 10 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
25 PNG files occupy 0.79MB with 0.47MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/owner.png | 46.48KB | 16.16KB | ▼ 65.23% |
images/Back To The Book Nutrition.png | 41.35KB | 18.03KB | ▼ 56.41% |
images/pro-widget.png | 3.86KB | 2.09KB | ▼ 45.87% |
images/contact-lead-ss.png | 119.78KB | 27.90KB | ▼ 76.71% |
images/plus-price.png | 27.95KB | 14.13KB | ▼ 49.44% |