Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼150.41ms] Passed 4 tests
This is a short check of server-side resources used by Woocommerce Mobile Money
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.86 ▲0.03 | 35.59 ▼3.21 |
Dashboard /wp-admin | 3.09 ▲0.03 | 49.86 ▲0.70 |
Posts /wp-admin/edit.php | 3.14 ▲0.03 | 43.47 ▼7.44 |
Add New Post /wp-admin/post-new.php | 5.44 ▲0.01 | 91.30 ▼585.02 |
Media Library /wp-admin/upload.php | 3.03 ▲0.03 | 27.66 ▼5.97 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 2 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Woocommerce Mobile Money: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,679 ▲83 | 15.87 ▲0.34 | 11.14 ▲2.45 | 49.07 ▼9.41 |
Dashboard /wp-admin | 2,973 ▲42 | 5.87 ▼0.04 | 138.88 ▼8.70 | 107.47 ▼11.36 |
Posts /wp-admin/edit.php | 2,739 ▼0 | 2.69 ▼0.01 | 67.38 ▼7.41 | 97.02 ▲0.81 |
Add New Post /wp-admin/post-new.php | 1,591 ▼92 | 18.47 ▼0.40 | 373.87 ▼29.49 | 112.18 ▲3.00 |
Media Library /wp-admin/upload.php | 1,810 ▲3 | 5.04 ▼0.01 | 157.59 ▼1.09 | 119.75 ▼7.11 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
This plugin's uninstaller ran successfully
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 96% 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: mtn, uganda, airtel, woo, socialpay...
woo-mobile-money/woo-mobile-money.php 92% from 13 tests
This is the main PHP file of "Woocommerce Mobile Money" version 1.3, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 177 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected144 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 45 | 20 | 144 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 7.00 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 2.20 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.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 | 5 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 5 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin