Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼9.34ms] Passed 4 tests
Analyzing server-side resources used by Pushvault Push Notifications
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 38.65 ▼0.31 |
Dashboard /wp-admin | 3.33 ▲0.02 | 46.65 ▼21.85 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 46.21 ▼1.78 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 96.77 ▼13.42 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 36.05 ▲2.52 |
Webpush Notifications /wp-admin/options-general.php?page=pushvault-push-notifications/includes/pushvault_adminpage_frontend.php | 3.22 | 30.68 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 22 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Pushvault Push Notifications
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,938 ▲203 | 13.62 ▼1.13 | 5.55 ▲3.84 | 38.38 ▼3.53 |
Dashboard /wp-admin | 2,212 ▲24 | 5.90 ▲0.86 | 103.15 ▼8.68 | 40.50 ▲2.44 |
Posts /wp-admin/edit.php | 2,096 ▲4 | 2.17 ▲0.18 | 34.61 ▼6.79 | 33.86 ▼1.53 |
Add New Post /wp-admin/post-new.php | 1,548 ▲6 | 18.55 ▲0.20 | 593.34 ▼26.64 | 55.14 ▼7.87 |
Media Library /wp-admin/upload.php | 1,398 ▲7 | 4.24 ▼0.00 | 95.83 ▼4.33 | 43.58 ▼1.45 |
Webpush Notifications /wp-admin/options-general.php?page=pushvault-push-notifications/includes/pushvault_adminpage_frontend.php | 817 | 1.67 | 24.34 | 27.70 |
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 detected upon uninstall: 6 options
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
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/options-general.php?page=pushvault-push-notifications/includes/pushvault_adminpage_frontend.php
- > Notice in wp-content/plugins/pushvault-push-notifications/includes/pushvault_adminpage_frontend.php+35
Undefined variable: error
- > GET request to /wp-admin/options-general.php?page=pushvault-push-notifications/includes/pushvault_adminpage_frontend.php
- > Notice in wp-content/plugins/pushvault-push-notifications/includes/pushvault_adminpage_frontend.php+36
Undefined index: pvlt-uid
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
The following issues need your attention
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/pushvault-push-notifications/pushvault.php
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please fix the following user-side errors
- > GET request to /wp-admin/options-general.php?page=pushvault-push-notifications/includes/pushvault_adminpage_frontend.php
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28609 "jQuery.Deferred exception: Cannot read properties of undefined (reading 'model')" "TypeError: Cannot read properties of undefined (reading 'model')\n at HTMLDocument.\u003Canonymous> (/wp-admin/options-general.php?page=pushvault-push-notifications%2Fincludes%2Fpushvault_adminpage_frontend.php:170:36)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:27292)" undefined
- > GET request to /wp-admin/options-general.php?page=pushvault-push-notifications/includes/pushvault_adminpage_frontend.php
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28721 Uncaught TypeError: Cannot read properties of undefined (reading 'model')
- > GET request to /wp-admin/options-general.php?page=pushvault-push-notifications/includes/pushvault_adminpage_frontend.php
- > Network (severe)
https://domains.squadhelp.com/lpd/name/pushvault.com - Failed to load resource: the server responded with a status of 403 ()
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
8 plugin tags: webmaster, pushvault, notification, push notification, push...
pushvault-push-notifications/pushvault.php 85% from 13 tests
"Pushvault Push Notifications" version 1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("pushvault-push-notifications.php" instead of "pushvault.php")
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 159 characters long)
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
Good job! No executable or dangerous file extensions detected813 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 15 | 29 | 618 |
CSS | 2 | 4 | 4 | 173 |
JavaScript | 2 | 0 | 0 | 21 |
JSON | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 9 | |
▷ Named functions | 9 | 100.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
PNG files should be compressed to save space and minimize bandwidth usage
2 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
resources/default_logo.png | 7.59KB | 2.88KB | ▼ 62.09% |
resources/pushvault_thumb.png | 1.82KB | 1.34KB | ▼ 26.33% |