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.00MB] [CPU: ▼8.58ms] Passed 4 tests
This is a short check of server-side resources used by Colored Admin Post List
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 54.57 ▲15.44 |
Dashboard /wp-admin | 3.31 ▲0.00 | 47.08 ▼5.93 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 46.50 ▼7.51 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 88.44 ▼19.64 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 36.56 ▼1.25 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 21 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Colored Admin Post List
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲53 | 14.28 ▼0.32 | 1.89 ▲0.05 | 41.99 ▼4.08 |
Dashboard /wp-admin | 2,195 ▲15 | 5.55 ▼0.10 | 84.99 ▼12.50 | 37.09 ▼3.02 |
Posts /wp-admin/edit.php | 2,100 ▲3 | 1.94 ▼0.04 | 39.50 ▲1.87 | 36.55 ▼0.35 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 22.97 ▼0.26 | 682.51 ▲45.14 | 58.81 ▲6.10 |
Media Library /wp-admin/upload.php | 1,394 ▼6 | 4.23 ▲0.04 | 100.46 ▼1.68 | 43.51 ▼0.58 |
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
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 50% from 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 0% from 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
Almost there! Just fix the following items
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/colored-admin-post-list/views/settings.php
- 4× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Trait 'Rockschtar\\WordPress\\ColoredAdminPostList\\Controller\\Controller' not found in wp-content/plugins/colored-admin-post-list/src/Controller/StyleController.php on line 8
- > PHP Fatal error
Trait 'Rockschtar\\WordPress\\ColoredAdminPostList\\Controller\\Controller' not found in wp-content/plugins/colored-admin-post-list/src/Controller/PluginController.php on line 10
- > PHP Fatal error
Trait 'Rockschtar\\WordPress\\ColoredAdminPostList\\Controller\\Controller' not found in wp-content/plugins/colored-admin-post-list/src/Controller/SettingsController.php on line 10
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/colored-admin-post-list/colored-admin-post-list.php:19
- > PHP Fatal error
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 87% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
- Screenshots: Please add images for these screenshots: #1 (Colored rows by post status), #2 (Options)
- Tags: There are too many tags (18 tag instead of maximum 10)
colored-admin-post-list/colored-admin-post-list.php 85% from 13 tests
The main PHP script in "Colored Admin Post List" version 3.0.3 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Description: The description should be shorter than 140 characters (currently 141 characters long)
- Requires at least: Required version must match the one declared in readme.txt ("6.0" instead of "6.2")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin415 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 95 | 38 | 358 |
PO File | 1 | 10 | 10 | 39 |
JavaScript | 1 | 1 | 0 | 10 |
XML | 1 | 5 | 5 | 8 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
Average class complexity | 2.36 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 5.00 |
Average method complexity | 1.46 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 0 | |
Traits | 1 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 27 | |
▷ Static methods | 8 | 29.63% |
▷ Public methods | 24 | 88.89% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 11.11% |
Functions | 6 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 6 | 100.00% |
Constants | 18 | |
▷ Global constants | 4 | 22.22% |
▷ Class constants | 14 | 77.78% |
▷ Public constants | 14 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
2 PNG files occupy 0.05MB with 0.03MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 38.99KB | 18.12KB | ▼ 53.52% |
screenshot-2.png | 13.85KB | 5.33KB | ▼ 61.47% |