Benchmarks
Plugin footprint Passed 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.04MB] [CPU: ▼299.73ms] Passed 4 tests
Analyzing server-side resources used by Pelecard Pay Buttons
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.06 | 55.61 ▲4.40 |
Dashboard /wp-admin | 3.47 ▲0.06 | 34.56 ▲1.82 |
Posts /wp-admin/edit.php | 3.70 ▲0.06 | 38.12 ▲0.61 |
Add New Post /wp-admin/post-new.php | 6.94 ▼0.03 | 90.51 ▼1,201.22 |
Media Library /wp-admin/upload.php | 3.35 ▲0.06 | 23.35 ▼0.11 |
pelecard Pay Buttons /wp-admin/admin.php?page=10bit_pelecard_pay_buttons | 3.30 | 26.75 |
General /wp-admin/admin.php?page=10bit | 3.32 | 21.89 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 7 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for Pelecard Pay Buttons
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,781 ▲37 | 15.62 ▼0.38 | 6.70 ▲0.76 | 2.38 ▲0.39 |
Dashboard /wp-admin | 2,906 ▲52 | 6.21 ▲0.01 | 117.53 ▼15.83 | 172.33 ▲16.71 |
Posts /wp-admin/edit.php | 2,713 ▲19 | 3.12 ▼0.10 | 68.62 ▲5.99 | 142.17 ▼1.15 |
Add New Post /wp-admin/post-new.php | 1,687 ▲26 | 18.56 ▲0.88 | 395.38 ▼26.27 | 189.04 ▲36.17 |
Media Library /wp-admin/upload.php | 1,726 ▲34 | 5.52 ▼0.02 | 127.50 ▼12.57 | 214.64 ▲28.87 |
pelecard Pay Buttons /wp-admin/admin.php?page=10bit_pelecard_pay_buttons | 1,424 | 2.51 | 56.27 | 124.92 |
General /wp-admin/admin.php?page=10bit | 983 | 2.38 | 52.59 | 89.30 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
This plugin's uninstaller ran successfully
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Smoke test failed, please fix the following
- > GET request to /wp-admin/admin.php?page=10bit_pelecard_pay_buttons
- > Notice in wp-content/plugins/10bit-paybuttons-pelecard/10bit-pelecard-paybuttons-options.php+75
Undefined variable: message
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
2 plugin tags: pelecard, paymant
10bit-paybuttons-pelecard/10bit-paybuttons-pelecard.php Passed 13 tests
The main file in "Pelecard Pay Buttons" v. 1.0.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
29 characters long description:
Generate Pelecard Pay Buttons
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
Everything looks great! No dangerous files found in this plugin332 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 51 | 20 | 258 |
PO File | 1 | 27 | 31 | 74 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 6 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/10bit16x16.png | 0.72KB | 0.79KB | 0.00% |