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
Install script ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼5.61ms] Passed 4 tests
A check of server-side resources used by Paid Memberships Pro - AWeber Add On
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 37.10 ▼10.75 |
Dashboard /wp-admin | 3.40 ▲0.10 | 48.46 ▲0.38 |
Posts /wp-admin/edit.php | 3.45 ▲0.10 | 50.49 ▲0.39 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 90.15 ▼11.97 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 38.99 ▼0.11 |
PMPro AWeber /wp-admin/options-general.php?page=pmproaw_options | 3.23 | 31.45 |
Server storage [IO: ▲0.23MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 15 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
pmproaw_options |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
Paid Memberships Pro - AWeber Add On: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,809 ▲48 | 14.39 ▲0.02 | 1.80 ▲0.05 | 42.15 ▼0.49 |
Dashboard /wp-admin | 2,215 ▲38 | 5.63 ▼0.09 | 96.15 ▼7.74 | 39.89 ▼2.41 |
Posts /wp-admin/edit.php | 2,124 ▲24 | 2.02 ▲0.01 | 39.06 ▲1.90 | 36.21 ▼0.54 |
Add New Post /wp-admin/post-new.php | 1,545 ▲17 | 23.19 ▼0.02 | 666.49 ▲20.98 | 55.39 ▲6.39 |
Media Library /wp-admin/upload.php | 1,423 ▲26 | 4.16 ▼0.04 | 103.04 ▼3.32 | 45.28 ▲0.16 |
PMPro AWeber /wp-admin/options-general.php?page=pmproaw_options | 963 | 2.01 | 23.43 | 32.15 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options detected upon uninstall: 7 options
- pmproaw_options
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 5× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'AWeberAPIBase' not found in wp-content/plugins/pmpro-aweber/includes/aweber_api/aweber_response.php:14
- > PHP Fatal error
Uncaught Error: Class 'AWeberResponse' not found in wp-content/plugins/pmpro-aweber/includes/aweber_api/aweber_collection.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/pmpro-aweber/pmpro-aweber.php:46
- > PHP Fatal error
Uncaught Error: Interface 'AWeberOAuthAdapter' not found in wp-content/plugins/pmpro-aweber/includes/aweber_api/oauth_application.php:57
- > PHP Fatal error
Uncaught Error: Class 'AWeberResponse' not found in wp-content/plugins/pmpro-aweber/includes/aweber_api/aweber_entry.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need to be fixed:
- Screenshots: Please add images for these screenshots: #1 (General settings for all members/subscribers list.), #2 (Membership-level specific list subscription settings.)
pmpro-aweber/pmpro-aweber.php Passed 13 tests
The entry point to "Paid Memberships Pro - AWeber Add On" version 1.3.3 is a PHP file that has certain tags in its header comment area
70 characters long description:
Add users and members to AWeber lists based on their membership level.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected1,583 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 373 | 994 | 1,583 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 5.76 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 41.00 |
Average method complexity | 1.92 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 3 | |
Traits | 0 | |
Classes | 18 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 18 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 122 | |
▷ Static methods | 2 | 1.64% |
▷ Public methods | 103 | 84.43% |
▷ Protected methods | 18 | 14.75% |
▷ Private methods | 1 | 0.82% |
Functions | 30 | |
▷ Named functions | 30 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected