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
Installer ran successfully
Server metrics [RAM: ▲0.15MB] [CPU: ▼6.01ms] Passed 4 tests
An overview of server-side resources used by Fetch Mailchimp Fields
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.15 | 44.77 ▼8.19 |
Dashboard /wp-admin | 3.45 ▲0.15 | 57.36 ▼2.07 |
Posts /wp-admin/edit.php | 3.57 ▲0.21 | 55.60 ▲2.55 |
Add New Post /wp-admin/post-new.php | 6.03 ▲0.15 | 98.61 ▼16.32 |
Media Library /wp-admin/upload.php | 3.38 ▲0.15 | 44.47 ▲8.31 |
Server storage [IO: ▲0.37MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 25 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Fetch Mailchimp Fields
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,805 ▲44 | 14.23 ▲0.03 | 1.68 ▼0.32 | 41.10 ▼14.28 |
Dashboard /wp-admin | 2,211 ▲34 | 5.64 ▼0.03 | 90.36 ▼6.06 | 39.53 ▼3.44 |
Posts /wp-admin/edit.php | 2,116 ▲19 | 1.98 ▼0.05 | 42.30 ▲3.41 | 36.77 ▼1.25 |
Add New Post /wp-admin/post-new.php | 1,539 ▲13 | 23.11 ▲0.04 | 683.14 ▲51.63 | 48.46 ▼9.58 |
Media Library /wp-admin/upload.php | 1,416 ▲16 | 4.14 ▼0.04 | 93.71 ▼14.16 | 48.06 ▲6.70 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 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
Please fix the following
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function do_settings_sections() in wp-content/plugins/fetch-mailchimp-fields/admin/partials/fetch-mailchimp-fields-admin-display.php:7
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/fetch-mailchimp-fields/public/partials/fetch-mailchimp-fields-public-display.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
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: mailchimp, merge fields, api, shortcode
fetch-mailchimp-fields/fetch-mailchimp-fields.php Passed 13 tests
Analyzing the main PHP file in "Fetch Mailchimp Fields" version 1.6.1
72 characters long description:
Lookup a Subscriber in Mailchimp List and get their merge field details.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin611 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 202 | 520 | 594 |
CSS | 2 | 0 | 0 | 16 |
JavaScript | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 8.33 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 33.00 |
Average method complexity | 2.07 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 61 | |
▷ Static methods | 2 | 3.28% |
▷ Public methods | 47 | 77.05% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 14 | 22.95% |
Functions | 4 | |
▷ Named functions | 3 | 75.00% |
▷ Anonymous functions | 1 | 25.00% |
Constants | 2 | |
▷ Global constants | 1 | 50.00% |
▷ Class constants | 1 | 50.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin