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
Install script ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼12.83ms] Passed 4 tests
This is a short check of server-side resources used by Pushforge web push
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 33.77 ▼11.95 |
Dashboard /wp-admin | 3.34 ▼0.00 | 41.46 ▼18.63 |
Posts /wp-admin/edit.php | 3.39 ▲0.04 | 46.71 ▲0.11 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 77.85 ▼20.80 |
Media Library /wp-admin/upload.php | 3.26 ▲0.04 | 34.33 ▲0.06 |
Pushforge Web Push /wp-admin/options-general.php?page=pushforge-options | 3.23 | 28.08 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Pushforge web push
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.18 ▼1.20 | 1.64 ▼0.58 | 39.80 ▼10.22 |
Dashboard /wp-admin | 2,210 ▲19 | 4.86 ▼1.04 | 111.98 ▲5.11 | 41.69 ▼3.22 |
Posts /wp-admin/edit.php | 2,090 ▲1 | 2.05 ▲0.05 | 39.72 ▲3.99 | 37.23 ▼0.03 |
Add New Post /wp-admin/post-new.php | 1,537 ▲9 | 23.44 ▲0.37 | 653.27 ▲32.43 | 56.98 ▲0.14 |
Media Library /wp-admin/upload.php | 1,395 ▲7 | 4.23 ▼0.01 | 98.76 ▲3.58 | 42.58 ▼1.01 |
Pushforge Web Push /wp-admin/options-general.php?page=pushforge-options | 886 | 2.03 | 25.85 | 27.96 |
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
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
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
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 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
Please fix the following items
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/pushforge-web-push/pushforge-web-push.php
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)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 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
10 plugin tags: web push, safari, push notifications, android, windows...
pushforge-web-push/pushforge-web-push.php Passed 13 tests
The principal PHP file in "Pushforge web push" v. 1.1.2 is loaded by WordPress automatically on each request
54 characters long description:
Integrate pushforge.com web push in you wordpress site
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
Everything looks great! No dangerous files found in this plugin177 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 31 | 27 | 177 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
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 | 6 | |
▷ Named functions | 6 | 100.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
Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin