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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼0.71ms] Passed 4 tests
A check of server-side resources used by iPay Ghana WordPress
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 36.75 ▼2.94 |
Dashboard /wp-admin | 3.38 ▲0.08 | 47.73 ▼3.29 |
Posts /wp-admin/edit.php | 3.43 ▲0.08 | 45.56 ▲2.37 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 93.86 ▲1.03 |
Media Library /wp-admin/upload.php | 3.30 ▲0.08 | 36.55 ▲3.35 |
iPay Ghana /wp-admin/options-general.php?page=ipay-ghana-settings | 3.27 | 33.53 |
Server storage [IO: ▲0.22MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 15 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
widget_ipay-ghana-widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for iPay Ghana WordPress
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,894 ▲148 | 13.97 ▼0.40 | 8.91 ▲7.15 | 48.07 ▲5.27 |
Dashboard /wp-admin | 2,211 ▲20 | 5.87 ▲1.01 | 99.94 ▼1.93 | 39.54 ▲2.05 |
Posts /wp-admin/edit.php | 2,097 ▲8 | 2.04 ▲0.03 | 40.32 ▲2.10 | 33.52 ▼0.02 |
Add New Post /wp-admin/post-new.php | 1,521 ▼12 | 23.27 ▼0.05 | 654.73 ▼22.30 | 58.36 ▲4.46 |
Media Library /wp-admin/upload.php | 1,399 ▲8 | 4.21 ▲0.01 | 97.92 ▼2.02 | 43.05 ▲2.31 |
iPay Ghana /wp-admin/options-general.php?page=ipay-ghana-settings | 1,055 | 1.72 | 23.22 | 28.12 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 7 options
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- widget_ipay-ghana-widget
- widget_recent-comments
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
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 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that need to be fixed:
- Screenshots: Please add an image for screenshot #1 (The iPay Ghana WordPress settings panel.)
ipay-ghana/ipay-ghana.php 69% from 13 tests
The main file in "iPay Ghana WordPress" v. 1.0.3 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- Domain Path: The domain path follows the same naming rules as the domain name, using only dashes and lowercase characters ("")
- Domain Path: The domain path should be prefixed with a forward slash character ("/")
- Description: Please keep the plugin description shorter than 140 characters (currently 260 characters long)
- 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 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected836 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 4 | 137 | 62 | 445 |
PHP | 3 | 12 | 19 | 318 |
Markdown | 1 | 12 | 0 | 33 |
CSS | 2 | 2 | 5 | 20 |
JSON | 1 | 0 | 0 | 20 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
Average class complexity | 13.00 |
▷ Minimum class complexity | 13.00 |
▷ Maximum class complexity | 13.00 |
Average method complexity | 4.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.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 | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 10 | |
▷ Named functions | 10 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin