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
Installer ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼5.33ms] Passed 4 tests
An overview of server-side resources used by Dynamic Conditions
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.05 | 37.93 ▼2.96 |
Dashboard /wp-admin | 3.35 ▲0.05 | 49.62 ▼2.14 |
Posts /wp-admin/edit.php | 3.40 ▲0.05 | 47.37 ▼4.64 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.05 | 84.04 ▼11.56 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 37.05 ▼0.23 |
Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 48 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
A check of browser resources used by Dynamic Conditions
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,875 ▲114 | 13.42 ▼0.95 | 8.99 ▲7.07 | 45.60 ▼3.61 |
Dashboard /wp-admin | 2,197 ▲17 | 5.58 ▼0.09 | 86.34 ▼4.69 | 40.25 ▲3.06 |
Posts /wp-admin/edit.php | 2,105 ▲5 | 1.99 ▼0.03 | 36.27 ▼0.74 | 34.35 ▼1.80 |
Add New Post /wp-admin/post-new.php | 1,545 ▲19 | 23.31 ▲5.91 | 677.02 ▼19.92 | 60.60 ▲3.66 |
Media Library /wp-admin/upload.php | 1,405 ▲5 | 4.25 ▲0.04 | 106.71 ▲1.21 | 47.76 ▲1.88 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests Passed 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)
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The SRP test was a success
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)
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
5 plugin tags: dynamic, rto, fields, elementor, conditions
dynamicconditions/dynamic-conditions.php 92% from 13 tests
The entry point to "Dynamic Conditions" version 1.6.2 is a PHP file that has certain tags in its header comment area
The following require your attention:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("dynamicconditions.php" instead of "dynamic-conditions.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 detected2,019 lines of code in 31 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 23 | 430 | 888 | 1,771 |
PO File | 1 | 43 | 21 | 102 |
JavaScript | 2 | 17 | 30 | 71 |
CSS | 3 | 12 | 4 | 62 |
JSON | 2 | 0 | 0 | 13 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 14.46 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 96.00 |
Average method complexity | 3.08 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 7 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 13 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 13 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 85 | |
▷ Static methods | 15 | 17.65% |
▷ Public methods | 63 | 74.12% |
▷ Protected methods | 1 | 1.18% |
▷ Private methods | 21 | 24.71% |
Functions | 2 | |
▷ Named functions | 1 | 50.00% |
▷ Anonymous functions | 1 | 50.00% |
Constants | 4 | |
▷ Global constants | 3 | 75.00% |
▷ Class constants | 1 | 25.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected