Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.02MB] [CPU: ▼4.63ms] Passed 4 tests
A check of server-side resources used by NeoX Payments for WooCommerce
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 34.40 ▼7.32 |
Dashboard /wp-admin | 3.33 ▲0.02 | 43.08 ▼5.97 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 43.46 ▼3.08 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 84.70 ▲3.58 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 33.25 ▼2.16 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by NeoX Payments for WooCommerce
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,794 ▲32 | 14.15 ▼0.56 | 1.76 ▲0.14 | 44.19 ▲1.40 |
Dashboard /wp-admin | 2,202 ▲32 | 5.62 ▼0.03 | 97.44 ▼4.77 | 44.72 ▲1.58 |
Posts /wp-admin/edit.php | 2,104 ▲1 | 1.94 ▼0.02 | 39.62 ▲0.39 | 40.29 ▲6.90 |
Add New Post /wp-admin/post-new.php | 1,530 ▲4 | 23.20 ▲0.05 | 598.06 ▼71.96 | 51.79 ▲3.56 |
Media Library /wp-admin/upload.php | 1,398 ▼5 | 4.20 ▼0.02 | 102.30 ▲2.93 | 43.81 ▼0.04 |
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
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
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
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration 90% 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:
- Screenshots: Please add images for these screenshots: #1 (The settings page under WooCommerce -> NeoX.), #2 (Prices are changed to "K", and the symbol is now "VND".), #3 (NeoX Payment Gateway.)
neox-payments-for-woocommerce/neox.php 85% from 13 tests
Analyzing the main PHP file in "NeoX Payments for WooCommerce" version 1.0.7
The following require your attention:
- Requires at least: The required version number must match the one declared in readme.txt ("4.3" instead of "3.0")
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("neox-payments-for-woocommerce.php" instead of "neox.php")
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
No dangerous file extensions were detected936 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 86 | 259 | 722 |
PO File | 1 | 64 | 68 | 193 |
Markdown | 1 | 10 | 0 | 21 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 10.50 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 28.00 |
Average method complexity | 2.73 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 1 | 16.67% |
▷ Concrete classes | 5 | 83.33% |
▷ Final classes | 0 | 0.00% |
Methods | 34 | |
▷ Static methods | 4 | 11.76% |
▷ Public methods | 34 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/neox_payment.png | 4.53KB | 4.53KB | 0.02% |