Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼1.36ms] Passed 4 tests
An overview of server-side resources used by Cashback
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.04 | 37.88 ▼6.23 |
Dashboard /wp-admin | 3.36 ▲0.02 | 51.55 ▼12.22 |
Posts /wp-admin/edit.php | 3.48 ▲0.12 | 60.15 ▲8.12 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.07 | 359.51 ▲251.34 |
Media Library /wp-admin/upload.php | 3.26 ▲0.04 | 40.55 ▲4.90 |
Login /wp-admin/admin.php?page=c247-login | 3.26 | 39.16 |
RefreshStatistics /wp-admin/admin.php?page=c247-statistics-refresh | 3.12 | 212.10 |
Register /wp-admin/admin.php?page=c247-register | 3.26 | 34.33 |
Setup /wp-admin/admin.php?page=c247-setup | 3.23 | 33.63 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 15 new files
Database: 2 new tables, 22 new options
New tables |
---|
wp_c247_keywords |
wp_c247_statistics |
New WordPress options |
---|
theysaidso_admin_options |
c247_registered |
widget_theysaidso_widget |
c247_profile_gender |
db_upgraded |
c247_site_title |
recovery_mode_email_last_sent |
c247_show_offers |
c247_db_ver |
widget_recent-posts |
... |
Browser metrics Passed 4 tests
Cashback: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,025 ▲254 | 14.85 ▲0.47 | 5.54 ▲3.61 | 43.39 ▲0.39 |
Dashboard /wp-admin | 2,345 ▲164 | 6.15 ▲0.42 | 114.26 ▲7.48 | 39.10 ▼2.07 |
Posts /wp-admin/edit.php | 2,287 ▲184 | 3.36 ▲1.30 | 54.87 ▲14.81 | 36.12 ▲2.24 |
Add New Post /wp-admin/post-new.php | 1,555 ▲29 | 23.44 ▲5.94 | 666.53 ▼46.54 | 37.23 ▼15.66 |
Media Library /wp-admin/upload.php | 1,431 ▲37 | 4.20 ▼0.18 | 80.76 ▼19.28 | 46.35 ▲3.58 |
Login /wp-admin/admin.php?page=c247-login | 1,024 | 3.16 | 42.03 | 52.69 |
RefreshStatistics /wp-admin/admin.php?page=c247-statistics-refresh | 28 | 0.44 | 0.07 | 6.35 |
Register /wp-admin/admin.php?page=c247-register | 1,081 | 3.07 | 41.82 | 62.49 |
Setup /wp-admin/admin.php?page=c247-setup | 709 | 1.70 | 11.09 | 20.91 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 8 options
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- c247_show_offers
- theysaidso_admin_options
- db_upgraded
- recovery_mode_email_last_sent
- widget_theysaidso_widget
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/admin.php?page=c247-setup
- > Error in wp-content/plugins/cashback/includes/CashBackAdminPanel.php+87
Uncaught Error: Call to undefined function get_current_site() in wp-content/plugins/cashback/includes/CashBackAdminPanel.php:87
Stack trace:
#0 wp-includes/class-wp-hook.php(310): CashBackAdminPanel::AdminSetupBox()
#1 wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
#2 wp-includes/plugin.php(517): WP_Hook->do_action()
#3 wp-admin/admin.php(259): do_action()
#4 {main}
thrown
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'WP_List_Table' not found in wp-content/plugins/cashback/includes/CashBackStatistics.php:9
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please fix the following user-side errors
- > GET request to /wp-admin/admin.php?page=c247-statistics-refresh
- > Network (severe)
wp-admin/admin.php?page=c247-statistics - Failed to load resource: the server responded with a status of 403 (Forbidden)
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Please fix the following attributes:
- Donate link: Invalid URI ("~")
- Screenshots: These screenshots have no corresponding images in /assets: #1 (This screen shot description corresponds to screenshot-1.(png|jpg|jpeg|gif). Note that the screenshot is taken from), #2 (This is the second screen shot)
cashback/cashback.php 92% from 13 tests
"Cashback" version 1.1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
- Domain Path: The domain path folder does not exist ("/lang")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin1,537 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 196 | 186 | 1,501 |
CSS | 1 | 3 | 0 | 19 |
JavaScript | 1 | 0 | 0 | 17 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 22.75 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 120.00 |
Average method complexity | 3.85 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 36.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 | 61 | |
▷ Static methods | 32 | 52.46% |
▷ Public methods | 50 | 81.97% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 11 | 18.03% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 2 | 100.00% |
▷ Public constants | 2 | 100.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 images were found in this plugin