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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.00MB] [CPU: ▼5.78ms] Passed 4 tests
A check of server-side resources used by Accept SagePay Payments Using Contact Form 7
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 40.64 ▼4.71 |
Dashboard /wp-admin | 3.31 ▲0.00 | 45.69 ▼4.58 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 48.02 ▲0.43 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 91.19 ▼12.15 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 32.47 ▼1.67 |
Server storage [IO: ▲0.53MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 31 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Accept SagePay Payments Using Contact Form 7
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲90 | 13.57 ▼0.80 | 1.91 ▼0.26 | 39.41 ▼9.85 |
Dashboard /wp-admin | 2,206 ▲18 | 5.91 ▲0.96 | 101.24 ▼17.38 | 38.70 ▼4.34 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.01 ▼0.01 | 39.39 ▲4.75 | 37.09 ▲2.99 |
Add New Post /wp-admin/post-new.php | 1,514 ▼0 | 17.72 ▲0.18 | 684.70 ▲7.84 | 50.27 ▼6.57 |
Media Library /wp-admin/upload.php | 1,388 ▼3 | 4.20 ▼0.01 | 94.94 ▼1.88 | 40.82 ▼0.70 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% 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
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/accept-sagepay-payments-using-contact-form-7/inc/front/template/cfspzw-info.php
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'WPCF7_ContactForm' not found in wp-content/plugins/accept-sagepay-payments-using-contact-form-7/inc/admin/template/cfspzw.template.php:14
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Requires php: Invalid plugin version format
accept-sagepay-payments-using-contact-form-7/accept-sagepay-payments-using-contact-form-7.php Passed 13 tests
This is the main PHP file of "Accept SagePay Payments Using Contact Form 7" version 1.7, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
99 characters long description:
This plugin will integrate Sagepay payment gateway for making your payments through Contact Form 7.
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
No dangerous file extensions were detected8,768 lines of code in 29 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 10 | 1,432 | 383 | 5,589 |
PHP | 11 | 607 | 762 | 2,554 |
CSS | 8 | 87 | 6 | 625 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.59 |
Average class complexity | 43.62 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 250.00 |
Average method complexity | 5.93 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 100.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 61 | |
▷ Static methods | 1 | 1.64% |
▷ Public methods | 61 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 9 | |
▷ Named functions | 1 | 11.11% |
▷ Anonymous functions | 8 | 88.89% |
Constants | 12 | |
▷ Global constants | 11 | 91.67% |
▷ Class constants | 1 | 8.33% |
▷ Public constants | 1 | 100.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 images were found in this plugin