Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼1.44ms] Passed 4 tests
Server-side resources used by ARROWDAN Notifier
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 35.38 ▼9.24 |
Dashboard /wp-admin | 3.36 ▲0.05 | 48.52 ▲1.76 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 49.27 ▲5.92 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.06 | 87.43 ▼0.15 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 33.84 ▲1.87 |
ARROWDAN Notifier /wp-admin/options-general.php?page=arrowdan-notifier-settings | 3.25 | 31.66 |
Test Notification /wp-admin/admin.php?page=arrowdan-test-notification | 3.26 | 157.42 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for ARROWDAN Notifier
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲94 | 13.19 ▲0.00 | 1.79 ▼0.40 | 41.02 ▼3.81 |
Dashboard /wp-admin | 2,210 ▲22 | 5.85 ▼0.03 | 105.24 ▼8.94 | 38.20 ▼6.53 |
Posts /wp-admin/edit.php | 2,090 ▼2 | 2.01 ▼0.00 | 39.98 ▼0.46 | 34.87 ▲0.90 |
Add New Post /wp-admin/post-new.php | 6,481 ▲4,948 | 20.10 ▼3.02 | 959.22 ▲306.70 | 62.17 ▲3.30 |
Media Library /wp-admin/upload.php | 1,395 ▲7 | 4.21 ▲0.00 | 94.04 ▼3.13 | 43.30 ▼1.62 |
ARROWDAN Notifier /wp-admin/options-general.php?page=arrowdan-notifier-settings | 809 | 2.06 | 25.30 | 25.50 |
Test Notification /wp-admin/admin.php?page=arrowdan-test-notification | 669 | 1.14 | 6.69 | 19.78 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
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: flutter, firebase, notification, notifier, ios...
arrowdan-notifier/arrowdan-notifier.php Passed 13 tests
The main PHP script in "ARROWDAN Notifier" version 1.0.1 is automatically included on every request by WordPress
73 characters long description:
Notify users using Firebase Cloud Messaging (FCM) when post is published.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin231 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 23 | 15 | 231 |
PHP code Passed 2 tests
This is a short overview 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.36 |
Average class complexity | 13.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 25.00 |
Average method complexity | 2.71 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.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 | 14 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 14 | 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
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin