Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.05MB] [CPU: ▼7.89ms] Passed 4 tests
An overview of server-side resources used by SendPulse Free Web Push
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 40.85 ▼1.45 |
Dashboard /wp-admin | 3.37 ▲0.02 | 49.22 ▼8.17 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 46.73 ▲2.12 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 79.21 ▼24.05 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 36.06 ▲3.57 |
WebPush /wp-admin/admin.php?page=sendpulse-web-push/settings.php | 3.26 | 32.97 |
FAQ /wp-admin/admin.php?page=sendpulse-web-push/faq.php | 3.26 | 30.24 |
Settings /wp-admin/admin.php?page=manage_options | 3.26 | 31.30 |
Server storage [IO: ▲0.05MB] [DB: ▲0.07MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 17 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for SendPulse Free Web Push
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,826 ▲80 | 13.56 ▼1.19 | 1.69 ▼0.15 | 45.18 ▲2.24 |
Dashboard /wp-admin | 2,235 ▲44 | 5.79 ▲0.93 | 101.74 ▲0.07 | 67.45 ▲25.35 |
Posts /wp-admin/edit.php | 2,115 ▲29 | 2.01 ▼0.01 | 36.82 ▼0.11 | 33.33 ▼0.09 |
Add New Post /wp-admin/post-new.php | 1,536 ▲22 | 23.08 ▲5.39 | 724.04 ▲38.56 | 52.40 ▼4.86 |
Media Library /wp-admin/upload.php | 1,408 ▲23 | 4.13 ▼0.10 | 103.06 ▼3.64 | 47.56 ▲3.68 |
WebPush /wp-admin/admin.php?page=sendpulse-web-push/settings.php | 835 | 2.02 | 24.59 | 26.69 |
FAQ /wp-admin/admin.php?page=sendpulse-web-push/faq.php | 834 | 2.02 | 23.98 | 31.04 |
Settings /wp-admin/admin.php?page=manage_options | 838 | 2.02 | 24.77 | 34.69 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Tags: Too many tags (33 tag instead of maximum 10); only the first 5 tags are used in your directory listing
sendpulse-web-push/init.php 77% from 13 tests
The entry point to "SendPulse Free Web Push" version 1.3.1 is a PHP file that has certain tags in its header comment area
The following require your attention:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Main file name: Name the main plugin file the same as the plugin slug ("sendpulse-web-push.php" instead of "init.php")
- Description: The description should be shorter than 140 characters (currently 632 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin538 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 51 | 23 | 278 |
PO File | 2 | 43 | 69 | 198 |
JavaScript | 3 | 9 | 4 | 55 |
JSON | 1 | 0 | 0 | 5 |
CSS | 1 | 0 | 0 | 2 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 1.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1.00 |
Average method complexity | 1.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 1.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 3 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 3 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 15 | |
▷ Named functions | 15 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/menu_icon.png | 0.67KB | 0.71KB | 0.00% |