Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼6.35ms] Passed 4 tests
An overview of server-side resources used by Color Mobile Browser Address Bar
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 39.75 ▲1.36 |
Dashboard /wp-admin | 3.32 ▼0.02 | 46.35 ▼11.34 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 43.85 ▼2.78 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 88.69 ▼12.64 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 36.77 ▲1.65 |
Mobile Browser Address Bar Color /wp-admin/themes.php?page=color-mobile-browser-address-bar | 3.21 | 37.38 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Color Mobile Browser Address Bar
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,808 ▲62 | 14.37 ▼0.01 | 1.89 ▲0.18 | 45.90 ▲5.39 |
Dashboard /wp-admin | 2,213 ▲24 | 5.83 ▼0.07 | 106.99 ▲0.71 | 42.23 ▼2.98 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.05 ▲0.02 | 36.57 ▼4.31 | 32.39 ▼4.58 |
Add New Post /wp-admin/post-new.php | 1,545 ▲8 | 18.36 ▲0.11 | 616.49 ▼8.42 | 54.72 ▼5.57 |
Media Library /wp-admin/upload.php | 1,386 ▼2 | 4.30 ▲0.08 | 98.39 ▲0.45 | 43.18 ▼2.60 |
Mobile Browser Address Bar Color /wp-admin/themes.php?page=color-mobile-browser-address-bar | 937 | 2.38 | 40.10 | 24.07 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP Passed 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 SRP test was a success
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 Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
4 plugin tags: mobile address bar color, theme color on address bar, theme color, meta tag for theme color
color-mobile-browser-address-bar/color-mobile-browser-address-bar.php Passed 13 tests
"Color Mobile Browser Address Bar" version 1.0.10's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
90 characters long description:
A WordPress plugin that lets you add a custom color to the address bar of mobile browsers.
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 plugin79 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 21 | 22 | 74 |
JavaScript | 1 | 0 | 0 | 5 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
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 | 5 | |
▷ Named functions | 5 | 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
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin