Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.03MB] [CPU: ▼5.25ms] Passed 4 tests
A check of server-side resources used by EasyCard Pay Buttons
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 41.09 ▼13.56 |
Dashboard /wp-admin | 3.34 ▲0.03 | 47.22 ▼2.00 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 47.60 ▲2.21 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 81.04 ▼7.66 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 37.45 ▲4.44 |
EasyCard Pay Buttons /wp-admin/admin.php?page=10bit_easycard_pay_buttons | 3.20 | 27.94 |
General /wp-admin/admin.php?page=10bit | 3.22 | 28.99 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for EasyCard Pay Buttons
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,847 ▲101 | 14.46 ▲0.04 | 2.20 ▼0.00 | 45.30 ▲0.05 |
Dashboard /wp-admin | 2,216 ▲28 | 5.85 ▲0.93 | 103.03 ▼13.21 | 75.98 ▲30.56 |
Posts /wp-admin/edit.php | 2,114 ▲25 | 1.98 ▼0.05 | 34.47 ▼1.50 | 30.36 ▼1.49 |
Add New Post /wp-admin/post-new.php | 1,685 ▲152 | 22.33 ▼1.05 | 767.02 ▲107.57 | 56.70 ▲1.68 |
Media Library /wp-admin/upload.php | 1,410 ▲22 | 4.18 ▼0.07 | 106.96 ▼0.15 | 45.86 ▲3.12 |
EasyCard Pay Buttons /wp-admin/admin.php?page=10bit_easycard_pay_buttons | 859 | 2.03 | 25.63 | 27.00 |
General /wp-admin/admin.php?page=10bit | 781 | 2.02 | 25.31 | 22.84 |
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
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These server-side errors were triggered
- > GET request to /wp-admin/admin.php?page=10bit_easycard_pay_buttons
- > Notice in wp-content/plugins/10bit-paybuttons-easycard/10bit-easycard-paybuttons-options.php+25
Undefined variable: message
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
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
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
2 plugin tags: easycard, paymant
10bit-paybuttons-easycard/10bit-paybuttons-easycard.php Passed 13 tests
The principal PHP file in "EasyCard Pay Buttons" v. 1.0.0 is loaded by WordPress automatically on each request
29 characters long description:
Generate EasyCard Pay Buttons
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected173 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 29 | 10 | 125 |
PO File | 1 | 19 | 27 | 48 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
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
PNG files should be compressed to save space and 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% |