Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼139.17ms] Passed 4 tests
An overview of server-side resources used by Prompty Web Push Notifications
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.87 ▲0.16 | 44.15 ▲20.35 |
Dashboard /wp-admin | 3.10 ▲0.05 | 48.10 ▼3.52 |
Posts /wp-admin/edit.php | 3.15 ▲0.05 | 48.90 ▲5.00 |
Add New Post /wp-admin/post-new.php | 5.46 ▲0.02 | 96.24 ▼556.85 |
Media Library /wp-admin/upload.php | 3.04 ▲0.04 | 34.93 ▼1.30 |
Prompty /wp-admin/options-general.php?page=prompty | 3.01 | 30.70 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 4 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
This is an overview of browser requirements for Prompty Web Push Notifications
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,708 ▲112 | 15.81 ▲0.28 | 9.38 ▼0.10 | 51.84 ▲0.40 |
Dashboard /wp-admin | 2,978 ▲44 | 6.08 ▲0.17 | 142.38 ▼9.11 | 110.29 ▼11.28 |
Posts /wp-admin/edit.php | 2,741 ▲2 | 2.70 ▼0.01 | 72.10 ▼5.73 | 98.35 ▲7.23 |
Add New Post /wp-admin/post-new.php | 1,686 ▲3 | 18.79 ▲0.02 | 394.60 ▲22.92 | 113.19 ▲0.71 |
Media Library /wp-admin/upload.php | 1,812 ▲5 | 5.03 ▲0.01 | 150.56 ▼8.94 | 123.48 ▼4.57 |
Prompty /wp-admin/options-general.php?page=prompty | 1,176 | 2.09 | 63.71 | 71.80 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The plugin uninstalled completely, with no zombie files or tables
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
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 97% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need to be fixed:
- Tags: Please delete some tags, you are using 12 tag instead of maximum 10
prompty-web-push-notifications/prompty-web-push-notifications.php Passed 13 tests
The principal PHP file in "Prompty Web Push Notifications" v. 1.0.2 is loaded by WordPress automatically on each request
84 characters long description:
Easily integrate the Prompty web push notification service with your WordPress site.
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
No dangerous file extensions were detected187 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 33 | 8 | 186 |
JavaScript | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
This is a very shot review of 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.91 |
Average class complexity | 74.00 |
▷ Minimum class complexity | 74.00 |
▷ Maximum class complexity | 74.00 |
Average method complexity | 8.30 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 45.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 | 10 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 10 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected