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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼5.37ms] Passed 4 tests
Server-side resources used by Accept Elavon Payments using Contact Form 7
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 35.62 ▼8.23 |
Dashboard /wp-admin | 3.31 ▲0.00 | 45.32 ▼6.98 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 49.57 ▼0.78 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 94.12 ▼5.48 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 36.26 ▲0.25 |
Server storage [IO: ▲0.21MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Accept Elavon Payments using Contact Form 7
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲68 | 13.22 ▼1.34 | 4.40 ▲2.23 | 41.63 ▼7.58 |
Dashboard /wp-admin | 2,206 ▲18 | 4.85 ▼0.06 | 108.31 ▲7.00 | 39.58 ▼0.58 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.04 ▲0.00 | 43.43 ▲6.41 | 34.55 ▼1.35 |
Add New Post /wp-admin/post-new.php | 1,534 ▼0 | 23.24 ▲0.10 | 609.22 ▼48.34 | 43.72 ▼11.92 |
Media Library /wp-admin/upload.php | 1,382 ▼3 | 4.20 ▲0.01 | 95.58 ▼6.98 | 40.52 ▼2.71 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP Passed 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
The SRP test was a success
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 86% 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
Attributes that need to be fixed:
- Tags: Please delete some tags, you are using 36 tag instead of maximum 10
contact-form-7-elavon-converge/accept-elavon-payments-using-contact-form-7.php 77% from 13 tests
The principal PHP file in "Accept Elavon Payments using Contact Form 7" v. 3.2 is loaded by WordPress automatically on each request
You should first fix the following items:
- 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
- Domain Path: The domain path points to an invalid folder, "/languages" does not exist
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("contact-form-7-elavon-converge.php" instead of "accept-elavon-payments-using-contact-form-7.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected2,455 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 1 | 48 | 64 | 1,304 |
PHP | 3 | 196 | 79 | 1,151 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 21 | |
▷ Named functions | 20 | 95.24% |
▷ Anonymous functions | 1 | 4.76% |
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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
4 PNG files occupy 0.10MB with 0.05MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-1.png | 63.45KB | 29.54KB | ▼ 53.45% |
images/elavon-icon.png | 1.13KB | 0.70KB | ▼ 37.94% |
assets/screenshot-2.png | 16.21KB | 6.82KB | ▼ 57.94% |
assets/screenshot-3.png | 18.27KB | 9.02KB | ▼ 50.60% |