Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼3.37ms] Passed 4 tests
A check of server-side resources used by SecurePay For WPJobster
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.73 ▲0.00 | 49.17 ▲6.04 |
Dashboard /wp-admin | 3.57 ▲0.00 | 52.18 ▼2.07 |
Posts /wp-admin/edit.php | 3.68 ▲0.00 | 54.42 ▼0.84 |
Add New Post /wp-admin/post-new.php | 6.15 ▲0.00 | 93.25 ▼11.92 |
Media Library /wp-admin/upload.php | 3.49 ▲0.00 | 39.84 ▲1.37 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for SecurePay For WPJobster
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.37 ▼0.06 | 1.90 ▲0.26 | 45.05 ▲1.02 |
Dashboard /wp-admin | 2,192 ▲15 | 5.63 ▼0.10 | 84.65 ▼8.05 | 42.39 ▼5.12 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.99 ▼0.07 | 39.14 ▼2.81 | 35.09 ▼0.75 |
Add New Post /wp-admin/post-new.php | 1,526 ▼24 | 17.51 ▼5.72 | 673.68 ▲1.97 | 56.45 ▼8.25 |
Media Library /wp-admin/upload.php | 1,400 ▲6 | 4.24 ▲0.03 | 107.55 ▲0.68 | 45.91 ▲1.64 |
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
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 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
Please fix the following
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html__() in wp-content/plugins/securepay-for-wpjobster/includes/src/admin-fields.php:7
- > PHP Fatal error
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)
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
5 plugin tags: payment platform, payment gateway, fpx, malaysia, online banking
securepay-for-wpjobster/securepay-for-wpjobster.php 92% from 13 tests
The entry point to "SecurePay For WPJobster" version 1.0.6 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
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
Success! There were no dangerous files found in this plugin813 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 129 | 112 | 813 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 37.00 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 65.00 |
Average method complexity | 3.14 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 2 | 100.00% |
Methods | 32 | |
▷ Static methods | 11 | 34.38% |
▷ Public methods | 22 | 68.75% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 10 | 31.25% |
Functions | 5 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 5 | 100.00% |
Constants | 10 | |
▷ Global constants | 10 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin