Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.16MB] [CPU: ▼13.62ms] Passed 4 tests
A check of server-side resources used by AffiliateWP MailChimp Add-On
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 39.18 ▼4.06 |
Dashboard /wp-admin | 3.21 ▼0.10 | 41.05 ▼7.06 |
Posts /wp-admin/edit.php | 3.27 ▼0.08 | 39.76 ▼20.19 |
Add New Post /wp-admin/post-new.php | 5.45 ▼0.44 | 79.28 ▼23.16 |
Media Library /wp-admin/upload.php | 3.21 ▼0.02 | 36.38 ▲0.01 |
Server storage [IO: ▲0.03MB] [DB: ▲0.07MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by AffiliateWP MailChimp Add-On
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,809 ▲48 | 14.66 ▲0.35 | 1.77 ▼0.26 | 43.30 ▲0.22 |
Dashboard /wp-admin | 2,215 ▲35 | 5.58 ▼0.07 | 96.44 ▲7.50 | 43.88 ▼2.57 |
Posts /wp-admin/edit.php | 2,120 ▲20 | 2.18 ▲0.21 | 40.06 ▲3.76 | 38.46 ▲0.81 |
Add New Post /wp-admin/post-new.php | 1,565 ▲31 | 23.17 ▼0.16 | 638.21 ▼57.94 | 56.38 ▼3.84 |
Media Library /wp-admin/upload.php | 1,414 ▲14 | 4.21 ▼0.05 | 103.76 ▲3.41 | 46.00 ▲3.84 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 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
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
8 plugin tags: nigeria, mailchimp, affiliate wp, ecommerce, tubiz plugins...
affiliatewp-mailchimp-add-on/affiliatewp-mailchimp-addon.php 92% from 13 tests
The main PHP file in "AffiliateWP MailChimp Add-On" ver. 1.2.0 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: The principal plugin file should be the same as the plugin slug ("affiliatewp-mailchimp-add-on.php" instead of "affiliatewp-mailchimp-addon.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin418 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 190 | 124 | 418 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 26.50 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 49.00 |
Average method complexity | 3.04 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 1 | 50.00% |
Methods | 25 | |
▷ Static methods | 1 | 4.00% |
▷ Public methods | 22 | 88.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 12.00% |
Functions | 1 | |
▷ Named functions | 1 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin