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
Install script ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼8.18ms] Passed 4 tests
An overview of server-side resources used by NF Conditional Actions
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 34.70 ▼8.05 |
Dashboard /wp-admin | 3.31 ▲0.00 | 45.62 ▼7.55 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 47.21 ▼0.12 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 82.04 ▼15.22 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 33.92 ▼1.91 |
Server storage [IO: ▲0.03MB] [DB: ▲0.07MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for NF Conditional Actions
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.20 ▼1.17 | 1.62 ▼0.20 | 35.98 ▼7.45 |
Dashboard /wp-admin | 2,200 ▲12 | 5.85 ▲0.99 | 96.79 ▼8.30 | 39.08 ▼0.62 |
Posts /wp-admin/edit.php | 2,092 ▲6 | 2.01 ▲0.02 | 42.10 ▲6.81 | 33.08 ▼2.49 |
Add New Post /wp-admin/post-new.php | 1,533 ▼9 | 23.36 ▲4.97 | 671.04 ▲46.23 | 79.87 ▲26.29 |
Media Library /wp-admin/upload.php | 1,382 ▲3 | 4.17 ▼0.03 | 100.22 ▲3.90 | 40.70 ▼1.38 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
4 plugin tags: condition, nf conditional actions, ninja forms, actions
nf-conditional-actions/nf-conditional-actions.php Passed 13 tests
"NF Conditional Actions" version 2.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
36 characters long description:
A plugin to add conditional actions.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin577 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 112 | 103 | 488 |
PO File | 2 | 15 | 14 | 56 |
JavaScript | 1 | 5 | 1 | 33 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
Average class complexity | 23.00 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 37.00 |
Average method complexity | 4.38 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 23.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 13 | |
▷ Static methods | 4 | 30.77% |
▷ Public methods | 11 | 84.62% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 15.38% |
Functions | 6 | |
▷ Named functions | 5 | 83.33% |
▷ Anonymous functions | 1 | 16.67% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
PNG images were not found in this plugin