Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.03MB] [CPU: ▲0.48ms] Passed 4 tests
This is a short check of server-side resources used by TopBar Message - Free
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 45.04 ▲3.55 |
Dashboard /wp-admin | 3.33 ▲0.03 | 51.71 ▼3.98 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 52.39 ▼0.44 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 102.70 ▲8.28 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 39.59 ▲2.79 |
TopBar Message - Free /wp-admin/admin.php?page=topbar-message-free-options | 3.29 | 40.53 |
Server storage [IO: ▲0.33MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 18 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for TopBar Message - Free
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,891 ▲145 | 13.34 ▲0.18 | 2.54 ▼2.30 | 40.37 ▼5.69 |
Dashboard /wp-admin | 2,266 ▲78 | 4.90 ▼0.91 | 115.06 ▲7.51 | 41.01 ▼3.87 |
Posts /wp-admin/edit.php | 2,149 ▲60 | 2.07 ▲0.03 | 42.78 ▲8.13 | 35.25 ▼1.98 |
Add New Post /wp-admin/post-new.php | 1,537 ▼3 | 23.37 ▼0.13 | 622.56 ▼48.97 | 55.75 ▼13.43 |
Media Library /wp-admin/upload.php | 1,451 ▲63 | 4.20 ▼0.02 | 105.94 ▲2.99 | 41.90 ▼3.61 |
TopBar Message - Free /wp-admin/admin.php?page=topbar-message-free-options | 1,256 | 1.98 | 35.05 | 83.13 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 3× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/topbar-message-free/includes/topbar-message-free-admin-page.php:38
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/topbar-message-free/includes/topbar-message-free-structure.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/topbar-message-free/includes/topbar-message-free-functions.php:30
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please fix the following user-side errors
- > GET request to /wp-admin/admin.php?page=topbar-message-free-options
- > Rendering (warning) in unknown
/wp-admin/admin.php?page=topbar-message-free-options 228 The specified value "" does not conform to the required format. The format is "#rrggbb" where rr, gg, bb are two-digit hexadecimal numbers.
- > GET request to /wp-admin/admin.php?page=topbar-message-free-options
- > Rendering (warning) in unknown
/wp-admin/admin.php?page=topbar-message-free-options 246 The specified value "" does not conform to the required format. The format is "#rrggbb" where rr, gg, bb are two-digit hexadecimal numbers.
- > GET request to /wp-admin/admin.php?page=topbar-message-free-options
- > Rendering (warning) in unknown
/wp-admin/admin.php?page=topbar-message-free-options 250 The specified value "" does not conform to the required format. The format is "#rrggbb" where rr, gg, bb are two-digit hexadecimal numbers.
- > GET request to /wp-admin/admin.php?page=topbar-message-free-options
- > Rendering (warning) in unknown
/wp-admin/admin.php?page=topbar-message-free-options 292 The specified value "" does not conform to the required format. The format is "#rrggbb" where rr, gg, bb are two-digit hexadecimal numbers.
- > GET request to /wp-admin/admin.php?page=topbar-message-free-options
- > Rendering (warning) in unknown
/wp-admin/admin.php?page=topbar-message-free-options 296 The specified value "" does not conform to the required format. The format is "#rrggbb" where rr, gg, bb are two-digit hexadecimal numbers.
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
4 plugin tags: bar, topbar, notification, top
topbar-message-free/topbar-message-free.php 85% from 13 tests
The main file in "TopBar Message - Free" v. 1.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Domain Path: You should use only dashes and lowercase characters for the domain path ("topbar-message-free/languages")
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
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
There were no executable files found in this plugin879 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 61 | 25 | 379 |
CSS | 1 | 76 | 4 | 323 |
PO File | 1 | 36 | 38 | 107 |
JavaScript | 2 | 9 | 2 | 44 |
SVG | 2 | 0 | 1 | 26 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.14 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 6 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
3 PNG files occupy 0.15MB with 0.09MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/TopBar-MessageLogo.png | 35.07KB | 12.60KB | ▼ 64.06% |
images/logo_servizi.png | 64.81KB | 29.31KB | ▼ 54.78% |
images/logo_servizi-plugintrasparente.png | 55.49KB | 26.18KB | ▼ 52.83% |