Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▼5.40ms] Passed 4 tests
This is a short check of server-side resources used by Brozzme Colorize Bar
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.09 | 38.76 ▲1.37 |
Dashboard /wp-admin | 3.41 ▲0.06 | 48.95 ▼15.89 |
Posts /wp-admin/edit.php | 3.52 ▲0.16 | 46.39 ▲0.99 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 91.78 ▼7.94 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 35.92 ▲1.26 |
Colorize settings /wp-admin/admin.php?page=brozzme-colorize | 3.30 | 31.02 |
Brozzme /wp-admin/admin.php?page=brozzme-plugins | 3.32 | 287.46 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 11 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_recent-comments |
bcolor_general_settings |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
bcolor_colorize_settings |
Browser metrics Passed 4 tests
A check of browser resources used by Brozzme Colorize Bar
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,858 ▲112 | 13.34 ▼1.06 | 5.05 ▲3.12 | 43.74 ▲1.58 |
Dashboard /wp-admin | 2,228 ▲40 | 5.84 ▲0.99 | 98.36 ▼8.70 | 44.17 ▼2.05 |
Posts /wp-admin/edit.php | 2,111 ▲19 | 2.00 ▲0.03 | 35.73 ▼2.90 | 35.70 ▲6.43 |
Add New Post /wp-admin/post-new.php | 1,553 ▲2 | 23.15 ▲4.84 | 630.85 ▼21.10 | 55.61 ▼2.12 |
Media Library /wp-admin/upload.php | 1,416 ▲34 | 4.33 ▲0.15 | 95.59 ▼4.22 | 40.45 ▼3.77 |
Colorize settings /wp-admin/admin.php?page=brozzme-colorize | 832 | 2.06 | 25.61 | 29.40 |
Brozzme /wp-admin/admin.php?page=brozzme-plugins | 1,045 | 2.03 | 23.90 | 34.26 |
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 were found after uninstall: 8 options
- db_upgraded
- bcolor_general_settings
- bcolor_colorize_settings
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
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
Almost there! Just fix the following items
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/brozzme-colorize/brozzme_colorize.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
6 plugin tags: address bar, customization, color, theme, colorize...
brozzme-colorize/brozzme_colorize.php 92% from 13 tests
This is the main PHP file of "Brozzme Colorize Bar" version 1.00, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("brozzme-colorize.php" instead of "brozzme_colorize.php")
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
Good job! No executable or dangerous file extensions detected520 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 130 | 47 | 508 |
CSS | 1 | 3 | 1 | 7 |
JavaScript | 1 | 3 | 4 | 5 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 9.60 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 16.00 |
Average method complexity | 2.30 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 33 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 32 | 96.97% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 3.03% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin