Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
It is recommended to fix the following installer errors
- The plugin did not install without errors
- > Deprecated in wp-content/plugins/advanced-category-column/class-lib/ACC_WidgetClass.php+404
Function create_function() is deprecated
Server metrics [RAM: ▼1.43MB] [CPU: ▼46.81ms] Passed 4 tests
Server-side resources used by Advanced Category Column
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.56 ▼0.91 | 8.33 ▼30.34 |
Dashboard /wp-admin | 2.58 ▼0.73 | 10.17 ▼37.29 |
Posts /wp-admin/edit.php | 2.58 ▼0.78 | 9.34 ▼37.53 |
Add New Post /wp-admin/post-new.php | 2.58 ▼3.31 | 9.36 ▼82.06 |
Media Library /wp-admin/upload.php | 2.58 ▼0.65 | 12.28 ▼21.09 |
Advanced Category Column /wp-admin/options-general.php?page=advanced-cc-settings | 2.58 | 9.59 |
Server storage [IO: ▲0.21MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 23 new files
Database: no new tables, 8 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
acc_options |
widget_advanced_category_column_widget |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Advanced Category Column
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,832 ▲86 | 13.24 ▼1.13 | 1.71 ▼0.33 | 44.08 ▲0.63 |
Dashboard /wp-admin | 2,228 ▲40 | 5.85 ▲0.98 | 101.10 ▼2.59 | 63.15 ▲17.19 |
Posts /wp-admin/edit.php | 2,114 ▲25 | 2.02 ▲0.01 | 38.89 ▲1.93 | 33.67 ▲1.34 |
Add New Post /wp-admin/post-new.php | 1,685 ▲171 | 22.34 ▲4.78 | 765.04 ▲55.66 | 64.21 ▲11.43 |
Media Library /wp-admin/upload.php | 1,407 ▲19 | 4.23 ▼0.08 | 114.02 ▲9.25 | 44.48 ▲1.98 |
Advanced Category Column /wp-admin/options-general.php?page=advanced-cc-settings | 1,093 | 4.79 | 54.62 | 55.07 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- Uninstall procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/advanced-category-column/class-lib/ACC_WidgetClass.php+404
Function create_function() is deprecated
- Zombie WordPress options were found after uninstall: 7 options
- can_compress_scripts
- db_upgraded
- widget_advanced_category_column_widget
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Smoke test failed, please fix the following
- > GET request to /wp-admin/options-general.php?page=advanced-cc-settings
- > Deprecated in wp-content/plugins/advanced-category-column/class-lib/ACC_WidgetClass.php+404
Function create_function() is deprecated
- > GET request to /wp-admin/options-general.php?page=advanced-cc-settings
- > Notice in wp-content/plugins/advanced-category-column/class-lib/ACC_AdminClass.php+135
Undefined index: link
- > GET request to /wp-admin/options-general.php?page=advanced-cc-settings
- > Notice in wp-content/plugins/advanced-category-column/class-lib/ACC_AdminClass.php+141
Undefined index: hover
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
Please take a closer look at the following
- 4× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/advanced-category-column/class-lib/A5_WidgetClass.php:14
- > PHP Fatal error
Uncaught Error: Class 'A5_Widget' not found in wp-content/plugins/advanced-category-column/class-lib/ACC_WidgetClass.php:12
- > PHP Fatal error
Uncaught Error: Class 'A5_DynamicFiles' not found in wp-content/plugins/advanced-category-column/class-lib/ACC_DynamicCSSClass.php:13
- > PHP Fatal error
Uncaught Error: Class 'A5_OptionPage' not found in wp-content/plugins/advanced-category-column/class-lib/ACC_AdminClass.php:12
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please fix the following user-side errors
- > GET request to /wp-admin/options-general.php?page=advanced-cc-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/advanced-category-column/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=advanced-cc-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
The readme.txt file uses markdown syntax to describe your plugin to the world
7 plugin tags: sidebar, newspaper, multi widget, category, image...
advanced-category-column/advanced-cc.php 77% from 13 tests
The principal PHP file in "Advanced Category Column" v. 3.5 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("advanced-category-column.php" instead of "advanced-cc.php")
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Description: Please don't use more than 140 characters for the plugin description (currently 382 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin2,681 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 1,355 | 517 | 1,708 |
PO File | 3 | 241 | 269 | 799 |
JavaScript | 2 | 69 | 19 | 174 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 27.10 |
▷ Minimum class complexity | 10.00 |
▷ Maximum class complexity | 72.00 |
Average method complexity | 3.90 |
▷ 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 | 90 | |
▷ Static methods | 32 | 35.56% |
▷ Public methods | 81 | 90.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 9 | 10.00% |
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
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-34.png | 1.65KB | 1.35KB | ▼ 18.07% |
img/a5-icon-11.png | 0.67KB | 0.42KB | ▼ 37.17% |