Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼9.69ms] Passed 4 tests
Analyzing server-side resources used by Filter for Elementor
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 32.88 ▼10.59 |
Dashboard /wp-admin | 3.32 ▲0.01 | 49.20 ▼3.07 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 50.38 ▲4.30 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 82.57 ▼24.91 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 36.44 ▼0.17 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Filter for Elementor
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,872 ▲111 | 13.46 ▼0.56 | 8.40 ▲6.72 | 41.11 ▼1.90 |
Dashboard /wp-admin | 2,195 ▲15 | 5.62 ▼0.05 | 98.89 ▲4.53 | 42.49 ▼0.92 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 1.99 ▼0.01 | 40.82 ▲0.95 | 35.40 ▼3.47 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.75 ▲0.45 | 672.47 ▼10.92 | 58.82 ▲7.12 |
Media Library /wp-admin/upload.php | 1,397 ▼6 | 4.28 ▲0.07 | 103.27 ▲2.74 | 39.77 ▼4.02 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- db_upgraded
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
Almost there! Just fix the following items
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/filter-for-elementor/elementorfilter.php:33
- > 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 90% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
4 plugin tags: elementor filter, filterable gallery, elementor, filter
filter-for-elementor/elementorfilter.php 77% from 13 tests
The principal PHP file in "Filter for Elementor" v. 1.0.2 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Requires PHP: Required version must match the one declared in readme.txt ("5.6" instead of "7.2")
- Requires at least: Required version must match the one declared in readme.txt ("4.5" instead of "4.9")
- Main file name: Name the main plugin file the same as the plugin slug ("filter-for-elementor.php" instead of "elementorfilter.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected272 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 1 | 97 | 58 | 218 |
PHP | 1 | 19 | 27 | 29 |
CSS | 1 | 4 | 1 | 25 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.08 |
Average class complexity | 2.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 2.00 |
Average method complexity | 1.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.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 | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 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 | 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
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin