Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.29MB] [CPU: ▼4.62ms] Passed 4 tests
Server-side resources used by VK Filter Search
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.78 ▲0.31 | 41.38 ▲1.38 |
Dashboard /wp-admin | 3.59 ▲0.24 | 48.38 ▼8.02 |
Posts /wp-admin/edit.php | 3.70 ▲0.34 | 48.54 ▼2.19 |
Add New Post /wp-admin/post-new.php | 6.28 ▲0.39 | 88.00 ▼8.30 |
Media Library /wp-admin/upload.php | 3.51 ▲0.28 | 34.32 ▲0.03 |
Add New /wp-admin/post-new.php?post_type=filter-search | 6.28 | 85.29 |
VK Filter Search /wp-admin/edit.php?post_type=filter-search | 3.55 | 38.05 |
Server storage [IO: ▲0.80MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 82 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
VK Filter Search: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲79 | 14.35 ▼0.30 | 1.73 ▲0.02 | 53.27 ▲12.53 |
Dashboard /wp-admin | 2,226 ▲49 | 5.56 ▼0.01 | 83.86 ▼3.28 | 37.30 ▼1.61 |
Posts /wp-admin/edit.php | 2,128 ▲31 | 2.01 ▼0.00 | 39.64 ▲0.62 | 36.04 ▼3.66 |
Add New Post /wp-admin/post-new.php | 6,233 ▲4,696 | 18.96 ▲0.78 | 866.04 ▲251.48 | 59.51 ▲0.32 |
Media Library /wp-admin/upload.php | 1,431 ▲31 | 4.24 ▲0.03 | 103.35 ▲6.20 | 45.51 ▲2.26 |
Add New /wp-admin/post-new.php?post_type=filter-search | 6,169 | 19.08 | 850.02 | 33.86 |
VK Filter Search /wp-admin/edit.php?post_type=filter-search | 1,103 | 1.99 | 29.50 | 30.87 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
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 fix the following
- 8× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'Walker' not found in wp-content/plugins/vk-filter-search/inc/dropdown-categories/class-vk-walker-catrgory-dropdown.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/vk-filter-search/inc/filter-search/package/class-vk-filter-search.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/vk-filter-search/inc/filter-search/package/class-vk-filter-search-shortcode.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/vk-filter-search/inc/filter-search/config.php:23
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/vk-filter-search/inc/filter-search/package/src/call-filter-search/index.php:34
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/vk-filter-search/inc/filter-search/package/class-vk-filter-search-block.php:21
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/vk-filter-search/inc/patches/patches/6.0/patch.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/vk-filter-search/inc/patches/6.0/patch.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need to be fixed:
- Donate link: Invalid URI ("")
- Screenshots: These screenshots have no corresponding images in /assets: #2 (List View), #3 (Display this form on your search result page), #4 (Search Results page)
vk-filter-search/vk-filter-search.php 92% from 13 tests
"VK Filter Search" version 2.3.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
- Requires at least: Required version must match the one declared in readme.txt ("6.0" instead of "5.7")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin3,930 lines of code in 65 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 29 | 152 | 99 | 1,890 |
PHP | 16 | 276 | 519 | 1,548 |
Sass | 5 | 59 | 28 | 354 |
JSON | 6 | 0 | 0 | 120 |
SVG | 7 | 0 | 0 | 16 |
CSS | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 37.75 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 121.00 |
Average method complexity | 4.87 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 36.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 38 | |
▷ Static methods | 34 | 89.47% |
▷ Public methods | 38 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 22 | |
▷ Named functions | 18 | 81.82% |
▷ Anonymous functions | 4 | 18.18% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
8 PNG files occupy 0.59MB with 0.37MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 79.25KB | 27.89KB | ▼ 64.80% |
screenshot-3.png | 67.79KB | 23.56KB | ▼ 65.24% |
screenshot-4.png | 40.72KB | 14.39KB | ▼ 64.67% |
screenshot-2.png | 51.78KB | 17.82KB | ▼ 65.59% |
.wordpress-org/banner-772x250.png | 42.03KB | 20.17KB | ▼ 52.01% |