Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.02MB] [CPU: ▼298.70ms] Passed 4 tests
Server-side resources used by Filter users in automations by database query - AcyMailing
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.01 | 57.98 ▲1.72 |
Dashboard /wp-admin | 3.41 ▲0.01 | 42.93 ▲4.69 |
Posts /wp-admin/edit.php | 3.65 ▲0.01 | 39.57 ▼6.10 |
Add New Post /wp-admin/post-new.php | 6.88 ▼0.09 | 101.34 ▼1,193.37 |
Media Library /wp-admin/upload.php | 3.30 ▲0.00 | 33.38 ▲2.97 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 4 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for Filter users in automations by database query - AcyMailing
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,785 ▲32 | 15.75 ▲0.11 | 6.15 ▲0.11 | 2.36 ▲0.01 |
Dashboard /wp-admin | 2,895 ▲34 | 6.09 ▼0.10 | 115.75 ▼19.19 | 162.74 ▲6.78 |
Posts /wp-admin/edit.php | 2,694 ▼0 | 3.24 ▲0.01 | 62.88 ▲0.51 | 140.10 ▼2.11 |
Add New Post /wp-admin/post-new.php | 1,706 ▼54 | 21.79 ▼0.40 | 427.09 ▼27.97 | 152.91 ▼4.31 |
Media Library /wp-admin/upload.php | 1,695 ▼3 | 5.54 ▲0.01 | 153.10 ▲3.14 | 185.11 ▲1.24 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
This plugin's uninstaller ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
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
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'AcyMailing\\Libraries\\acymPlugin' not found in wp-content/plugins/acymailing-universal-filter/plugin.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function register_deactivation_hook() in wp-content/plugins/acymailing-universal-filter/acymailing-universal-filter.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Please fix the following attributes:
- Screenshots: Screenshot #1 (Action) image required
acymailing-universal-filter/acymailing-universal-filter.php Passed 13 tests
The entry point to "Filter users in automations by database query - AcyMailing" version 1.5 is a PHP file that has certain tags in its header comment area
96 characters long description:
Adds two new filters in the AcyMailing automations to let you make your own database integration
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 detected523 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 107 | 15 | 523 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 49.00 |
▷ Minimum class complexity | 49.00 |
▷ Maximum class complexity | 49.00 |
Average method complexity | 3.18 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 22 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 17 | 77.27% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 22.73% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 PNG file occupies 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
banner.png | 10.11KB | 2.00KB | ▼ 80.22% |