Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼9.91ms] Passed 4 tests
This is a short check of server-side resources used by azurecurve Filtered Categories
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.09 | 39.29 ▼8.03 |
Dashboard /wp-admin | 3.40 ▲0.05 | 48.03 ▼18.61 |
Posts /wp-admin/edit.php | 3.51 ▲0.15 | 51.58 ▲0.66 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 83.77 ▼13.03 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 38.29 ▲0.05 |
Filtered Categories /wp-admin/admin.php?page=azc-fc | 3.26 | 33.62 |
Plugins /wp-admin/admin.php?page=azc-plugin-menus | 3.28 | 32.68 |
Server storage [IO: ▲0.03MB] [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, 8 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
widget_azc_fc |
widget_theysaidso_widget |
db_upgraded |
azc_fc |
Browser metrics Passed 4 tests
azurecurve Filtered Categories: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,821 ▲60 | 14.34 ▲0.06 | 1.58 ▼0.19 | 43.31 ▲0.32 |
Dashboard /wp-admin | 2,228 ▲57 | 5.58 ▼0.05 | 95.02 ▼5.37 | 80.03 ▲36.03 |
Posts /wp-admin/edit.php | 2,133 ▲33 | 2.00 ▼0.06 | 40.10 ▲4.30 | 34.10 ▲1.07 |
Add New Post /wp-admin/post-new.php | 1,552 ▲26 | 23.92 ▲0.64 | 728.06 ▲58.73 | 50.63 ▼2.77 |
Media Library /wp-admin/upload.php | 1,427 ▲27 | 4.15 ▼0.11 | 102.62 ▼12.64 | 73.14 ▲23.94 |
Filtered Categories /wp-admin/admin.php?page=azc-fc | 954 | 2.00 | 23.33 | 25.20 |
Plugins /wp-admin/admin.php?page=azc-plugin-menus | 845 | 2.00 | 26.11 | 24.48 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- This plugin does not fully uninstall, leaving 7 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- widget_azc_fc
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Please fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=azc-fc
- > Notice in wp-content/plugins/azurecurve-filtered-categories/azurecurve-filtered-categories.php+156
Undefined index: include_exclude
- > GET request to /wp-admin/admin.php?page=azc-fc
- > Notice in wp-content/plugins/azurecurve-filtered-categories/azurecurve-filtered-categories.php+169
Undefined index: category
- > GET request to /wp-admin/admin.php?page=azc-fc
- > Notice in wp-content/plugins/azurecurve-filtered-categories/azurecurve-filtered-categories.php+169
Trying to access array offset on value of type null
- > GET request to /wp-admin/admin.php?page=azc-fc
- > Notice in wp-content/plugins/azurecurve-filtered-categories/azurecurve-filtered-categories.php+187
Undefined index: category_page_show_count
- > GET request to /wp-admin/admin.php?page=azc-fc
- > Notice in wp-content/plugins/azurecurve-filtered-categories/azurecurve-filtered-categories.php+192
Undefined index: category_page_feed_enabled
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 take a closer look at the following
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/azurecurve-filtered-categories/includes/menu.php:29
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/azurecurve-filtered-categories/includes/menu.php:29
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
7 plugin tags: category, shortcode, categories, classicpress, widget...
azurecurve-filtered-categories/azurecurve-filtered-categories.php 77% from 13 tests
The main file in "azurecurve Filtered Categories" v. 2.0.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- Text Domain: The text domain name should consist of only dashes and lowercase characters
- Description: Please don't use more than 140 characters for the plugin description (currently 244 characters long)
- Domain Path: The domain path is invalid: folder "/languages" does not exist
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin526 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 89 | 70 | 499 |
CSS | 2 | 0 | 4 | 27 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 7.00 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 2.20 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 5 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 5 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 14 | |
▷ Named functions | 14 | 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 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/Favicon-16x16.png | 0.40KB | 0.34KB | ▼ 14.81% |