Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.12MB] [CPU: ▼6.68ms] Passed 4 tests
A check of server-side resources used by Paid Memberships Pro - Zapier Add On
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.13 | 43.69 ▲0.14 |
Dashboard /wp-admin | 3.43 ▲0.09 | 51.49 ▼13.17 |
Posts /wp-admin/edit.php | 3.55 ▲0.19 | 52.27 ▼3.08 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.13 | 95.96 ▼10.34 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 39.95 ▼0.11 |
PMPro Zapier /wp-admin/admin.php?page=pmpro-zapier | 3.30 | 35.10 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 10 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
recovery_mode_email_last_sent |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
Paid Memberships Pro - Zapier Add On: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲60 | 14.35 ▲0.00 | 1.53 ▼0.83 | 42.90 ▼2.58 |
Dashboard /wp-admin | 2,198 ▲21 | 5.59 ▲0.03 | 90.71 ▼6.40 | 38.58 ▼4.24 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.95 ▼0.07 | 39.36 ▼0.27 | 35.80 ▼3.40 |
Add New Post /wp-admin/post-new.php | 1,528 ▼9 | 23.68 ▲5.44 | 661.71 ▲51.74 | 52.55 ▲5.21 |
Media Library /wp-admin/upload.php | 1,400 ▼3 | 4.24 ▲0.04 | 105.81 ▲0.89 | 47.26 ▲5.04 |
PMPro Zapier /wp-admin/admin.php?page=pmpro-zapier | 680 | 1.12 | 7.54 | 16.74 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- The uninstall procedure has failed, leaving 7 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- recovery_mode_email_last_sent
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These errors were triggered by the plugin
- > GET request to /wp-admin/admin.php?page=pmpro-zapier
- > Warning in wp-content/plugins/pmpro-zapier/includes/settings.php+15
Use of undefined constant PMPRO_DIR - assumed 'PMPRO_DIR' (this will throw an Error in a future version of PHP)
- > GET request to /wp-admin/admin.php?page=pmpro-zapier
- > Warning in wp-content/plugins/pmpro-zapier/includes/settings.php+15
require_once(PMPRO_DIR/adminpages/admin_header.php): failed to open stream: No such file or directory
- > GET request to /wp-admin/admin.php?page=pmpro-zapier
- > Compile error in wp-content/plugins/pmpro-zapier/includes/settings.php+15
require_once(): Failed opening required 'PMPRO_DIR/adminpages/admin_header.php' (include_path='.:/usr/share/php')
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
Please fix the following items
- 3× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/pmpro-zapier/pmpro-zapier.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/pmpro-zapier/includes/settings.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/pmpro-zapier/includes/admin.php:6
- > 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)
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
3 plugin tags: pmpro, zapier, paid memberships pro
pmpro-zapier/pmpro-zapier.php Passed 13 tests
The main PHP file in "Paid Memberships Pro - Zapier Add On" ver. 1.2.1 adds more information about the plugin and also serves as the entry point for this plugin
83 characters long description:
Integrate activity on your membership site with thousands of other apps via Zapier.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin878 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 151 | 200 | 735 |
PO File | 1 | 65 | 71 | 143 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 22.00 |
▷ Minimum class complexity | 22.00 |
▷ Maximum class complexity | 22.00 |
Average method complexity | 2.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.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 | 9 | 75.00% |
▷ Public methods | 11 | 91.67% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 8.33% |
Functions | 24 | |
▷ Named functions | 24 | 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
There were not PNG files found in your plugin