Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼7.57ms] Passed 4 tests
This is a short check of server-side resources used by PayKassa
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 36.81 ▼12.97 |
Dashboard /wp-admin | 3.33 ▲0.02 | 44.72 ▼2.88 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 46.57 ▼5.43 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 90.76 ▼9.01 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 36.54 ▲4.53 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for PayKassa
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.20 ▼1.04 | 4.51 ▲2.12 | 44.64 ▼2.01 |
Dashboard /wp-admin | 2,203 ▲12 | 5.84 ▼0.05 | 107.01 ▼2.20 | 40.47 ▼0.61 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.00 ▼0.05 | 40.07 ▲3.21 | 35.52 ▲1.67 |
Add New Post /wp-admin/post-new.php | 1,533 ▼0 | 23.39 ▲0.31 | 664.43 ▲8.47 | 57.39 ▲7.35 |
Media Library /wp-admin/upload.php | 1,385 ▼6 | 4.20 ▼0.02 | 98.45 ▼9.15 | 42.12 ▼3.03 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
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
The SRP test was a success
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)
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
5 plugin tags: woocommerce, paykassa, gateway, bitcoin, cryptocurrency
paykassa/paykassa.php Passed 13 tests
The principal PHP file in "PayKassa" v. 1.0.2 is loaded by WordPress automatically on each request
61 characters long description:
This plugin is the gateway for PayKassa system of WooCommerce
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
Good job! No executable or dangerous file extensions detected597 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 151 | 215 | 465 |
PO File | 1 | 44 | 57 | 132 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 13.25 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 33.00 |
Average method complexity | 2.32 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 1 | 25.00% |
Methods | 37 | |
▷ Static methods | 4 | 10.81% |
▷ Public methods | 30 | 81.08% |
▷ Protected methods | 6 | 16.22% |
▷ Private methods | 1 | 2.70% |
Functions | 1 | |
▷ Named functions | 1 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin