Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▼4.82ms] Passed 4 tests
Analyzing server-side resources used by WP Term Colors
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 41.86 ▲4.56 |
Dashboard /wp-admin | 3.40 ▲0.06 | 52.77 ▼15.65 |
Posts /wp-admin/edit.php | 3.51 ▲0.16 | 49.20 ▼1.00 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.10 | 87.26 ▼2.73 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 37.25 ▲0.12 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 7 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
wpdb_term_color_version |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP Term Colors
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.35 ▼0.20 | 1.65 ▼0.29 | 46.63 ▲4.72 |
Dashboard /wp-admin | 2,198 ▲17 | 5.60 ▼0.12 | 96.53 ▼7.20 | 43.67 ▲1.19 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.02 ▼0.01 | 35.56 ▼0.59 | 33.88 ▼1.78 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.32 ▼0.28 | 670.67 ▼13.41 | 47.50 ▼11.09 |
Media Library /wp-admin/upload.php | 1,397 ▼3 | 4.18 ▲0.03 | 96.32 ▼13.38 | 41.22 ▼2.00 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 7 options
- theysaidso_admin_options
- widget_recent-comments
- wpdb_term_color_version
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP Passed 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
6 plugin tags: metadata, taxonomy, meta, color, colors...
wp-term-colors/wp-term-colors.php Passed 13 tests
The main file in "WP Term Colors" v. 0.1.4 serves as a complement to information provided in readme.txt and as the entry point to the plugin
60 characters long description:
Pretty colors for categories, tags, and other taxonomy terms
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
Success! There were no dangerous files found in this plugin342 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 136 | 373 | 296 |
Markdown | 1 | 19 | 0 | 33 |
JavaScript | 1 | 3 | 0 | 13 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 15.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 29.00 |
Average method complexity | 1.90 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 1 | 50.00% |
Methods | 31 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 25 | 80.65% |
▷ Protected methods | 4 | 12.90% |
▷ Private methods | 2 | 6.45% |
Functions | 1 | |
▷ Named functions | 1 | 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
PNG images were not found in this plugin