Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.14MB] [CPU: ▲2.04ms] Passed 4 tests
A check of server-side resources used by Notifadz by Adrenalead - Web Push Notification
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.13 | 42.91 ▲1.45 |
Dashboard /wp-admin | 3.50 ▲0.19 | 508.27 ▲458.95 |
Posts /wp-admin/edit.php | 3.54 ▲0.18 | 47.84 ▼3.54 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.13 | 96.49 ▲4.26 |
Media Library /wp-admin/upload.php | 3.34 ▲0.11 | 37.27 ▲5.99 |
Server storage [IO: ▲4.13MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 35 new files
Database: no new tables, 9 new options
New WordPress options |
---|
adrenalead_notifadz_need_to_copy_ads |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
adrenalead_notifadz_worker |
adrenalead_notifadz_ads |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Notifadz by Adrenalead - Web Push Notification
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,833 ▲71 | 13.19 ▼1.16 | 1.73 ▼0.02 | 41.42 ▼2.73 |
Dashboard /wp-admin | 2,235 ▲58 | 5.88 ▲0.34 | 96.57 ▼7.28 | 55.23 ▲10.17 |
Posts /wp-admin/edit.php | 2,124 ▲24 | 2.29 ▲0.35 | 41.63 ▲5.14 | 53.02 ▲16.36 |
Add New Post /wp-admin/post-new.php | 1,560 ▲34 | 23.52 ▲0.65 | 711.70 ▲84.98 | 52.23 ▲2.51 |
Media Library /wp-admin/upload.php | 1,443 ▲46 | 4.43 ▲0.24 | 116.15 ▲17.76 | 61.49 ▲20.61 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 9 options
- widget_theysaidso_widget
- adrenalead_notifadz_need_to_copy_ads
- adrenalead_notifadz_ads
- can_compress_scripts
- adrenalead_notifadz_worker
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
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)
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
6 plugin tags: push, web push notification, push messages, notification, web push...
notifadz-by-adrenalead-web-push-notifications/ntdz.php 85% from 13 tests
The primary PHP file in "Notifadz by Adrenalead - Web Push Notification" version 3.0.6 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("notifadz-by-adrenalead-web-push-notifications.php" instead of "ntdz.php")
- Description: Please don't use more than 140 characters for the plugin description (currently 153 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected2,117 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 89 | 41 | 905 |
CSS | 1 | 145 | 1 | 763 |
JavaScript | 3 | 73 | 39 | 440 |
SVG | 1 | 0 | 0 | 9 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
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 | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 1 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 1 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 25 | |
▷ Named functions | 25 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
9 PNG files occupy 3.61MB with 1.90MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
res/img/ntdz_tempperso.png | 6.84KB | 3.48KB | ▼ 49.12% |
res/img/connect_img.png | 158.23KB | 51.75KB | ▼ 67.30% |
res/img/ico_thumb.png | 1.50KB | 1.00KB | ▼ 33.25% |
res/img/dashboard_ntdz.png | 120.69KB | 42.35KB | ▼ 64.91% |
res/img/notifadz.png | 29.74KB | 15.08KB | ▼ 49.32% |