Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼5.94ms] Passed 4 tests
An overview of server-side resources used by Boldwallet myCRED/buyCred Payment Gateway
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 39.80 ▲0.35 |
Dashboard /wp-admin | 3.37 ▲0.07 | 46.01 ▼3.42 |
Posts /wp-admin/edit.php | 3.42 ▲0.07 | 46.40 ▲1.86 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.07 | 81.87 ▼19.14 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 31.00 ▼1.53 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] 67% from 3 tests
Analyzing filesystem and database footprints of this plugin
Please fix the following
- The plugin illegally modified 1 file (0.00KB) outside of "wp-content/plugins/boldwallet-mycred/" and "wp-content/uploads/"
- (new file) "wp-content/plugins/boldwallet-mycred/assets/banner-772\303\227250.jpg"
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Boldwallet myCRED/buyCred Payment Gateway
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.35 ▼1.04 | 1.73 ▼0.08 | 43.56 ▲0.27 |
Dashboard /wp-admin | 2,206 ▲21 | 5.88 ▲0.99 | 108.87 ▼6.95 | 44.54 ▼0.74 |
Posts /wp-admin/edit.php | 2,086 ▼3 | 2.05 ▲0.03 | 36.49 ▲1.10 | 34.36 ▼2.24 |
Add New Post /wp-admin/post-new.php | 1,533 ▲19 | 23.50 ▲5.90 | 682.52 ▲6.12 | 55.28 ▲0.29 |
Media Library /wp-admin/upload.php | 1,385 ▼3 | 4.22 ▲0.04 | 98.58 ▼11.89 | 41.67 ▼7.09 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
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
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
10 plugin tags: mycred gateway, buycred, mastercard, addon, verve...
boldwallet-mycred/boldwallet-mycred.php Passed 13 tests
"Boldwallet myCRED/buyCred Payment Gateway" version 1.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
37 characters long description:
Boldwallet Payment Gateway for myCred
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 plugin336 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 176 | 78 | 324 |
JavaScript | 1 | 12 | 2 | 12 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 36.00 |
▷ Minimum class complexity | 36.00 |
▷ Maximum class complexity | 36.00 |
Average method complexity | 5.38 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 8 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 8 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 PNG file occupies 0.06MB with 0.06MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/logo.png | 65.59KB | 3.60KB | ▼ 94.52% |