Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼3.58ms] Passed 4 tests
An overview of server-side resources used by Wapuu Dashboard Pet
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 43.13 ▲2.56 |
Dashboard /wp-admin | 3.33 ▼0.02 | 51.75 ▼13.94 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 53.50 ▼0.08 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 94.96 ▼2.87 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 36.82 ▲3.12 |
Wapuu Dashboard Pet /wp-admin/options-general.php?page=WDPet-options | 3.28 | 36.53 |
Wapuu Updates /wp-admin/admin.php?page=WDPet-updates | 3.25 | 35.74 |
Wapuu Additions /wp-admin/admin.php?page=WDPet-add | 3.26 | 32.98 |
Wapuu Display /wp-admin/admin.php?page=WDPet-display | 3.25 | 36.80 |
Server storage [IO: ▲0.23MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 18 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Wapuu Dashboard Pet
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,790 ▲44 | 14.28 ▼0.28 | 1.79 ▲0.29 | 45.06 ▲1.31 |
Dashboard /wp-admin | 2,199 ▲22 | 5.71 ▲0.14 | 84.27 ▼5.86 | 65.41 ▲23.76 |
Posts /wp-admin/edit.php | 2,104 ▲7 | 1.96 ▲0.01 | 41.05 ▲2.15 | 32.48 ▼5.96 |
Add New Post /wp-admin/post-new.php | 1,541 ▲6 | 22.97 ▲4.74 | 697.14 ▲71.80 | 55.16 ▼8.01 |
Media Library /wp-admin/upload.php | 1,401 ▲1 | 4.15 ▼0.04 | 100.83 ▼8.05 | 76.92 ▲32.01 |
Wapuu Dashboard Pet /wp-admin/options-general.php?page=WDPet-options | 905 | 1.99 | 23.71 | 52.30 |
Wapuu Updates /wp-admin/admin.php?page=WDPet-updates | 918 | 1.98 | 24.54 | 22.94 |
Wapuu Additions /wp-admin/admin.php?page=WDPet-add | 894 | 1.99 | 25.27 | 25.60 |
Wapuu Display /wp-admin/admin.php?page=WDPet-display | 838 | 2.03 | 24.61 | 23.33 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% 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
Please fix the following
- 6× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/wapuu-dashboard-pet/templates/admin-page.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/wapuu-dashboard-pet/templates/emailtemplate.php:22
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wapuu-dashboard-pet/wapuu-dashboard-pet.php:522
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/wapuu-dashboard-pet/templates/admin-add.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html__() in wp-content/plugins/wapuu-dashboard-pet/templates/admin-updates.php:21
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/wapuu-dashboard-pet/templates/admin-display.php:12
- > PHP Fatal error
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 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that need to be fixed:
- Requires at least: Version format is invalid
- Requires php: Version format is invalid
wapuu-dashboard-pet/wapuu-dashboard-pet.php Passed 13 tests
The main file in "Wapuu Dashboard Pet" v. 1.3.5 serves as a complement to information provided in readme.txt and as the entry point to the plugin
59 characters long description:
Adds a digital pet to your site who lives off your updates.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected1,406 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 5 | 0 | 5 | 869 |
PHP | 6 | 352 | 112 | 537 |
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.33 |
Average class complexity | 52.00 |
▷ Minimum class complexity | 52.00 |
▷ Maximum class complexity | 52.00 |
Average method complexity | 3.43 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.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 | 21 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 20 | 95.24% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 4.76% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
6 PNG files occupy 0.13MB with 0.03MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/verysick.png | 37.77KB | 15.35KB | ▼ 59.37% |
images/banner.png | 52.49KB | 21.89KB | ▼ 58.30% |
images/sad.png | 8.99KB | 8.95KB | 0.47% |
images/dead.png | 13.75KB | 13.68KB | ▼ 0.51% |
images/happy.png | 9.72KB | 9.64KB | ▼ 0.78% |