Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.30MB] [CPU: ▲3.56ms] Passed 4 tests
This is a short check of server-side resources used by TeraWallet Topup Bonus by TheCartPress
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.76 ▲0.30 | 43.98 ▲6.73 |
Dashboard /wp-admin | 3.60 ▲0.30 | 49.93 ▼0.62 |
Posts /wp-admin/edit.php | 3.71 ▲0.36 | 49.84 ▲3.92 |
Add New Post /wp-admin/post-new.php | 6.18 ▲0.29 | 103.67 ▲5.51 |
Media Library /wp-admin/upload.php | 3.52 ▲0.29 | 42.37 ▲5.42 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by TeraWallet Topup Bonus by TheCartPress
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,857 ▲122 | 13.37 ▼0.99 | 1.68 ▼0.11 | 37.10 ▼8.34 |
Dashboard /wp-admin | 2,263 ▲75 | 5.87 ▼0.03 | 100.68 ▼7.32 | 41.91 ▼0.93 |
Posts /wp-admin/edit.php | 2,149 ▲60 | 2.01 ▲0.04 | 37.24 ▼7.57 | 36.41 ▼2.55 |
Add New Post /wp-admin/post-new.php | 1,563 ▲21 | 18.58 ▲0.27 | 595.17 ▼85.60 | 50.31 ▼3.85 |
Media Library /wp-admin/upload.php | 1,448 ▲60 | 4.23 ▲0.03 | 98.10 ▼17.90 | 41.56 ▼4.77 |
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
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
6 plugin tags: credit, bonus, terawallet, thecartpress, tcp...
tcp-topup-bonus-for-terawallet/tcp-wallet-topup-bonus.php 92% from 13 tests
The principal PHP file in "TeraWallet Topup Bonus by TheCartPress" v. 1.3.0 is loaded by WordPress automatically on each request
The following require your attention:
- Main file name: The principal plugin file should be the same as the plugin slug ("tcp-topup-bonus-for-terawallet.php" instead of "tcp-wallet-topup-bonus.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected1,364 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 117 | 286 | 1,354 |
JavaScript | 1 | 0 | 0 | 10 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.64 |
Average class complexity | 24.67 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 48.00 |
Average method complexity | 3.96 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 24 | |
▷ Static methods | 1 | 4.17% |
▷ Public methods | 24 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 38 | |
▷ Named functions | 24 | 63.16% |
▷ Anonymous functions | 14 | 36.84% |
Constants | 6 | |
▷ Global constants | 1 | 16.67% |
▷ Class constants | 5 | 83.33% |
▷ Public constants | 5 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin