Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼7.20ms] Passed 4 tests
Analyzing server-side resources used by Dynamic Visibility for Elementor
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.06 | 40.92 ▲1.80 |
Dashboard /wp-admin | 3.38 ▲0.04 | 45.57 ▼16.01 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 48.62 ▲1.78 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 91.24 ▼14.12 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 35.68 ▼0.43 |
Server storage [IO: ▲1.11MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 117 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Dynamic Visibility for Elementor
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,807 ▲21 | 14.69 ▲0.34 | 1.68 ▼0.44 | 40.69 ▼1.22 |
Dashboard /wp-admin | 2,213 ▲39 | 5.65 ▲0.03 | 83.23 ▼14.07 | 77.93 ▲33.69 |
Posts /wp-admin/edit.php | 2,121 ▲21 | 2.13 ▲0.11 | 38.37 ▲0.25 | 34.74 ▼2.21 |
Add New Post /wp-admin/post-new.php | 1,558 ▲29 | 23.58 ▲0.40 | 671.04 ▲64.68 | 157.77 ▲107.28 |
Media Library /wp-admin/upload.php | 1,415 ▲15 | 4.22 ▲0.06 | 101.52 ▲0.27 | 77.79 ▲32.58 |
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
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
6 plugin tags: dynamic, elementor, container, widget, visibility...
dynamic-visibility-for-elementor/dynamic-visibility-for-elementor.php Passed 13 tests
The main file in "Dynamic Visibility for Elementor" v. 5.0.10 serves as a complement to information provided in readme.txt and as the entry point to the plugin
132 characters long description:
Visibility rules for widgets, containers, sections, columns or pages with advanced conditions and removing the element from the DOM.
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 detected11,722 lines of code in 106 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 37 | 1,140 | 1,312 | 9,668 |
CSS | 7 | 186 | 39 | 1,134 |
JavaScript | 60 | 88 | 80 | 735 |
SVG | 1 | 168 | 0 | 180 |
JSON | 1 | 0 | 0 | 5 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.62 |
Average class complexity | 59.17 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 505.00 |
Average method complexity | 4.73 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 55.00 |
Code structure | ||
---|---|---|
Namespaces | 7 | |
Interfaces | 0 | |
Traits | 15 | |
Classes | 15 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 15 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 371 | |
▷ Static methods | 234 | 63.07% |
▷ Public methods | 327 | 88.14% |
▷ Protected methods | 40 | 10.78% |
▷ Private methods | 4 | 1.08% |
Functions | 25 | |
▷ Named functions | 4 | 16.00% |
▷ Anonymous functions | 21 | 84.00% |
Constants | 12 | |
▷ Global constants | 8 | 66.67% |
▷ Class constants | 4 | 33.33% |
▷ Public constants | 4 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
3 compressed PNG files occupy 0.01MB
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/lib/select2/select2x2.png | 0.83KB | 0.77KB | ▼ 6.15% |
assets/lib/select2/select2.png | 0.60KB | 0.99KB | 0.00% |
assets/media/dce.png | 4.31KB | 2.67KB | ▼ 38.15% |