Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼6.99ms] Passed 4 tests
Server-side resources used by CubeWP Wallet
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 39.83 ▲4.12 |
Dashboard /wp-admin | 3.31 ▲0.01 | 42.24 ▼0.21 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 40.42 ▼7.80 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 82.59 ▼18.34 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 34.91 ▼1.60 |
Server storage [IO: ▲0.19MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 25 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
CubeWP Wallet: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,801 ▲15 | 14.29 ▼0.06 | 1.82 ▲0.05 | 38.80 ▲0.16 |
Dashboard /wp-admin | 2,201 ▲23 | 5.51 ▼0.22 | 82.05 ▼34.23 | 39.65 ▼2.86 |
Posts /wp-admin/edit.php | 2,116 ▲16 | 2.01 ▲0.03 | 35.06 ▼6.06 | 31.57 ▼8.27 |
Add New Post /wp-admin/post-new.php | 1,540 ▲12 | 23.46 ▲0.11 | 642.52 ▼33.13 | 57.07 ▼1.69 |
Media Library /wp-admin/upload.php | 1,415 ▲21 | 4.23 ▲0.04 | 97.44 ▼1.76 | 42.59 ▼2.88 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not 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 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need your attention:
- Donate link: Please fix this invalid url: "NA"
cubewp-wallet/cubewp-wallet.php 92% from 13 tests
The main PHP script in "CubeWP Wallet" version 1.0.3 is automatically included on every request by WordPress
It is important to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 152 characters long)
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
Everything looks great! No dangerous files found in this plugin3,246 lines of code in 22 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 18 | 279 | 575 | 2,341 |
CSS | 2 | 119 | 20 | 639 |
JavaScript | 2 | 9 | 0 | 266 |
PHP code Passed 2 tests
Analyzing 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.40 |
Average class complexity | 20.54 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 87.00 |
Average method complexity | 3.42 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 38.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 13 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 13 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 105 | |
▷ Static methods | 50 | 47.62% |
▷ Public methods | 83 | 79.05% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 22 | 20.95% |
Functions | 9 | |
▷ Named functions | 9 | 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
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin