Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.02MB] [CPU: ▼297.86ms] Passed 4 tests
An overview of server-side resources used by MemberPress integration - AcyMailing
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.01 | 56.63 ▲2.32 |
Dashboard /wp-admin | 3.41 ▲0.01 | 37.56 ▲2.14 |
Posts /wp-admin/edit.php | 3.64 ▲0.01 | 35.05 ▼3.09 |
Add New Post /wp-admin/post-new.php | 6.89 ▼0.08 | 95.11 ▼1,186.79 |
Media Library /wp-admin/upload.php | 3.30 ▼0.00 | 23.16 ▼3.69 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 3 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by MemberPress integration - AcyMailing
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,795 ▲51 | 15.89 ▲0.28 | 6.50 ▲0.78 | 2.81 ▲0.80 |
Dashboard /wp-admin | 2,892 ▲31 | 5.97 ▼0.22 | 120.61 ▼15.23 | 153.40 ▼7.34 |
Posts /wp-admin/edit.php | 2,694 ▲37 | 3.24 ▼0.02 | 63.90 ▲0.84 | 140.37 ▼4.01 |
Add New Post /wp-admin/post-new.php | 1,661 ▼0 | 16.41 ▼0.44 | 426.06 ▲16.66 | 155.51 ▼2.83 |
Media Library /wp-admin/upload.php | 1,698 ▼3 | 5.48 ▼0.06 | 143.14 ▲4.75 | 187.15 ▼5.15 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The plugin uninstalled completely, with no zombie files or tables
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
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 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
Please fix the following items
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_deactivation_hook() in wp-content/plugins/acymailing-integration-for-memberpress/acymailing-memberpress.php:13
- > PHP Fatal error
Uncaught Error: Class 'AcyMailing\\Libraries\\acymPlugin' not found in wp-content/plugins/acymailing-integration-for-memberpress/plugin.php:8
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
4 plugin tags: memberpress, newsletter, acymailing, subscription
acymailing-integration-for-memberpress/acymailing-memberpress.php 92% from 13 tests
The main file in "MemberPress integration - AcyMailing" v. 1.4 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("acymailing-integration-for-memberpress.php" instead of "acymailing-memberpress.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected400 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 92 | 8 | 400 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 55.00 |
▷ Minimum class complexity | 55.00 |
▷ Maximum class complexity | 55.00 |
Average method complexity | 3.57 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.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 | 21 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 16 | 76.19% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 23.81% |
Functions | 3 | |
▷ Named functions | 3 | 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
PNG images were not found in this plugin