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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.06MB] [CPU: ▼4.69ms] Passed 4 tests
Analyzing server-side resources used by WP Wallet
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 42.89 ▲1.49 |
Dashboard /wp-admin | 3.36 ▲0.06 | 48.93 ▼1.97 |
Posts /wp-admin/edit.php | 3.47 ▲0.12 | 50.69 ▲0.42 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 91.85 ▼15.53 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 37.60 ▼1.66 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 28 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
WP Wallet: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲79 | 13.58 ▼0.73 | 1.64 ▼0.14 | 46.60 ▲2.77 |
Dashboard /wp-admin | 2,234 ▲43 | 5.91 ▲1.03 | 99.88 ▼12.72 | 77.55 ▲35.99 |
Posts /wp-admin/edit.php | 2,117 ▲28 | 2.02 ▲0.02 | 36.55 ▲1.02 | 29.81 ▼6.58 |
Add New Post /wp-admin/post-new.php | 1,543 ▲29 | 22.82 ▲5.12 | 740.53 ▲44.57 | 58.11 ▼7.39 |
Media Library /wp-admin/upload.php | 1,407 ▲22 | 4.25 ▲0.10 | 102.81 ▼1.68 | 69.92 ▲24.60 |
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
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/wp-wallet/public/partials/wp-wallet-public-display.php
- > /wp-content/plugins/wp-wallet/admin/partials/wp-wallet-admin-display.php
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Notice
Undefined variable: data in wp-content/plugins/wp-wallet/admin/partials/wp-wallet-admin-display.php on line 19
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
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
3 plugin tags: management, wallet, licenses
wp-wallet/wp-wallet.php Passed 13 tests
The main PHP file in "WP Wallet" ver. 0.0.2 adds more information about the plugin and also serves as the entry point for this plugin
48 characters long description:
Easily connect your WordPress site to WP Wallet.
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 plugin256 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 140 | 600 | 229 |
SVG | 2 | 0 | 0 | 14 |
JavaScript | 3 | 3 | 29 | 8 |
JSON | 1 | 0 | 0 | 4 |
CSS | 2 | 0 | 4 | 1 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.09 |
Average class complexity | 1.62 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.19 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 27 | |
▷ Static methods | 2 | 7.41% |
▷ Public methods | 22 | 81.48% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 18.52% |
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
PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected