Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
You still need to fix the following installer errors
- The plugin cannot be installed
- > Deprecated in wp-content/plugins/mijireh-checkout-for-gravity-forms/mijireh.php+1739
Non-static method GFMijirehCheckout::install_slurp_page() should not be called statically
Server metrics [RAM: ▲0.43MB] [CPU: ▼0.86ms] Passed 4 tests
Analyzing server-side resources used by Mijireh Checkout for Gravity Forms
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.89 ▲0.43 | 45.38 ▲1.09 |
Dashboard /wp-admin | 3.73 ▲0.43 | 54.36 ▼2.81 |
Posts /wp-admin/edit.php | 3.85 ▲0.49 | 53.90 ▲1.80 |
Add New Post /wp-admin/post-new.php | 6.32 ▲0.43 | 99.03 ▼3.53 |
Media Library /wp-admin/upload.php | 3.66 ▲0.43 | 40.88 ▲4.73 |
Server storage [IO: ▲0.42MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 32 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
slurp_page_installed |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Mijireh Checkout for Gravity Forms
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.57 ▲0.22 | 1.77 ▲0.23 | 45.34 ▲1.23 |
Dashboard /wp-admin | 2,195 ▲18 | 5.58 ▼0.05 | 91.25 ▼4.83 | 38.24 ▼1.84 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.98 ▼0.06 | 39.42 ▲0.85 | 34.60 ▼0.44 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 23.05 ▼0.03 | 666.77 ▼34.03 | 50.63 ▼12.20 |
Media Library /wp-admin/upload.php | 1,400 ▲3 | 4.18 ▲0.06 | 98.82 ▼24.74 | 42.14 ▼6.66 |
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
The following items require your attention
- This plugin did not uninstall successfully, leaving 7 options in the database
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- slurp_page_installed
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Almost there! Just fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/mijireh-checkout-for-gravity-forms/mijireh.php:20
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need to be fixed:
- Screenshots: These screenshots require images: #1 (Mijireh Checkout Settings Page), #2 (Mijireh Checkout Transaction Settings Page), #3 (Mijireh Checkout Entry Details Page), #4 (Mijireh Checkout Stats Page)
mijireh-checkout-for-gravity-forms/mijireh.php 77% from 13 tests
The main PHP script in "Mijireh Checkout for Gravity Forms" version 1.0.0 is automatically included on every request by WordPress
The following require your attention:
- Main file name: The principal plugin file should be the same as the plugin slug ("mijireh-checkout-for-gravity-forms.php" instead of "mijireh.php")
- Domain Path: The domain path points to a folder that does not exist ("/lang/")
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
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
No dangerous file extensions were detected3,186 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 703 | 275 | 2,903 |
CSS | 1 | 1 | 1 | 153 |
JavaScript | 3 | 31 | 14 | 130 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 15.32 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 288.00 |
Average method complexity | 3.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 53.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 28 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 28 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 146 | |
▷ Static methods | 78 | 53.42% |
▷ Public methods | 101 | 69.18% |
▷ Protected methods | 6 | 4.11% |
▷ Private methods | 39 | 26.71% |
Functions | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
16 PNG files occupy 0.21MB with 0.08MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/mijireh.png | 1.82KB | 1.48KB | ▼ 18.71% |
assets/images/mijireh-checkout-logo.png | 55.23KB | 14.35KB | ▼ 74.02% |
assets/images/remove.png | 3.32KB | 0.62KB | ▼ 81.33% |
assets/images/mijireh-logo.png | 5.66KB | 5.73KB | 0.00% |
assets/images/active1.png | 0.71KB | 0.63KB | ▼ 11.28% |