Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼6.27ms] Passed 4 tests
This is a short check of server-side resources used by Conditional Logic for Beaver Builder and Woo Memberships
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 45.60 ▲4.17 |
Dashboard /wp-admin | 3.31 ▲0.01 | 44.97 ▼0.99 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 45.89 ▼3.40 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 85.53 ▼20.17 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 34.32 ▼0.52 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Conditional Logic for Beaver Builder and Woo Memberships
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.35 ▼0.02 | 1.77 ▲0.14 | 47.25 ▲7.66 |
Dashboard /wp-admin | 2,195 ▲14 | 5.54 ▼0.11 | 80.99 ▼15.80 | 39.71 ▼1.39 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.97 ▼0.06 | 33.62 ▼3.23 | 33.90 ▼0.65 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 22.85 ▼0.12 | 598.97 ▼108.68 | 54.07 ▲2.55 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.30 ▲0.10 | 96.05 ▼8.26 | 42.73 ▼4.54 |
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
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% 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
The following issues need your attention
- 2× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/conditional-logic-for-beaver-builder-and-woo-memberships/includes/rules.php
- > /wp-content/plugins/conditional-logic-for-beaver-builder-and-woo-memberships/bb-logic-digital-member.php
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 issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
3 plugin tags: beaver builder, woocommerce memberships, conditional logic
conditional-logic-for-beaver-builder-and-woo-memberships/bb-logic-digital-member.php 92% from 13 tests
The main PHP file in "Conditional Logic for Beaver Builder and Woo Memberships" ver. 1.3 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("conditional-logic-for-beaver-builder-and-woo-memberships.php" instead of "bb-logic-digital-member.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected141 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 12 | 12 | 75 |
JavaScript | 1 | 2 | 1 | 66 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
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 | 5 | |
▷ Named functions | 3 | 60.00% |
▷ Anonymous functions | 2 | 40.00% |
Constants | 2 | |
▷ Global constants | 2 | 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
There are no PNG files in this plugin