Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▼0.00MB] [CPU: ▼140.49ms] Passed 4 tests
Analyzing server-side resources used by Ajaxify Filters
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.12 | 38.15 ▲17.27 |
Dashboard /wp-admin | 3.06 ▲0.01 | 43.17 ▼0.32 |
Posts /wp-admin/edit.php | 3.11 ▼0.01 | 45.37 ▼8.63 |
Add New Post /wp-admin/post-new.php | 5.42 ▼0.02 | 88.94 ▼550.27 |
Media Library /wp-admin/upload.php | 3.00 ▲0.00 | 32.09 ▼2.72 |
Server storage [IO: ▲0.98MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 94 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by Ajaxify Filters
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,703 ▲66 | 15.76 ▲0.12 | 9.82 ▲0.40 | 46.73 ▼1.10 |
Dashboard /wp-admin | 2,973 ▲42 | 5.90 ▼0.07 | 129.87 ▼9.32 | 115.98 ▲9.44 |
Posts /wp-admin/edit.php | 2,739 ▲3 | 2.72 ▼0.01 | 63.95 ▲3.07 | 89.31 ▼4.02 |
Add New Post /wp-admin/post-new.php | 1,500 ▼172 | 18.48 ▼0.24 | 355.00 ▼3.08 | 103.57 ▼7.07 |
Media Library /wp-admin/upload.php | 1,810 ▲3 | 5.01 ▼0.13 | 142.78 ▼11.06 | 118.85 ▲2.45 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Uninstaller ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 11× GET requests to PHP files return non-empty strings (only 10 are shown):
- > /wp-content/plugins/ajaxify-filters/core/walkers/index.php
- > /wp-content/plugins/ajaxify-filters/images/index.php
- > /wp-content/plugins/ajaxify-filters/core/index.php
- > /wp-content/plugins/ajaxify-filters/js/index.php
- > /wp-content/plugins/ajaxify-filters/widgets/index.php
- > /wp-content/plugins/ajaxify-filters/colorpicker/index.php
- > /wp-content/plugins/ajaxify-filters/css/index.php
- > /wp-content/plugins/ajaxify-filters/helper/index.php
- > /wp-content/plugins/ajaxify-filters/js/price-slider/index.php
- > /wp-content/plugins/ajaxify-filters/css/price-slider/index.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Screenshots: These screenshots need descriptions #22, #23 in ajaxify-filters/assets to your readme.txt
ajaxify-filters/ajaxify-filters.php 92% from 13 tests
The entry point to "Ajaxify Filters" version 1.0.5 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 148 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
No dangerous file extensions were detected16,211 lines of code in 38 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 15 | 2,205 | 1,247 | 12,638 |
PHP | 16 | 457 | 428 | 1,975 |
CSS | 6 | 54 | 62 | 1,479 |
PO File | 1 | 47 | 54 | 119 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
Average class complexity | 31.67 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 98.00 |
Average method complexity | 8.36 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 91.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 12 | |
▷ Abstract classes | 1 | 8.33% |
▷ Concrete classes | 11 | 91.67% |
▷ Final classes | 0 | 0.00% |
Methods | 50 | |
▷ Static methods | 3 | 6.00% |
▷ Public methods | 50 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 7 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
37 PNG files occupy 0.08MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
colorpicker/images/custom_hsb_b.png | 1.07KB | 0.82KB | ▼ 23.61% |
colorpicker/images/custom_rgb_r.png | 0.99KB | 0.74KB | ▼ 25.34% |
colorpicker/images/colorpicker_hsb_s.png | 1.14KB | 0.80KB | ▼ 29.97% |
css/price-slider/images/ui-icons_222222_256x240.png | 6.76KB | 4.17KB | ▼ 38.24% |
colorpicker/images/custom_rgb_g.png | 1.04KB | 0.80KB | ▼ 23.67% |