Benchmarks
Plugin footprint 65% 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.91MB] [CPU: ▼33.40ms] Passed 4 tests
An overview of server-side resources used by WP Affiliate MailPoet Integration
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 40.58 ▼0.91 |
Dashboard /wp-admin | 3.04 ▼0.27 | 22.32 ▼31.41 |
Posts /wp-admin/edit.php | 3.04 ▼0.32 | 25.09 ▼19.15 |
Add New Post /wp-admin/post-new.php | 3.04 ▼2.85 | 24.28 ▼71.64 |
Media Library /wp-admin/upload.php | 3.04 ▼0.19 | 20.25 ▼11.40 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] 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_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for WP Affiliate MailPoet Integration
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.18 ▼1.12 | 1.58 ▼0.15 | 42.54 ▼6.17 |
Dashboard /wp-admin | 2,210 ▲25 | 5.89 ▼0.14 | 95.04 ▼23.29 | 41.51 ▼0.26 |
Posts /wp-admin/edit.php | 2,089 ▲3 | 2.00 ▼0.01 | 40.13 ▲4.15 | 37.78 ▲3.20 |
Add New Post /wp-admin/post-new.php | 1,538 ▲19 | 23.08 ▼0.25 | 601.19 ▼77.32 | 48.56 ▼13.54 |
Media Library /wp-admin/upload.php | 1,386 ▲4 | 4.29 ▲0.07 | 97.31 ▼52.35 | 40.76 ▼26.71 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Uninstall procedure validation failed for this plugin
- > Warning in wp-content/plugins/wp-affiliate-mailpoet-integration/affiliate-mailpoet-addon.php+67
Use of undefined constant WP_AFF_PLATFORM_PATH - assumed 'WP_AFF_PLATFORM_PATH' (this will throw an Error in a future version of PHP)
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
9 plugin tags: affiliate program, affiliate system, mailpoet, opt-in, integration...
wp-affiliate-mailpoet-integration/affiliate-mailpoet-addon.php 85% from 13 tests
"WP Affiliate MailPoet Integration" version 1.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("wp-affiliate-mailpoet-integration.php" instead of "affiliate-mailpoet-addon.php")
- Requires at least: Required version does not match the one declared in readme.txt ("5.0" instead of "3.0")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin126 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 37 | 16 | 126 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
Average class complexity | 7.00 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 1.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.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 | 12 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 12 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.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
PNG images were not found in this plugin