Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼6.23ms] Passed 4 tests
A check of server-side resources used by Kineticpay for GiveWP
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 34.04 ▼9.62 |
Dashboard /wp-admin | 3.31 ▲0.00 | 43.87 ▼2.59 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 45.74 ▼2.72 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 91.09 ▼10.00 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 32.03 ▲1.78 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Kineticpay for GiveWP: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲68 | 14.46 ▲0.15 | 1.71 ▼0.25 | 37.65 ▼4.27 |
Dashboard /wp-admin | 2,206 ▲21 | 4.85 ▼0.05 | 98.35 ▼31.11 | 38.64 ▼8.55 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.04 ▲0.07 | 39.70 ▼0.86 | 35.33 ▼0.64 |
Add New Post /wp-admin/post-new.php | 1,514 ▼19 | 17.39 ▼5.73 | 645.90 ▲1.14 | 54.64 ▲0.40 |
Media Library /wp-admin/upload.php | 1,388 ▼3 | 4.23 ▲0.04 | 96.96 ▼3.93 | 41.98 ▼2.83 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
Smoke tests 75% from 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 50% from 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
Please fix the following items
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/kineticpay-for-givewp/includes/admin/give-kineticpay-settings.php:59
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/kineticpay-for-givewp/includes/admin/give-kineticpay-settings-metabox.php:26
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need to be fixed:
- Screenshots: These screenshots lack descriptions #1, #2, #3 in kineticpay-for-givewp/assets to your readme.txt
kineticpay-for-givewp/give-kineticpay.php 77% from 13 tests
The principal PHP file in "Kineticpay for GiveWP" v. 1.0.3 is loaded by WordPress automatically on each request
You should first fix the following items:
- Domain Path: The domain path is invalid: folder "/languages" does not exist
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Main file name: Name the main plugin file the same as the plugin slug ("kineticpay-for-givewp.php" instead of "give-kineticpay.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected666 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 135 | 178 | 645 |
JavaScript | 1 | 1 | 0 | 17 |
Markdown | 1 | 0 | 0 | 4 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 13.60 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 29.00 |
Average method complexity | 2.66 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 38 | |
▷ Static methods | 8 | 21.05% |
▷ Public methods | 29 | 76.32% |
▷ Protected methods | 1 | 2.63% |
▷ Private methods | 8 | 21.05% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 8 | |
▷ Global constants | 6 | 75.00% |
▷ Class constants | 2 | 25.00% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
1 PNG file occupies 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/kineticpay.png | 17.80KB | 11.45KB | ▼ 35.67% |