Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
These installer errors require your attention
- The plugin cannot be installed
- > Deprecated in wp-content/plugins/category-coloumn/class-lib/CC_WidgetClass.php+351
Function create_function() is deprecated
Server metrics [RAM: ▼1.96MB] [CPU: ▼53.83ms] Passed 4 tests
This is a short check of server-side resources used by Category Column
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.03 ▼1.43 | 5.30 ▼33.06 |
Dashboard /wp-admin | 2.05 ▼1.25 | 5.02 ▼42.44 |
Posts /wp-admin/edit.php | 2.05 ▼1.31 | 5.96 ▼46.31 |
Add New Post /wp-admin/post-new.php | 2.05 ▼3.84 | 5.29 ▼93.50 |
Media Library /wp-admin/upload.php | 2.05 ▼1.18 | 5.17 ▼28.83 |
Category Column /wp-admin/options-general.php?page=category-column-settings | 2.05 | 5.49 |
Server storage [IO: ▲0.18MB] [DB: ▲0.07MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 21 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
widget_category_column_widget |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
cc_options |
Browser metrics Passed 4 tests
Category Column: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,832 ▲75 | 13.19 ▼1.19 | 1.66 ▼0.39 | 42.05 ▼4.30 |
Dashboard /wp-admin | 2,228 ▲76 | 4.96 ▼0.71 | 109.45 ▼9.40 | 82.35 ▲39.76 |
Posts /wp-admin/edit.php | 2,111 ▲22 | 1.98 ▲0.00 | 39.07 ▲3.29 | 35.27 ▼2.18 |
Add New Post /wp-admin/post-new.php | 1,544 ▲11 | 18.22 ▼5.04 | 677.17 ▼0.72 | 61.58 ▲7.36 |
Media Library /wp-admin/upload.php | 1,398 ▲10 | 4.13 ▼0.05 | 97.89 ▼7.99 | 78.36 ▲33.17 |
Category Column /wp-admin/options-general.php?page=category-column-settings | 1,041 | 4.70 | 49.75 | 57.71 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Uninstall procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/category-coloumn/class-lib/CC_WidgetClass.php+351
Function create_function() is deprecated
- Zombie WordPress options were found after uninstall: 7 options
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_category_column_widget
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=category-column-settings
- > Deprecated in wp-content/plugins/category-coloumn/class-lib/CC_WidgetClass.php+351
Function create_function() is deprecated
SRP 50% 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
Please fix the following items
- 4× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'A5_DynamicFiles' not found in wp-content/plugins/category-coloumn/class-lib/CC_DynamicCSSClass.php:13
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/category-coloumn/class-lib/A5_WidgetClass.php:14
- > PHP Fatal error
Uncaught Error: Class 'A5_Widget' not found in wp-content/plugins/category-coloumn/class-lib/CC_WidgetClass.php:12
- > PHP Fatal error
Uncaught Error: Class 'A5_OptionPage' not found in wp-content/plugins/category-coloumn/class-lib/CC_AdminClass.php:12
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please fix the following user-side errors
- > GET request to /wp-admin/options-general.php?page=category-column-settings
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28609 "jQuery.Deferred exception: jQuery(...).live is not a function" "TypeError: jQuery(...).live is not a function\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/category-coloumn/ta-expander.min.js?ver=3.0:1:2865)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:27292)" undefined
- > GET request to /wp-admin/options-general.php?page=category-column-settings
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28721 Uncaught TypeError: jQuery(...).live is not a function
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
7 plugin tags: image, sidebar, widget, newspaper, category...
category-coloumn/category_column.php 77% from 13 tests
The main file in "Category Column" v. 4.5 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Main file name: The principal plugin file should be the same as the plugin slug ("category-coloumn.php" instead of "category_column.php")
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 540 characters long)
- Text Domain: The text domain name should consist of only dashes and lowercase characters
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin2,260 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 1,333 | 516 | 1,633 |
PO File | 2 | 140 | 146 | 466 |
JavaScript | 2 | 65 | 16 | 161 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 26.70 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 72.00 |
Average method complexity | 3.92 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 32.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 88 | |
▷ Static methods | 32 | 36.36% |
▷ Public methods | 79 | 89.77% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 9 | 10.23% |
Functions | 29 | |
▷ Named functions | 29 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 2 | 40.00% |
▷ Class constants | 3 | 60.00% |
▷ Public constants | 3 | 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.00MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/a5-icon-11.png | 0.67KB | 0.42KB | ▼ 37.17% |
img/a5-icon-34.png | 1.65KB | 1.35KB | ▼ 18.07% |