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.15MB] [CPU: ▼4.35ms] Passed 4 tests
An overview of server-side resources used by Network Merchant Payment Gateway for WooCommerce
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.15 | 36.32 ▼2.32 |
Dashboard /wp-admin | 3.45 ▲0.15 | 44.93 ▼5.04 |
Posts /wp-admin/edit.php | 3.57 ▲0.21 | 43.22 ▼2.03 |
Add New Post /wp-admin/post-new.php | 6.03 ▲0.15 | 80.67 ▼7.99 |
Media Library /wp-admin/upload.php | 3.38 ▲0.15 | 36.86 ▲3.43 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Network Merchant Payment Gateway for WooCommerce
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.18 ▼1.20 | 1.55 ▼0.08 | 39.38 ▼4.96 |
Dashboard /wp-admin | 2,209 ▲21 | 4.88 ▼0.05 | 97.93 ▼21.73 | 38.47 ▼4.29 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 1.99 ▼0.00 | 34.63 ▼3.37 | 30.77 ▼6.79 |
Add New Post /wp-admin/post-new.php | 1,538 ▲24 | 23.37 ▲5.68 | 661.20 ▼6.89 | 67.15 ▲15.42 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.33 ▲0.09 | 103.77 ▲6.94 | 45.03 ▲0.53 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
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
The SRP test was a success
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 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Please fix the following attributes:
- Requires at least: Version format is invalid
- Tested up to: Version format is invalid
webmicro-nmi-woo-addon/webmicro-nmi-woo-addon.php Passed 13 tests
The entry point to "Network Merchant Payment Gateway for WooCommerce" version 1.0.0 is a PHP file that has certain tags in its header comment area
115 characters long description:
This plugin adds a payment option in WooCommerce for customers to pay with their Credit Cards Via Network Merchant.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin596 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 85 | 44 | 596 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.11 |
Average class complexity | 15.50 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 26.00 |
Average method complexity | 2.26 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 23 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 23 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 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
7 compressed PNG files occupy 0.01MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/dinersclub.png | 1.27KB | 1.17KB | ▼ 8.22% |
images/discover.png | 1.28KB | 1.30KB | 0.00% |
images/nmi.png | 0.56KB | 0.35KB | ▼ 37.74% |
images/mastercard.png | 1.62KB | 1.40KB | ▼ 13.37% |
images/visa.png | 1.25KB | 1.29KB | 0.00% |