Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▼0.02MB] [CPU: ▼12.61ms] Passed 4 tests
This is a short check of server-side resources used by Addressbar Theme Color
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.39 ▼0.08 | 30.83 ▼9.72 |
Dashboard /wp-admin | 3.32 ▼0.03 | 46.71 ▼20.43 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 47.19 ▼1.17 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 85.90 ▼19.11 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 35.48 ▼0.97 |
Addressbar Theme Color /wp-admin/themes.php?page=addressbar-theme-color | 3.21 | 33.30 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Addressbar Theme Color
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,797 ▲36 | 14.22 ▼0.18 | 1.69 ▼0.29 | 46.46 ▲1.10 |
Dashboard /wp-admin | 2,199 ▲22 | 5.57 ▼0.13 | 92.05 ▲1.18 | 39.69 ▼0.91 |
Posts /wp-admin/edit.php | 2,101 ▲1 | 2.01 ▲0.00 | 39.03 ▼2.81 | 40.19 ▲2.50 |
Add New Post /wp-admin/post-new.php | 1,531 ▼4 | 23.21 ▲4.97 | 667.24 ▲3.66 | 65.27 ▼5.81 |
Media Library /wp-admin/upload.php | 1,407 ▲10 | 4.25 ▲0.04 | 96.83 ▼6.96 | 43.62 ▼4.82 |
Addressbar Theme Color /wp-admin/themes.php?page=addressbar-theme-color | 791 | 2.03 | 27.04 | 33.39 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/addressbar-theme-color/options.php:118
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/addressbar-theme-color/options.php:118
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration 93% from 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, theme, header, html5
addressbar-theme-color/addressbar_theme_color.php 85% from 13 tests
The entry point to "Addressbar Theme Color" version 0.3 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("addressbar-theme-color.php" instead of "addressbar_theme_color.php")
- Text Domain: The text domain follows the same naming rules as the plugin slug: lowercase characters and dashes
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
No dangerous file extensions were detected105 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 24 | 47 | 94 |
Markdown | 1 | 3 | 0 | 11 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.10 |
Average class complexity | 3.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.29 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 7 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 7 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin