Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼7.54ms] Passed 4 tests
A check of server-side resources used by FCM Push Notification from WP
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 39.22 ▲0.04 |
Dashboard /wp-admin | 3.38 ▲0.03 | 44.40 ▼17.19 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 47.48 ▼5.05 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 86.47 ▼7.95 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 36.77 ▲1.47 |
Test Notification /wp-admin/admin.php?page=test_push_notification | 3.28 | 281.47 |
FCM Push Notification from WP /wp-admin/options-general.php?page=fcmdpplgpn_push_notification | 3.31 | 35.71 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for FCM Push Notification from WP
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.29 ▼1.08 | 1.70 ▼0.15 | 46.05 ▼0.31 |
Dashboard /wp-admin | 2,213 ▲22 | 4.84 ▼0.01 | 98.26 ▼11.10 | 39.56 ▼6.06 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 1.99 ▼0.06 | 35.10 ▼6.15 | 31.63 ▼5.20 |
Add New Post /wp-admin/post-new.php | 1,536 ▲7 | 23.22 ▲5.07 | 686.59 ▲43.62 | 53.40 ▼0.36 |
Media Library /wp-admin/upload.php | 1,386 ▲1 | 4.23 ▲0.04 | 95.58 ▼2.72 | 42.32 ▼5.37 |
Test Notification /wp-admin/admin.php?page=test_push_notification | 667 | 1.53 | 6.64 | 22.40 |
FCM Push Notification from WP /wp-admin/options-general.php?page=fcmdpplgpn_push_notification | 916 | 2.16 | 23.66 | 25.35 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, 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
The SRP test was a success
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 96% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
7 plugin tags: firebase, flutter, notification, ios, fcm...
fcm-push-notification-from-wp/fcm-dp-push-notification.php 92% from 13 tests
Analyzing the main PHP file in "FCM Push Notification from WP" version 1.9.0
You should first fix the following items:
- Main file name: Name the main plugin file the same as the plugin slug ("fcm-push-notification-from-wp.php" instead of "fcm-dp-push-notification.php")
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
Good job! No executable or dangerous file extensions detected366 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 142 | 108 | 366 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 19.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 37.00 |
Average method complexity | 3.12 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 17 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 16 | 94.12% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 5.88% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin