Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼7.87ms] Passed 4 tests
A check of server-side resources used by Address Bar Colorizer
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 37.03 ▼5.54 |
Dashboard /wp-admin | 3.33 ▼0.02 | 44.41 ▼12.05 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 45.41 ▼1.31 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 89.08 ▼7.03 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 35.35 ▼6.87 |
Address Bar Colorizer /wp-admin/options-general.php?page=address-bar-colorizer-settings | 3.22 | 31.60 |
Server storage [IO: ▲0.01MB] [DB: ▲0.07MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Address Bar Colorizer
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲47 | 14.20 ▲0.08 | 1.79 ▲0.13 | 39.73 ▼7.36 |
Dashboard /wp-admin | 2,199 ▲19 | 5.65 ▼0.01 | 82.67 ▼13.40 | 36.63 ▼2.41 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.02 ▲0.07 | 34.88 ▼2.65 | 30.74 ▼5.50 |
Add New Post /wp-admin/post-new.php | 6,222 ▲4,693 | 26.10 ▲3.04 | 849.29 ▲223.82 | 60.43 ▼3.69 |
Media Library /wp-admin/upload.php | 1,401 ▼2 | 4.25 ▼0.02 | 96.68 ▼9.28 | 43.75 ▼2.27 |
Address Bar Colorizer /wp-admin/options-general.php?page=address-bar-colorizer-settings | 1,050 | 2.35 | 47.76 | 29.05 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- db_upgraded
Smoke tests Passed 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)
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
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
9 plugin tags: browser, address bar, color, theme, chrome...
address-bar-colorizer/address-bar-colorizer.php Passed 13 tests
The main PHP script in "Address Bar Colorizer" version 1.3 is automatically included on every request by WordPress
113 characters long description:
Sets color for each post (or sitewide) of website to colorize address bar of Google Chrome web browser on mobile.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin169 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 26 | 82 | 109 |
HTML | 1 | 30 | 12 | 57 |
JavaScript | 1 | 0 | 2 | 3 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
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 | 10 | |
▷ Named functions | 10 | 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
There are no PNG files in this plugin