Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▼0.01MB] [CPU: ▼289.73ms] Passed 4 tests
Server-side resources used by ACF: MadMimi Audience List
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.01 | 57.93 ▲4.07 |
Dashboard /wp-admin | 3.42 ▲0.01 | 34.20 ▼0.17 |
Posts /wp-admin/edit.php | 3.65 ▲0.01 | 38.54 ▲1.91 |
Add New Post /wp-admin/post-new.php | 6.92 ▼0.07 | 106.08 ▼1,154.21 |
Media Library /wp-admin/upload.php | 3.30 ▲0.00 | 24.42 ▼6.43 |
MadMimi Settings /wp-admin/edit.php?post_type=acf&page=acf-madmimi_audience_list-settings | 3.11 | 19.15 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 11 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
This is an overview of browser requirements for ACF: MadMimi Audience List
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,794 ▲40 | 16.30 ▲0.16 | 5.74 ▼0.68 | 2.72 ▲0.08 |
Dashboard /wp-admin | 2,892 ▲31 | 6.11 ▼0.03 | 113.89 ▼21.20 | 155.37 ▼1.94 |
Posts /wp-admin/edit.php | 2,691 ▲34 | 3.23 ▼0.01 | 65.82 ▲2.62 | 138.20 ▼5.19 |
Add New Post /wp-admin/post-new.php | 1,661 ▼112 | 16.28 ▼5.49 | 398.98 ▼93.92 | 161.64 ▲6.14 |
Media Library /wp-admin/upload.php | 1,698 ▼0 | 5.52 ▲0.00 | 138.62 ▲1.01 | 187.30 ▼5.65 |
MadMimi Settings /wp-admin/edit.php?post_type=acf&page=acf-madmimi_audience_list-settings | 28 | 0.94 | 0.03 | 16.91 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Uninstall script ran successfully
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means 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
Almost there! Just fix the following items
- 3× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'acf_field' not found in wp-content/plugins/acf-madmimi-audience-list/acf-madmimi_audience_list-v4.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/acf-madmimi-audience-list/acf-madmimi_audience_list.php:64
- > PHP Fatal error
Uncaught Error: Class 'acf_field' not found in wp-content/plugins/acf-madmimi-audience-list/acf-madmimi_audience_list-v5.php:3
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There are user-side issues you should fix
- > GET request to /wp-admin/edit.php?post_type=acf&page=acf-madmimi_audience_list-settings
- > Network (severe)
wp-admin/edit.php?post_type=acf&page=acf-madmimi_audience_list-settings - Failed to load resource: the server responded with a status of 403 (Forbidden)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
- Screenshots: Add descriptions for screenshots #1, #2 in acf-madmimi-audience-list/assets to your readme.txt
acf-madmimi-audience-list/acf-madmimi_audience_list.php 92% from 13 tests
The main PHP file in "ACF: MadMimi Audience List" ver. 1.0.2 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: Name the main plugin file the same as the plugin slug ("acf-madmimi-audience-list.php" instead of "acf-madmimi_audience_list.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin1,241 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 323 | 462 | 1,178 |
PO File | 1 | 17 | 17 | 63 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
Average class complexity | 68.25 |
▷ Minimum class complexity | 17.00 |
▷ Maximum class complexity | 215.00 |
Average method complexity | 4.24 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 35.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 83 | |
▷ Static methods | 9 | 10.84% |
▷ Public methods | 43 | 51.81% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 40 | 48.19% |
Functions | 10 | |
▷ Named functions | 10 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 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
There were not PNG files found in your plugin