Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.16MB] [CPU: ▼6.07ms] Passed 4 tests
This is a short check of server-side resources used by Filter Custom Fields & Taxonomies Light
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.16 | 38.57 ▲1.33 |
Dashboard /wp-admin | 3.47 ▲0.16 | 46.35 ▲1.11 |
Posts /wp-admin/edit.php | 3.58 ▲0.22 | 45.70 ▼6.54 |
Add New Post /wp-admin/post-new.php | 6.05 ▲0.16 | 85.69 ▼18.24 |
Media Library /wp-admin/upload.php | 3.39 ▲0.16 | 34.84 ▼0.59 |
Edit Filter /wp-admin/admin.php?page=search-filter-edit | 3.63 | 34.86 |
Search Filter /wp-admin/admin.php?page=search-filter | 3.39 | 36.82 |
New Filter /wp-admin/admin.php?page=search-filter-new | 3.51 | 37.54 |
Server storage [IO: ▲0.33MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 36 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Filter Custom Fields & Taxonomies Light
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,919 ▲148 | 13.75 ▼0.68 | 6.46 ▲4.73 | 36.55 ▼6.20 |
Dashboard /wp-admin | 2,232 ▲49 | 4.95 ▲0.05 | 108.04 ▼1.01 | 76.80 ▲36.11 |
Posts /wp-admin/edit.php | 2,115 ▲23 | 2.02 ▲0.02 | 35.58 ▼5.60 | 33.66 ▼0.47 |
Add New Post /wp-admin/post-new.php | 1,535 ▼2 | 21.94 ▲3.46 | 750.53 ▲94.30 | 47.25 ▼12.95 |
Media Library /wp-admin/upload.php | 1,414 ▲26 | 4.17 ▼0.08 | 115.18 ▲16.35 | 44.80 ▲1.40 |
Edit Filter /wp-admin/admin.php?page=search-filter-edit | 1,804 | 4.15 | 78.11 | 37.94 |
Search Filter /wp-admin/admin.php?page=search-filter | 1,025 | 3.34 | 43.19 | 79.40 |
New Filter /wp-admin/admin.php?page=search-filter-new | 1,078 | 3.34 | 40.11 | 61.19 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These errors were triggered by the plugin
- 5 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=search-filter-edit
- > Warning in wp-content/plugins/filter-custom-fields-taxonomies-light/admin/edit.php+388
Invalid argument supplied for foreach()
- 23 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=search-filter-edit
- > Notice in wp-content/plugins/filter-custom-fields-taxonomies-light/admin/edit.php+441
Undefined variable: field
- 22 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=search-filter-edit
- > Notice in wp-content/plugins/filter-custom-fields-taxonomies-light/admin/edit.php+388
Trying to access array offset on value of type null
SRP 0% from 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
Almost there! Just fix the following items
- 2× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/filter-custom-fields-taxonomies-light/templates/res/template-standard-noresult.php
- > /wp-content/plugins/filter-custom-fields-taxonomies-light/templates/res/template-standard.php
- 15× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function is_plugin_active() in wp-content/plugins/filter-custom-fields-taxonomies-light/includes/acf-checkboxes.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function is_plugin_active() in wp-content/plugins/filter-custom-fields-taxonomies-light/includes/types-checkboxes.php:5
- > PHP Warning
include_once(): Failed opening 'ABSPATHwp-admin/includes/plugin.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/filter-custom-fields-taxonomies-light/includes/acf-checkboxes.php on line 3
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/filter-custom-fields-taxonomies-light/includes/types-checkboxes.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/filter-custom-fields-taxonomies-light/ajax.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/filter-custom-fields-taxonomies-light/profi-search-filter.php:19
- > PHP Warning
include_once(ABSPATHwp-admin/includes/plugin.php): failed to open stream: No such file or directory in wp-content/plugins/filter-custom-fields-taxonomies-light/includes/types-checkboxes.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/filter-custom-fields-taxonomies-light/admin/new.php:8
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/filter-custom-fields-taxonomies-light/includes/acf-checkboxes.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/filter-custom-fields-taxonomies-light/admin/admin.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
7 plugin tags: ajax, meta data, postmeta, filter, custom fields...
filter-custom-fields-taxonomies-light/profi-search-filter.php 85% from 13 tests
The main file in "Filter Custom Fields & Taxonomies Light" v. 1.05 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Main file name: The principal plugin file should be the same as the plugin slug ("filter-custom-fields-taxonomies-light.php" instead of "profi-search-filter.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin4,225 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 226 | 26 | 1,966 |
PO File | 3 | 461 | 874 | 1,159 |
JavaScript | 2 | 90 | 3 | 646 |
CSS | 2 | 91 | 0 | 454 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 33 | |
▷ Named functions | 33 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.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
11 PNG files occupy 0.05MB with 0.03MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
res/admin/input-fulltext.png | 1.00KB | 0.50KB | ▼ 49.51% |
res/admin/radiobox.png | 0.83KB | 0.39KB | ▼ 52.81% |
res/admin/logo.png | 3.99KB | 1.49KB | ▼ 62.56% |
res/admin/gopro.png | 33.39KB | 12.55KB | ▼ 62.41% |
res/admin/layout-li-column1.png | 2.00KB | 0.45KB | ▼ 77.46% |