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.16MB] [CPU: ▼7.27ms] Passed 4 tests
This is a short check of server-side resources used by Paid Memberships Pro - ConvertKit Integration
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.17 | 43.72 ▼3.11 |
Dashboard /wp-admin | 3.48 ▲0.13 | 53.52 ▼10.44 |
Posts /wp-admin/edit.php | 3.59 ▲0.24 | 49.75 ▼2.09 |
Add New Post /wp-admin/post-new.php | 6.06 ▲0.17 | 89.98 ▼13.45 |
Media Library /wp-admin/upload.php | 3.40 ▲0.17 | 37.59 ▲1.29 |
PMPro ConvertKit /wp-admin/options-general.php?page=convertkit-pmp | 3.37 | 35.31 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 17 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Paid Memberships Pro - ConvertKit Integration
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.15 ▼1.20 | 1.78 ▲0.06 | 45.11 ▼3.31 |
Dashboard /wp-admin | 2,207 ▲22 | 5.82 ▼0.04 | 101.13 ▼16.63 | 39.82 ▼2.37 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 1.97 ▼0.05 | 35.86 ▼3.65 | 33.28 ▼2.90 |
Add New Post /wp-admin/post-new.php | 1,540 ▲12 | 18.32 ▼0.05 | 655.25 ▼4.67 | 54.79 ▲2.34 |
Media Library /wp-admin/upload.php | 1,392 ▲7 | 4.23 ▼0.01 | 94.38 ▼20.46 | 41.33 ▼4.03 |
PMPro ConvertKit /wp-admin/options-general.php?page=convertkit-pmp | 843 | 1.71 | 24.93 | 28.70 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- widget_recent-comments
Smoke tests Passed 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 Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The SRP test was a success
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 important because it is parsed by WordPress.org for the public listing of your plugin
6 plugin tags: convertkit, pmp, paid memberships pro, pmpro, marketing...
convertkit-for-paid-memberships-pro/convertkit-pmp.php 85% from 13 tests
Analyzing the main PHP file in "Paid Memberships Pro - ConvertKit Integration" version 1.2.0
It is important to fix the following:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("convertkit-for-paid-memberships-pro.php" instead of "convertkit-pmp.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 detected749 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 292 | 722 | 726 |
PO File | 1 | 5 | 7 | 23 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 11.86 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 48.00 |
Average method complexity | 2.58 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 48 | |
▷ Static methods | 2 | 4.17% |
▷ Public methods | 44 | 91.67% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 8.33% |
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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected