Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼4.60ms] Passed 4 tests
This is a short check of server-side resources used by JCC Payment Gateway for Woocommerce
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 36.85 ▼3.05 |
Dashboard /wp-admin | 3.31 ▲0.00 | 43.68 ▼4.39 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 46.35 ▼2.14 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 81.73 ▼8.80 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.57 ▼0.32 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for JCC Payment Gateway for Woocommerce
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 14.48 ▼0.14 | 1.65 ▼0.17 | 43.27 ▼1.08 |
Dashboard /wp-admin | 2,206 ▲21 | 5.79 ▼0.02 | 97.50 ▼7.76 | 39.22 ▼1.52 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.04 ▲0.04 | 39.38 ▼1.13 | 34.80 ▼0.75 |
Add New Post /wp-admin/post-new.php | 1,537 ▼8 | 23.14 ▲4.86 | 651.18 ▲28.89 | 70.21 ▲8.84 |
Media Library /wp-admin/upload.php | 1,391 ▼0 | 4.22 ▲0.01 | 99.09 ▼2.75 | 44.66 ▼2.25 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
Smoke tests Passed 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 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
4 plugin tags: jcc cyprus, jcc, payment, payment gateway
bse-jcc-payment-gateway-redirect/jcc-payment-gateway-redirect.php 77% from 13 tests
The entry point to "JCC Payment Gateway for Woocommerce" version 1.0.7 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("bse-jcc-payment-gateway-redirect.php" instead of "jcc-payment-gateway-redirect.php")
- Requires at least: Required version does not match the one declared in readme.txt ("4.0" instead of "2.6.14")
- Text Domain: The text domain name must use dashes instead of underscores, and it must be lowercase
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Success! There were no dangerous files found in this plugin574 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 69 | 144 | 568 |
JavaScript | 1 | 0 | 0 | 6 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 18.33 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 46.00 |
Average method complexity | 3.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 27 | |
▷ Static methods | 2 | 7.41% |
▷ Public methods | 26 | 96.30% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 3.70% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 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