Benchmarks
Plugin footprint Passed 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.01MB] [CPU: ▼141.46ms] Passed 4 tests
Server-side resources used by Browser Tab Title Reminder
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.85 ▲0.01 | 34.63 ▲8.90 |
Dashboard /wp-admin | 3.07 ▲0.02 | 44.48 ▼7.02 |
Posts /wp-admin/edit.php | 3.13 ▲0.02 | 44.45 ▼1.33 |
Add New Post /wp-admin/post-new.php | 5.44 ▲0.01 | 96.28 ▼547.60 |
Media Library /wp-admin/upload.php | 3.02 ▲0.01 | 27.27 ▼9.89 |
Browser tab title /wp-admin/options-general.php?page=browser-tab-title-reminder | 3.02 | 28.68 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 20 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for Browser Tab Title Reminder
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,684 ▲88 | 15.88 ▲0.24 | 7.10 ▼1.18 | 46.68 ▲1.90 |
Dashboard /wp-admin | 2,978 ▲47 | 5.96 ▼0.15 | 146.83 ▲6.87 | 110.28 ▲5.53 |
Posts /wp-admin/edit.php | 2,741 ▲2 | 2.69 ▼0.01 | 68.77 ▲7.88 | 83.54 ▼10.22 |
Add New Post /wp-admin/post-new.php | 1,675 ▼197 | 18.76 ▼0.30 | 344.41 ▼0.33 | 106.98 ▲1.44 |
Media Library /wp-admin/upload.php | 1,815 ▲5 | 5.00 ▼0.03 | 146.33 ▲7.65 | 115.90 ▼1.71 |
Browser tab title /wp-admin/options-general.php?page=browser-tab-title-reminder | 1,087 | 2.06 | 54.17 | 60.47 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Uninstall script ran successfully
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)
The smoke test was a success, however most plugin functionality was not tested
SRP 50% 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 fix the following
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/change-browser-tab-title-when-tab-is-not-active/admin/partials/browser-tab-title-reminder-admin-display.php:17
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need your attention:
- Screenshots: Please add an image for screenshot #2 (Title in browser)
change-browser-tab-title-when-tab-is-not-active/change-browser-tab-title-when-tab-is-not-active.php 92% from 13 tests
This is the main PHP file of "Browser Tab Title Reminder" version 1.0.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin302 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 127 | 494 | 235 |
PO File | 1 | 8 | 8 | 52 |
JavaScript | 1 | 2 | 0 | 15 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.12 |
Average class complexity | 2.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 1.28 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 25 | |
▷ Static methods | 2 | 8.00% |
▷ Public methods | 20 | 80.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 20.00% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin