Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.56MB] [CPU: ▼157.62ms] Passed 4 tests
Server-side resources used by Browser Push Notification By Convertifier
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.90 ▲0.18 | 33.36 ▲8.55 |
Dashboard /wp-admin | 3.09 ▲0.04 | 41.72 ▼5.02 |
Posts /wp-admin/edit.php | 3.21 ▲0.10 | 47.73 ▼0.27 |
Add New Post /wp-admin/post-new.php | 2.97 ▼2.46 | 27.75 ▼625.71 |
Media Library /wp-admin/upload.php | 3.07 ▲0.07 | 36.72 ▲0.52 |
Server storage [IO: ▲0.36MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 17 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for Browser Push Notification By Convertifier
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,971 ▲375 | 16.33 ▲1.04 | 9.19 ▲0.06 | 50.34 ▲2.05 |
Dashboard /wp-admin | 3,247 ▲313 | 7.05 ▲0.91 | 158.85 ▼2.77 | 141.77 ▲27.08 |
Posts /wp-admin/edit.php | 2,783 ▲44 | 2.69 ▲0.00 | 70.41 ▲0.58 | 91.48 ▲4.53 |
Add New Post /wp-admin/post-new.php | 1,581 ▼102 | 16.87 ▼2.07 | 361.40 ▼41.90 | 120.27 ▲2.38 |
Media Library /wp-admin/upload.php | 1,851 ▲41 | 5.01 ▲0.01 | 165.88 ▲14.96 | 129.37 ▲11.00 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The plugin uninstalled successfully, without leaving any zombie files or tables
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
- 2× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/convertifier-browser-push-notification/manifest.json.php
- > /wp-content/plugins/convertifier-browser-push-notification/sdk/ConvertifierSDKWorker.js.php
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function getUserIP() in wp-content/plugins/convertifier-browser-push-notification/integrate/_ini.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
6 plugin tags: push notification, browser push notification, browser push, convertifier, push notifications...
convertifier-browser-push-notification/convertifier-push.php 85% from 13 tests
"Browser Push Notification By Convertifier" version 1.1.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("convertifier-browser-push-notification.php" instead of "convertifier-push.php")
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 294 characters long)
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
There were no executable files found in this plugin722 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 36 | 29 | 668 |
CSS | 1 | 0 | 2 | 54 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
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 | 26 | |
▷ Named functions | 25 | 96.15% |
▷ Anonymous functions | 1 | 3.85% |
Constants | 5 | |
▷ Global constants | 5 | 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
9 PNG files occupy 0.32MB with 0.14MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/icn-stats.png | 0.29KB | 0.25KB | ▼ 14.53% |
images/notification-preveiw-5.png | 18.25KB | 8.11KB | ▼ 55.55% |
images/notification-preveiw-3.png | 24.24KB | 13.42KB | ▼ 44.65% |
images/notification-preveiw-2.png | 40.80KB | 21.02KB | ▼ 48.48% |
images/notification-preveiw-6.png | 46.61KB | 21.35KB | ▼ 54.18% |