Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.02MB] [CPU: ▼9.61ms] Passed 4 tests
This is a short check of server-side resources used by PushPanda.io - Free Web Push Notifications
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 40.07 ▲3.29 |
Dashboard /wp-admin | 3.33 ▲0.03 | 44.32 ▼4.56 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 46.27 ▼8.70 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 82.18 ▼22.58 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 34.53 ▼2.60 |
PushPanda.io /wp-admin/options-general.php?page=pushpanda_settings | 3.22 | 34.95 |
Server storage [IO: ▲0.14MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 16 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for PushPanda.io - Free Web Push Notifications
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,811 ▲50 | 14.28 ▼0.07 | 1.71 ▲0.18 | 43.94 ▲4.89 |
Dashboard /wp-admin | 2,217 ▲46 | 5.62 ▲0.05 | 83.42 ▼0.85 | 38.62 ▼8.06 |
Posts /wp-admin/edit.php | 2,122 ▲22 | 2.00 ▼0.00 | 34.88 ▲0.58 | 36.11 ▼2.80 |
Add New Post /wp-admin/post-new.php | 1,543 ▲17 | 23.22 ▼0.24 | 657.70 ▼82.61 | 55.63 ▼2.07 |
Media Library /wp-admin/upload.php | 1,425 ▲25 | 4.19 ▼0.07 | 96.24 ▼7.11 | 42.03 ▼3.82 |
PushPanda.io /wp-admin/options-general.php?page=pushpanda_settings | 918 | 2.19 | 24.62 | 27.53 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
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
Almost there! Just fix the following items
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/pushpanda-free-web-push-notifications/pushpanda.php
- > /wp-content/plugins/pushpanda-free-web-push-notifications/sdk/PushPandaWorker.js.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
- Tags: Too many tags (16 tag instead of maximum 10); only the first 5 tags are used in your directory listing
pushpanda-free-web-push-notifications/pushpanda.php 77% from 13 tests
The entry point to "PushPanda.io - Free Web Push Notifications" version 1.1.0 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Main file name: The principal plugin file should be the same as the plugin slug ("pushpanda-free-web-push-notifications.php" instead of "pushpanda.php")
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Description: Please don't use more than 140 characters for the plugin description (currently 210 characters long)
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
Success! There were no dangerous files found in this plugin326 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 12 | 21 | 136 |
PHP | 3 | 27 | 23 | 132 |
SVG | 2 | 1 | 1 | 57 |
JavaScript | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
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 | 8 | |
▷ Named functions | 8 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
3 PNG files occupy 0.10MB with 0.06MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/pushpanda_web_push_free.png | 44.34KB | 15.88KB | ▼ 64.18% |
assets/pushpanda-logo-header.png | 7.54KB | 4.12KB | ▼ 45.32% |
assets/pushpanda_features.png | 51.20KB | 20.45KB | ▼ 60.06% |