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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.18MB] [CPU: ▼7.50ms] Passed 4 tests
Analyzing server-side resources used by Browser Title Bar Animation - Don't lose visitors
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.64 ▲0.17 | 41.65 ▼4.60 |
Dashboard /wp-admin | 3.49 ▲0.18 | 54.65 ▼2.04 |
Posts /wp-admin/edit.php | 3.60 ▲0.24 | 53.33 ▼2.76 |
Add New Post /wp-admin/post-new.php | 6.10 ▲0.21 | 94.17 ▼20.58 |
Media Library /wp-admin/upload.php | 3.41 ▲0.18 | 42.22 ▲7.68 |
Title Bar Animation /wp-admin/options-general.php?page=tbas-settings | 3.38 | 37.09 |
Server storage [IO: ▲0.19MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 26 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
tbas-version |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Browser Title Bar Animation - Don't lose visitors
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲57 | 14.63 ▲0.09 | 1.90 ▲0.09 | 41.58 ▼4.47 |
Dashboard /wp-admin | 2,199 ▲25 | 5.56 ▼0.02 | 89.01 ▼12.33 | 38.07 ▼7.36 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.09 ▲0.13 | 37.13 ▲2.06 | 31.18 ▼1.72 |
Add New Post /wp-admin/post-new.php | 6,364 ▲4,836 | 18.95 ▼2.04 | 976.56 ▲261.08 | 62.35 ▲4.85 |
Media Library /wp-admin/upload.php | 1,407 ▲4 | 4.25 ▲0.07 | 106.62 ▼8.48 | 46.69 ▲3.27 |
Title Bar Animation /wp-admin/options-general.php?page=tbas-settings | 990 | 2.07 | 27.23 | 27.67 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- Zombie WordPress options detected upon uninstall: 7 options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- tbas-version
- can_compress_scripts
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)
Everything seems fine, however this is by no means an exhaustive test
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
- 4× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/browser-title-bar-animation/classes/class-tbas-admin.php:27
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/browser-title-bar-animation/classes/class-tbas-update.php:37
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/browser-title-bar-animation/classes/class-tbas-meta-fields.php:37
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/browser-title-bar-animation/classes/class-tbas-metabox.php:45
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 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
3 plugin tags: title-bar-animation, title-bar-effects, grab visitors
browser-title-bar-animation/browser-title-bar-animation.php Passed 13 tests
The main file in "Browser Title Bar Animation - Don't lose visitors" v. 1.3.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
48 characters long description:
Don't lose visitors. Catch the user's attention.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin1,335 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 340 | 612 | 977 |
JavaScript | 4 | 81 | 0 | 226 |
CSS | 3 | 16 | 6 | 132 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 12.44 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 38.00 |
Average method complexity | 2.56 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 1 | 11.11% |
Methods | 66 | |
▷ Static methods | 11 | 16.67% |
▷ Public methods | 66 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 9 | |
▷ Global constants | 9 | 100.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
No PNG images were found in this plugin