Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼9.37ms] Passed 4 tests
A check of server-side resources used by ACF Conditional Logic Extended
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 38.42 ▼3.47 |
Dashboard /wp-admin | 3.33 ▲0.02 | 49.11 ▼1.87 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 48.13 ▼6.03 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 81.89 ▼23.01 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 34.55 ▼4.95 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 18 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for ACF Conditional Logic Extended
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲53 | 14.34 ▼0.38 | 1.92 ▼0.21 | 39.44 ▼5.41 |
Dashboard /wp-admin | 2,198 ▲18 | 5.59 ▲0.05 | 96.04 ▲6.01 | 43.01 ▼4.77 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.03 ▲0.01 | 39.72 ▼2.20 | 36.07 ▼1.11 |
Add New Post /wp-admin/post-new.php | 1,535 ▼5 | 18.12 ▼4.63 | 630.72 ▼20.15 | 68.65 ▲11.59 |
Media Library /wp-admin/upload.php | 1,397 ▼3 | 4.18 ▼0.09 | 98.84 ▼3.72 | 42.66 ▼2.38 |
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-posts
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please take a closer look at the following
- 7× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/acf-conditional-logic-extended/includes/admin/views/field-group-conditional-logic.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/acf-conditional-logic-extended/includes/admin/views/html-conditional-group.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/acf-conditional-logic-extended/includes/admin/views/html-conditional-rule.php:7
- > PHP Notice
Undefined variable: rule in wp-content/plugins/acf-conditional-logic-extended/includes/admin/views/html-conditional-rule.php on line 4
- > PHP Notice
Undefined variable: rule in wp-content/plugins/acf-conditional-logic-extended/includes/admin/views/html-conditional-rule.php on line 4
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/acf-conditional-logic-extended/includes/admin/views/html-conditional-rule.php on line 4
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/acf-conditional-logic-extended/includes/admin/views/html-conditional-rule.php on line 4
- > 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)
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
9 plugin tags: fields, conditional, custom, extended, acf...
acf-conditional-logic-extended/acf-conditional-logic-extended.php 85% from 13 tests
"ACF Conditional Logic Extended" version 1.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
It is important to fix the following:
- Requires PHP: Required version must be the same as the one declared in readme.txt ("7.4" instead of "7.2")
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
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
Good job! No executable or dangerous file extensions detected817 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 204 | 478 | 742 |
JavaScript | 2 | 24 | 19 | 75 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 3.38 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 1.58 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 1 | 12.50% |
▷ Concrete classes | 7 | 87.50% |
▷ Final classes | 0 | 0.00% |
Methods | 33 | |
▷ Static methods | 4 | 12.12% |
▷ Public methods | 33 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 23 | |
▷ Named functions | 23 | 100.00% |
▷ Anonymous functions | 0 | 0.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
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin