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
This plugin's installer ran successfully
Server metrics [RAM: ▼0.00MB] [CPU: ▼9.04ms] Passed 4 tests
Analyzing server-side resources used by Fluid Notification Bar
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.40 ▼0.07 | 28.75 ▼12.49 |
Dashboard /wp-admin | 3.34 ▼0.01 | 51.23 ▼13.58 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 58.66 ▲5.32 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 98.32 ▼9.08 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 35.93 ▼1.02 |
Fluid Notification Bar /wp-admin/options-general.php?page=fluid-notification-bar-settings | 3.23 | 34.06 |
Server storage [IO: ▲0.29MB] [DB: ▲0.07MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 19 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
fluid_notification_bar_settings |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Fluid Notification Bar
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,928 ▲182 | 13.71 ▼0.53 | 7.16 ▲5.28 | 44.41 ▼0.37 |
Dashboard /wp-admin | 2,220 ▲46 | 5.77 ▲0.21 | 85.71 ▼15.69 | 41.56 ▼4.36 |
Posts /wp-admin/edit.php | 2,130 ▲33 | 2.33 ▲0.33 | 44.92 ▲8.33 | 37.48 ▲0.74 |
Add New Post /wp-admin/post-new.php | 1,545 ▲14 | 17.71 ▼5.63 | 600.11 ▼63.31 | 33.92 ▼34.47 |
Media Library /wp-admin/upload.php | 1,428 ▲25 | 4.45 ▲0.24 | 102.63 ▼2.37 | 44.42 ▼1.64 |
Fluid Notification Bar /wp-admin/options-general.php?page=fluid-notification-bar-settings | 1,532 | 2.44 | 50.26 | 34.82 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- This plugin does not fully uninstall, leaving 7 options in the database
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- fluid_notification_bar_settings
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% 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
The following issues need your attention
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/fluid-notification-bar/fnbar_plugin_options.php:70
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/fluid-notification-bar/fluid-notification-bar.php:39
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need to be fixed:
- Screenshots: Screenshot #1 (Take a look of the live demo of Fluid Notification Bar wordpress plugin) image required
fluid-notification-bar/fluid-notification-bar.php Passed 13 tests
The principal PHP file in "Fluid Notification Bar" v. 3.2.3 is loaded by WordPress automatically on each request
135 characters long description:
Wanna say something to your website visitor? This plugin adds the cool responsive notification bar on the top of your website homepage.
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
Success! There were no dangerous files found in this plugin4,068 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 4 | 492 | 23 | 3,087 |
PHP | 3 | 180 | 58 | 586 |
JavaScript | 5 | 77 | 30 | 298 |
SVG | 1 | 0 | 0 | 97 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 13.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 22.00 |
Average method complexity | 1.90 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 40 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 40 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
2 PNG files occupy 0.05MB with 0.03MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/close.png | 1.47KB | 0.75KB | ▼ 49.30% |
screenshot-1.png | 47.14KB | 18.77KB | ▼ 60.18% |