Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.04MB] [CPU: ▼6.83ms] Passed 4 tests
A check of server-side resources used by Colorize Admin
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 40.15 ▼0.42 |
Dashboard /wp-admin | 3.36 ▲0.01 | 46.76 ▼14.22 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 46.41 ▼1.97 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 85.53 ▼10.71 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 40.35 ▲4.84 |
Server storage [IO: ▲0.56MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 76 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
_colorthemeadmintop |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
_colorthemeadmin |
Browser metrics Passed 4 tests
Colorize Admin: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,847 ▲101 | 14.47 ▲0.06 | 1.92 ▲0.24 | 37.91 ▼4.82 |
Dashboard /wp-admin | 2,223 ▲31 | 4.87 ▼0.10 | 109.97 ▼7.09 | 40.74 ▲1.24 |
Posts /wp-admin/edit.php | 2,109 ▲20 | 2.01 ▼0.14 | 36.61 ▼4.52 | 35.85 ▼1.96 |
Add New Post /wp-admin/post-new.php | 1,530 ▲11 | 17.66 ▼5.46 | 629.32 ▼77.65 | 40.78 ▼15.88 |
Media Library /wp-admin/upload.php | 1,411 ▲20 | 4.19 ▼0.01 | 96.78 ▼8.15 | 42.53 ▼3.39 |
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
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_recent-comments
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
Even though no errors were found, this is by no means an exhaustive test
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
Please fix the following items
- 4× PHP files output text when accessed directly:
- > /wp-content/plugins/colorize-admin/inc/settings.php
- > /wp-content/plugins/colorize-admin/inc/admin-options.php
- > /wp-content/plugins/colorize-admin/inc/install.php
- > /wp-content/plugins/colorize-admin/wpvote-colorize-admin.php
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 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Please fix the following attributes:
- Screenshots: Please add an image for screenshot #1 (Colorize Admin Back-end)
colorize-admin/wpvote-colorize-admin.php 92% from 13 tests
The main PHP script in "Colorize Admin" version 2.0 is automatically included on every request by WordPress
Please take the time to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("colorize-admin.php" instead of "wpvote-colorize-admin.php")
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
No dangerous file extensions were detected383 lines of code in 67 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 4 | 28 | 174 |
PO File | 2 | 37 | 47 | 149 |
CSS | 60 | 0 | 0 | 60 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.53 |
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
1 PNG file occupies 0.05MB with 0.03MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 47.28KB | 19.35KB | ▼ 59.06% |