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
Installer ran successfully
Server metrics [RAM: ▼0.01MB] [CPU: ▼6.73ms] Passed 4 tests
Server-side resources used by eCheck Processing eCheckProcessing.com
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 33.52 ▼3.55 |
Dashboard /wp-admin | 3.31 ▼0.04 | 42.49 ▼15.94 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 42.76 ▼1.46 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 78.84 ▼5.97 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 33.72 ▲1.78 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by eCheck Processing eCheckProcessing.com
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,791 ▲45 | 14.35 ▲0.00 | 1.68 ▲0.08 | 39.63 ▼2.09 |
Dashboard /wp-admin | 2,198 ▲18 | 5.59 ▼0.08 | 90.78 ▲2.37 | 37.18 ▼6.60 |
Posts /wp-admin/edit.php | 2,103 ▲6 | 1.98 ▼0.03 | 39.77 ▲3.45 | 36.99 ▲2.16 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 22.93 ▼0.34 | 678.72 ▲25.42 | 55.24 ▼11.18 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.23 ▲0.03 | 101.95 ▲7.20 | 47.14 ▲6.21 |
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
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
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
Good news, no errors were detected
SRP 50% from 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
Almost there! Just fix the following items
- 3× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'WC_Payment_Gateway_eCheck' not found in wp-content/plugins/echeck-processing-system/includes/echeck.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/echeck-processing-system/includes/orderstatus.php:152
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/echeck-processing-system/gateway-echeckprocessing.php:30
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Requires php: Invalid plugin version format
echeck-processing-system/gateway-echeckprocessing.php 69% from 13 tests
"eCheck Processing eCheckProcessing.com" version 1.6's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Requires at least: The required version number must match the one declared in readme.txt ("4.7.0" instead of "4.0")
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("echeck-processing-system.php" instead of "gateway-echeckprocessing.php")
- Domain Path: The domain path points to a folder that does not exist ("/lang/")
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin739 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 130 | 161 | 719 |
CSS | 1 | 1 | 6 | 20 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 44.00 |
▷ Minimum class complexity | 44.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 4.58 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.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 | 0 | 0.00% |
▷ Public methods | 11 | 91.67% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 8.33% |
Functions | 11 | |
▷ Named functions | 11 | 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
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin