Benchmarks
Plugin footprint 65% 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.00MB] [CPU: ▼0.24ms] Passed 4 tests
An overview of server-side resources used by Cycle Online For WooCommerce
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 40.50 ▼2.10 |
Dashboard /wp-admin | 3.31 ▲0.01 | 47.86 ▲0.22 |
Posts /wp-admin/edit.php | 3.42 ▲0.07 | 48.81 ▲10.25 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 92.70 ▼1.06 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 36.20 ▲1.97 |
Server storage [IO: ▲0.11MB] [DB: ▲0.07MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 28 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_cyclegateway_transactions |
New WordPress options |
---|
can_compress_scripts |
cyclebit_db_version |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Cycle Online For WooCommerce
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲43 | 13.32 ▼1.06 | 1.70 ▼0.59 | 47.22 ▲5.15 |
Dashboard /wp-admin | 2,206 ▲14 | 5.90 ▲0.96 | 105.39 ▼14.02 | 39.79 ▼5.84 |
Posts /wp-admin/edit.php | 2,086 ▼6 | 1.97 ▼0.08 | 39.53 ▼0.53 | 34.63 ▲0.55 |
Add New Post /wp-admin/post-new.php | 1,535 ▼7 | 23.59 ▲5.28 | 673.60 ▲46.30 | 67.44 ▲16.29 |
Media Library /wp-admin/upload.php | 1,385 ▲3 | 4.23 ▼0.02 | 94.47 ▼11.45 | 43.11 ▲0.93 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Zombie tables were found after uninstall: 1 table
- wp_cyclegateway_transactions
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- cyclebit_db_version
- 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
Good news, no errors were detected
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
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 93% 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
6 plugin tags: cryptocurrency, crypto, commerce, woocommerce, payments...
cycle-online-payment-gateway/class-wc-gateway-cyclegateway.php 85% from 13 tests
The main file in "Cycle Online For WooCommerce" v. 1.0.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("cycle-online-payment-gateway.php" instead of "class-wc-gateway-cyclegateway.php")
- Requires at least: Required version does not match the one declared in readme.txt ("5.0" instead of "5.0.0")
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 plugin1,899 lines of code in 23 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 19 | 468 | 647 | 1,589 |
Markdown | 2 | 52 | 0 | 214 |
JSON | 2 | 0 | 0 | 96 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 20.17 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 65.00 |
Average method complexity | 3.53 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 12 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 12 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 92 | |
▷ Static methods | 34 | 36.96% |
▷ Public methods | 68 | 73.91% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 24 | 26.09% |
Functions | 6 | |
▷ Named functions | 4 | 66.67% |
▷ Anonymous functions | 2 | 33.33% |
Constants | 5 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 5 | 100.00% |
▷ Public constants | 5 | 100.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
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/logo.png | 8.09KB | 4.33KB | ▼ 46.49% |