Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.18MB] [CPU: ▼2.63ms] Passed 4 tests
This is a short check of server-side resources used by ACF: MadMimi Audience List
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.17 | 43.90 ▲3.69 |
Dashboard /wp-admin | 3.48 ▲0.18 | 43.64 ▼3.70 |
Posts /wp-admin/edit.php | 3.59 ▲0.24 | 46.73 ▼1.17 |
Add New Post /wp-admin/post-new.php | 6.06 ▲0.18 | 83.51 ▼9.35 |
Media Library /wp-admin/upload.php | 3.40 ▲0.18 | 37.81 ▲5.03 |
MadMimi Settings /wp-admin/edit.php?post_type=acf&page=acf-madmimi_audience_list-settings | 3.24 | 23.82 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for ACF: MadMimi Audience List
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲90 | 14.48 ▼0.17 | 2.04 ▲0.08 | 44.18 ▲3.35 |
Dashboard /wp-admin | 2,206 ▲15 | 5.83 ▲0.04 | 96.66 ▼1.91 | 42.56 ▼4.83 |
Posts /wp-admin/edit.php | 2,086 ▼6 | 2.02 ▼0.03 | 34.74 ▼3.49 | 30.49 ▼0.05 |
Add New Post /wp-admin/post-new.php | 1,542 ▲9 | 18.42 ▼5.00 | 631.21 ▼30.65 | 66.51 ▲8.96 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.19 ▼0.04 | 102.41 ▼5.26 | 46.20 ▼4.42 |
MadMimi Settings /wp-admin/edit.php?post_type=acf&page=acf-madmimi_audience_list-settings | 28 | 0.44 | 0.09 | 3.93 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
- 3× PHP files trigger server errors when accessed directly:
- > 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: Class 'acf_field' not found in wp-content/plugins/acf-madmimi-audience-list/acf-madmimi_audience_list-v5.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
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please fix the following user-side errors
- > 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 is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: Please add descriptions for these 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 primary PHP file in "ACF: MadMimi Audience List" version 1.0.2 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Main file name: It is recommended to name the main PHP file 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 | Executable files are not allowed as they can serve as attack vectors
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
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG files were detected