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
Installer ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼7.01ms] Passed 4 tests
Analyzing server-side resources used by Elementor Element Condition
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.79 ▲0.06 | 44.13 ▼2.93 |
Dashboard /wp-admin | 3.61 ▲0.05 | 50.49 ▼6.20 |
Posts /wp-admin/edit.php | 3.73 ▲0.05 | 49.55 ▼3.10 |
Add New Post /wp-admin/post-new.php | 6.19 ▲0.05 | 101.00 ▼15.82 |
Media Library /wp-admin/upload.php | 3.54 ▲0.05 | 42.27 ▲4.39 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Elementor Element Condition
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.28 ▼0.02 | 1.92 ▲0.24 | 44.51 ▲4.06 |
Dashboard /wp-admin | 2,195 ▲18 | 5.55 ▼0.17 | 84.88 ▼7.09 | 40.25 ▲0.63 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 2.01 ▼0.05 | 35.24 ▼6.95 | 33.99 ▼1.03 |
Add New Post /wp-admin/post-new.php | 1,554 ▼0 | 18.42 ▲0.10 | 670.70 ▲62.00 | 55.16 ▲2.92 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.23 ▲0.09 | 110.13 ▲3.95 | 44.98 ▼1.19 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
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 fix the following
- 3× PHP files trigger errors when accessed directly with GET requests:
- > PHP Warning
require_once(ELECONDITIONS_DIRinc/parse_conditions.php): failed to open stream: No such file or directory in wp-content/plugins/ele-conditions/inc/controls.php on line 3
- > PHP Warning
Use of undefined constant ELECONDITIONS_DIR - assumed 'ELECONDITIONS_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/ele-conditions/inc/controls.php on line 3
- > PHP Fatal error
require_once(): Failed opening required 'ELECONDITIONS_DIRinc/parse_conditions.php' (include_path='.:/usr/share/php') in wp-content/plugins/ele-conditions/inc/controls.php on line 3
- > PHP Warning
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 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
5 plugin tags: conditional, elementor, page-builder, conditional elements, condition
ele-conditions/ele-conditions.php 85% from 13 tests
"Elementor Element Condition" version 1.0.5'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:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Domain Path: The domain path points to a folder that does not exist ("/languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin227 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 41 | 28 | 227 |
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.67 |
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 | 11 | |
▷ Named functions | 9 | 81.82% |
▷ Anonymous functions | 2 | 18.18% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There were not PNG files found in your plugin