Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.02MB] [CPU: ▼7.22ms] Passed 4 tests
A check of server-side resources used by MemberPress payment addon - Novalnet AG
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 33.74 ▼9.71 |
Dashboard /wp-admin | 3.32 ▲0.02 | 47.31 ▼6.37 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 48.10 ▼1.18 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 87.12 ▼11.60 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 38.22 ▲2.82 |
Server storage [IO: ▲1.73MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for MemberPress payment addon - Novalnet AG
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲39 | 14.39 ▲0.04 | 2.08 ▼0.10 | 43.19 ▼0.50 |
Dashboard /wp-admin | 2,206 ▲34 | 5.51 ▼0.15 | 82.74 ▼27.08 | 39.87 ▼8.30 |
Posts /wp-admin/edit.php | 2,111 ▲11 | 2.02 ▲0.03 | 36.35 ▼0.93 | 34.71 ▼1.04 |
Add New Post /wp-admin/post-new.php | 1,532 ▲6 | 23.56 ▲0.37 | 704.18 ▲16.73 | 59.91 ▲2.01 |
Media Library /wp-admin/upload.php | 1,411 ▲11 | 4.11 ▼0.09 | 111.96 ▲11.70 | 47.79 ▲1.40 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
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: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 5× PHP files output text when accessed directly:
- > /wp-content/plugins/novalnet-payment-addon-memberpress/includes/MeprNovalnetGateway.php
- > /wp-content/plugins/novalnet-payment-addon-memberpress/memberpress-novalnet-addon.php
- > /wp-content/plugins/novalnet-payment-addon-memberpress/app/emails/MeprNovalnetPaymentReceiptEmail.php
- > /wp-content/plugins/novalnet-payment-addon-memberpress/app/views/emails/novalnet_payment_receipt.php
- > /wp-content/plugins/novalnet-payment-addon-memberpress/class-meprnovalnet.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 90% 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: payment gateway, novalnet payment, payments, credit cards
novalnet-payment-addon-memberpress/memberpress-novalnet-addon.php 77% from 13 tests
The primary PHP file in "MemberPress payment addon - Novalnet AG" version 1.0.1 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("novalnet-payment-addon-memberpress.php" instead of "memberpress-novalnet-addon.php")
- Description: Please don't use more than 140 characters for the plugin description (currently 216 characters long)
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
Everything looks great! No dangerous files found in this plugin3,380 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 206 | 710 | 2,671 |
PO File | 1 | 159 | 182 | 530 |
JavaScript | 1 | 6 | 17 | 178 |
SVG | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 89.25 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 246.00 |
Average method complexity | 4.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 36.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 101 | |
▷ Static methods | 6 | 5.94% |
▷ Public methods | 99 | 98.02% |
▷ Protected methods | 1 | 0.99% |
▷ Private methods | 1 | 0.99% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG files were detected