Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.07MB] [CPU: ▼7.40ms] Passed 4 tests
Analyzing server-side resources used by Category Ajax Filter
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 37.62 ▼8.57 |
Dashboard /wp-admin | 3.37 ▲0.06 | 48.88 ▲1.90 |
Posts /wp-admin/edit.php | 3.48 ▲0.13 | 42.91 ▼6.08 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.07 | 78.25 ▼16.85 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 37.47 ▲5.10 |
Category Filter /wp-admin/edit.php?post_type=caf_posts | 3.34 | 35.05 |
Add New /wp-admin/post-new.php?post_type=caf_posts | 3.49 | 41.73 |
Server storage [IO: ▲10.37MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 158 new files
Database: no new tables, 7 new options
New WordPress options |
---|
tc_caf_plugin_version |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Category Ajax Filter
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲54 | 14.38 ▲0.03 | 1.69 ▲0.04 | 39.88 ▼4.54 |
Dashboard /wp-admin | 2,218 ▲50 | 5.56 ▼0.02 | 89.82 ▼1.75 | 37.71 ▼5.59 |
Posts /wp-admin/edit.php | 2,129 ▲26 | 1.98 ▼0.02 | 33.73 ▼9.70 | 31.19 ▼6.07 |
Add New Post /wp-admin/post-new.php | 1,548 ▲22 | 23.21 ▲0.01 | 682.68 ▲39.58 | 71.74 ▲15.24 |
Media Library /wp-admin/upload.php | 1,426 ▲32 | 4.18 ▲0.02 | 108.35 ▲10.05 | 49.26 ▲7.47 |
Category Filter /wp-admin/edit.php?post_type=caf_posts | 1,126 | 2.49 | 37.08 | 62.34 |
Add New /wp-admin/post-new.php?post_type=caf_posts | 3,868 | 4.26 | 122.09 | 134.59 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that need to be fixed:
- Tags: You are using too many tags: 11 tag instead of maximum 10
- Screenshots: Add images for these screenshots: #1 (screenshot-1.png), #2 (screenshot-2.png), #3 (screenshot-3.png)
category-ajax-filter/category-ajax-filter.php 92% from 13 tests
The main PHP file in "Category Ajax Filter" ver. 2.7.2.1 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
- Description: Please keep the plugin description shorter than 140 characters (currently 172 characters long)
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
There were no executable files found in this plugin42,132 lines of code in 96 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 30 | 2,919 | 106 | 19,648 |
SVG | 8 | 0 | 0 | 11,308 |
JavaScript | 10 | 2,107 | 1,733 | 8,074 |
PHP | 48 | 275 | 94 | 3,102 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 9.36 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 43.00 |
Average method complexity | 2.77 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 37.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 14 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 14 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 66 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 66 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 6 | 85.71% |
▷ Class constants | 1 | 14.29% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
2 PNG files occupy 0.05MB with 0.02MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/images/full-logo.png | 43.16KB | 16.32KB | ▼ 62.19% |
admin/images/logo-icon.png | 3.39KB | 2.39KB | ▼ 29.68% |