Benchmarks
Plugin footprint Passed 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.01MB] [CPU: ▼142.01ms] Passed 4 tests
A check of server-side resources used by Affiliates Manager Mad Mimi Integration
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.85 ▲0.02 | 32.95 ▲0.02 |
Dashboard /wp-admin | 3.07 ▲0.02 | 43.54 ▼2.27 |
Posts /wp-admin/edit.php | 3.13 ▲0.02 | 48.86 ▲6.79 |
Add New Post /wp-admin/post-new.php | 5.43 ▼0.00 | 89.87 ▼566.08 |
Media Library /wp-admin/upload.php | 3.02 ▲0.02 | 33.12 ▲0.30 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 6 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Affiliates Manager Mad Mimi Integration: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,679 ▲73 | 15.94 ▲0.38 | 9.24 ▼2.15 | 46.91 ▼4.13 |
Dashboard /wp-admin | 2,973 ▲39 | 5.91 ▼0.09 | 147.21 ▲1.47 | 101.88 ▼3.34 |
Posts /wp-admin/edit.php | 2,739 ▼0 | 2.72 ▲0.01 | 70.02 ▼0.91 | 94.14 ▲10.39 |
Add New Post /wp-admin/post-new.php | 1,683 ▲102 | 18.38 ▼2.33 | 411.67 ▲20.94 | 102.17 ▼5.54 |
Media Library /wp-admin/upload.php | 1,810 ▲3 | 5.08 ▲0.04 | 149.71 ▼4.33 | 118.66 ▲0.54 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Uninstall script ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Almost there! Just fix the following items
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/affiliates-manager-mad-mimi-integration/affmgr-madmimi-admin-menu.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/affiliates-manager-mad-mimi-integration/affmgr-madmimi-action.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that require attention:
- Tags: Please reduce the number of tags, currently 13 tag instead of maximum 10
affiliates-manager-mad-mimi-integration/affmgr-madmimi-signup.php 92% from 13 tests
This is the main PHP file of "Affiliates Manager Mad Mimi Integration" version 1.0.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("affiliates-manager-mad-mimi-integration.php" instead of "affmgr-madmimi-signup.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin942 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 189 | 282 | 942 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
Average class complexity | 120.00 |
▷ Minimum class complexity | 25.00 |
▷ Maximum class complexity | 215.00 |
Average method complexity | 4.26 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 35.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 73 | |
▷ Static methods | 9 | 12.33% |
▷ Public methods | 33 | 45.21% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 40 | 54.79% |
Functions | 5 | |
▷ Named functions | 5 | 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
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