Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.11MB] [CPU: ▲0.53ms] Passed 4 tests
A check of server-side resources used by Zaki Push Notification
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 46.94 ▲4.79 |
Dashboard /wp-admin | 3.42 ▲0.12 | 53.77 ▲0.98 |
Posts /wp-admin/edit.php | 3.54 ▲0.19 | 58.01 ▲10.13 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.12 | 102.41 ▼5.61 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 40.50 ▲1.96 |
Credits /wp-admin/admin.php?page=zaki-push-notification-credits | 3.30 | 37.36 |
Zaki Push Notification /wp-admin/admin.php?page=zaki-push-notification | 3.30 | 38.58 |
Documentation /wp-admin/admin.php?page=zaki-push-notification-documentation | 3.30 | 35.47 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] 67% from 3 tests
Analyzing filesystem and database footprints of this plugin
Please try to fix the following items
- You have illegally modified 1 file (4.00KB) outside of "wp-content/plugins/zaki-push-notification/" and "wp-content/uploads/"
- (new file) wp-content/mgd_mirror/mgd_maximinodotpy-gitdown-test-repository
Filesystem: 8 new files
Database: 1 new table, 8 new options
New tables |
---|
wp_zaki_push_notification |
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
zaki_push_notification_options |
widget_recent-posts |
zaki_push_notification_fistactivationcheck |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Zaki Push Notification
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,987 ▲226 | 14.69 ▼0.03 | 1.85 ▼0.03 | 44.00 ▼0.77 |
Dashboard /wp-admin | 2,393 ▲187 | 6.43 ▲0.52 | 128.46 ▲29.50 | 40.06 ▼6.22 |
Posts /wp-admin/edit.php | 2,298 ▲198 | 3.34 ▲1.33 | 55.45 ▲16.69 | 34.88 ▲3.08 |
Add New Post /wp-admin/post-new.php | 1,708 ▲163 | 22.60 ▼0.51 | 570.32 ▼44.72 | 31.92 ▼33.24 |
Media Library /wp-admin/upload.php | 1,432 ▲29 | 4.08 ▼0.16 | 84.81 ▼17.63 | 42.79 ▼4.97 |
Credits /wp-admin/admin.php?page=zaki-push-notification-credits | 987 | 3.02 | 39.76 | 37.25 |
Zaki Push Notification /wp-admin/admin.php?page=zaki-push-notification | 1,096 | 3.02 | 43.35 | 27.14 |
Documentation /wp-admin/admin.php?page=zaki-push-notification-documentation | 1,046 | 3.04 | 39.04 | 26.60 |
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
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- zaki_push_notification_options
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These server-side errors were triggered
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=zaki-push-notification-documentation
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=zaki-push-notification-documentation
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
SRP 50% from 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 following issues need your attention
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/zaki-push-notification/zaki-push-notification.php:17
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please fix the following user-side errors
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=zaki-push-notification-documentation
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.3.1 1:28609 "jQuery.Deferred exception: jQuery(...).live is not a function" "TypeError: jQuery(...).live is not a function\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/zaki-push-notification/js/js-zaki-push-notification.js?ver=6.3.1:7:39)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.3.1:2:27292)" undefined
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=zaki-push-notification-documentation
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.3.1 1:28721 Uncaught TypeError: jQuery(...).live is not a function
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Please fix the following attributes:
- Screenshots: These screenshots do not have images: #1 (The button for notifications appears on the edit page), #2 (Settings page)
zaki-push-notification/zaki-push-notification.php Passed 13 tests
The main PHP file in "Zaki Push Notification" ver. 1.1 adds more information about the plugin and also serves as the entry point for this plugin
64 characters long description:
Add Apple Push Notification system for post and custom post type
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected507 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 70 | 44 | 457 |
CSS | 1 | 8 | 2 | 28 |
JavaScript | 1 | 11 | 7 | 22 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 12.00 |
▷ Minimum class complexity | 12.00 |
▷ Maximum class complexity | 12.00 |
Average method complexity | 3.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 1 | 100.00% |
Methods | 4 | |
▷ Static methods | 4 | 100.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 25 | |
▷ Named functions | 25 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.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
PNG images were not found in this plugin