Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.14MB] [CPU: ▼1.82ms] Passed 4 tests
A check of server-side resources used by Feedify - Web Push Notifications
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.15 | 37.66 ▼7.13 |
Dashboard /wp-admin | 3.43 ▲0.13 | 49.15 ▼9.16 |
Posts /wp-admin/edit.php | 3.55 ▲0.19 | 52.55 ▲7.30 |
Add New Post /wp-admin/post-new.php | 6.05 ▲0.16 | 1,015.44 ▲919.97 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 37.02 ▲1.71 |
Settings /wp-admin/admin.php?page=feedify-settings | 3.34 | 36.63 |
Server storage [IO: ▲0.58MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 25 new files
Database: no new tables, 12 new options
New WordPress options |
---|
feedify_domain_key |
widget_theysaidso_widget |
feedify_permalinks_flushed |
widget_recent-comments |
feedify_public_key |
db_upgraded |
feedify_enable_ssl |
can_compress_scripts |
feedify_licence_key |
feedify_plugin_status |
... |
Browser metrics Passed 4 tests
A check of browser resources used by Feedify - Web Push Notifications
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,090 ▲329 | 14.23 ▼0.36 | 15.46 ▲13.30 | 44.89 ▲1.42 |
Dashboard /wp-admin | 2,231 ▲28 | 5.04 ▲0.18 | 107.97 ▼14.38 | 74.75 ▲27.22 |
Posts /wp-admin/edit.php | 2,128 ▲28 | 2.03 ▲0.02 | 38.73 ▲1.39 | 34.04 ▼0.83 |
Add New Post /wp-admin/post-new.php | 6,245 ▲4,705 | 26.20 ▲8.03 | 994.81 ▲376.07 | 53.49 ▲3.62 |
Media Library /wp-admin/upload.php | 1,422 ▲22 | 4.26 ▲0.03 | 100.00 ▼9.32 | 82.47 ▲35.75 |
Settings /wp-admin/admin.php?page=feedify-settings | 882 | 2.18 | 29.39 | 31.55 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options were found after uninstall: 12 options
- feedify_licence_key
- theysaidso_admin_options
- feedify_enable_ssl
- feedify_permalinks_flushed
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- feedify_plugin_status
- can_compress_scripts
- feedify_domain_key
- ...
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please take a closer look at the following
- 4× PHP files output text when accessed directly:
- > /wp-content/plugins/push-notification-by-feedify/views/push-settings.php
- > /wp-content/plugins/push-notification-by-feedify/views/update-plan.php
- > /wp-content/plugins/push-notification-by-feedify/views/desktop-settings.php
- > /wp-content/plugins/push-notification-by-feedify/feedify.php
- 12× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_nonce_field() in wp-content/plugins/push-notification-by-feedify/views/push-settings.php:234
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/push-notification-by-feedify/includes/settings.php:58
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/push-notification-by-feedify/includes/admin-menu.php:76
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/push-notification-by-feedify/views/manage-push.php on line 3
- > PHP Warning
require_once(FEEDIFY_PATHincludes/FeedifySW.class.php): failed to open stream: No such file or directory in wp-content/plugins/push-notification-by-feedify/init.php on line 3
- > PHP Fatal error
require_once(): Failed opening required 'FEEDIFY_PATHincludes/FeedifySW.class.php' (include_path='.:/usr/share/php') in wp-content/plugins/push-notification-by-feedify/init.php on line 3
- > PHP Warning
Use of undefined constant FEEDIFY_PATH - assumed 'FEEDIFY_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/push-notification-by-feedify/init.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_nonce_field() in wp-content/plugins/push-notification-by-feedify/views/settings.php:136
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/push-notification-by-feedify/views/manage-push.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/push-notification-by-feedify/includes/base.php:3
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There are user-side issues you should fix
- > GET request to /wp-admin/admin.php?page=feedify-settings
- > Network (severe)
https://sftextures.com/texture/2748/0/2743/corner-pattern-background-light-grey-color-squared-90-degrees-lines-seamless-wallpaper-texture.jpg - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 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
These attributes need to be fixed:
- Donate link: Invalid URI ("")
- Tags: There are too many tags (29 tag instead of maximum 10)
push-notification-by-feedify/feedify.php 85% from 13 tests
The main file in "Feedify - Web Push Notifications" v. 2.3.8 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("push-notification-by-feedify.php" instead of "feedify.php")
- Description: The description should be shorter than 140 characters (currently 194 characters long)
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
Success! There were no dangerous files found in this plugin1,552 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 15 | 322 | 44 | 1,518 |
JavaScript | 2 | 5 | 4 | 34 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 8.67 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 12.00 |
Average method complexity | 2.15 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 20 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 18 | 90.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 10.00% |
Functions | 29 | |
▷ Named functions | 29 | 100.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 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
6 PNG files occupy 0.52MB with 0.28MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
views/no-image-icon.png | 2.68KB | 1.62KB | ▼ 39.55% |
Screenshot-3.png | 155.71KB | 98.91KB | ▼ 36.48% |
Screenshot-1.png | 256.56KB | 79.36KB | ▼ 69.07% |
assets/img/feedify-grey-logo-20x20.png | 1.29KB | 0.60KB | ▼ 53.36% |
Screenshot-4.png | 105.33KB | 34.59KB | ▼ 67.16% |