Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.02MB] [CPU: ▼5.95ms] Passed 4 tests
An overview of server-side resources used by Firebase Push Notification
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 40.34 ▼0.36 |
Dashboard /wp-admin | 3.32 ▲0.02 | 45.49 ▼1.01 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 48.32 ▼0.45 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 82.72 ▼21.98 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 34.10 ▲0.85 |
Wordpress Firebase Push Notification /wp-admin/options-general.php?page=fcm_slug | 3.26 | 32.07 |
Test Notification /wp-admin/admin.php?page=test_notification | 3.21 | 169.61 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Firebase Push Notification
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,808 ▲73 | 13.23 ▼1.14 | 1.52 ▼0.30 | 37.78 ▼2.27 |
Dashboard /wp-admin | 2,217 ▲29 | 4.86 ▼0.04 | 107.77 ▲2.63 | 35.95 ▼5.17 |
Posts /wp-admin/edit.php | 2,097 ▲11 | 2.16 ▲0.14 | 39.52 ▲0.04 | 35.17 ▲0.71 |
Add New Post /wp-admin/post-new.php | 1,521 ▼9 | 23.37 ▲5.00 | 662.93 ▲31.08 | 51.61 ▼3.25 |
Media Library /wp-admin/upload.php | 1,396 ▲14 | 4.31 ▲0.11 | 93.53 ▼5.98 | 42.15 ▼2.01 |
Wordpress Firebase Push Notification /wp-admin/options-general.php?page=fcm_slug | 898 | 2.16 | 25.17 | 27.90 |
Test Notification /wp-admin/admin.php?page=test_notification | 775 | 2.19 | 23.07 | 29.54 |
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
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration Passed 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
7 plugin tags: fcm, firebase cloud messsaging, firebase cloud messsaging on page save, firebase cloud messsaging for adroid, fcm push notification...
wp-firebase-push-notification/wp-firebase-push-notification.php Passed 13 tests
The principal PHP file in "Firebase Push Notification" v. 3.2 is loaded by WordPress automatically on each request
36 characters long description:
Wordpress Firebase Push Notification
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin205 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 68 | 25 | 204 |
JavaScript | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 15.00 |
▷ Minimum class complexity | 15.00 |
▷ Maximum class complexity | 15.00 |
Average method complexity | 2.17 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.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 | 12 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 12 | 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 | 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
There were not PNG files found in your plugin