Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
These installer errors require your attention
- The plugin cannot be installed
- > Deprecated in wp-content/plugins/feeder-ninja-feed/feederninja-widget.php+15
Function create_function() is deprecated
Server metrics [RAM: ▼1.97MB] [CPU: ▼56.42ms] Passed 4 tests
An overview of server-side resources used by Feeder Ninja: Create and add RSS & Social feeds to your website on-the-fly
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.03 ▼1.44 | 4.30 ▼33.22 |
Dashboard /wp-admin | 2.05 ▼1.30 | 5.35 ▼55.71 |
Posts /wp-admin/edit.php | 2.05 ▼1.31 | 5.21 ▼39.28 |
Add New Post /wp-admin/post-new.php | 2.05 ▼3.84 | 5.84 ▼97.46 |
Media Library /wp-admin/upload.php | 2.05 ▼1.18 | 4.97 ▼26.69 |
Server storage [IO: ▲0.44MB] [DB: ▲0.07MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 10 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_feederninja_widget |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Feeder Ninja: Create and add RSS & Social feeds to your website on-the-fly
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 14.74 ▲0.12 | 1.77 ▼0.03 | 45.01 ▲4.49 |
Dashboard /wp-admin | 2,206 ▲14 | 5.88 ▼0.04 | 99.26 ▼8.51 | 39.60 ▼3.59 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.02 ▲0.00 | 36.98 ▼0.17 | 33.70 ▼0.60 |
Add New Post /wp-admin/post-new.php | 1,534 ▲9 | 22.94 ▼0.27 | 636.01 ▲44.64 | 47.40 ▼18.28 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.24 ▲0.02 | 96.93 ▲3.57 | 45.96 ▲2.86 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- This plugin did not uninstall without warnings or errors
- > Deprecated in wp-content/plugins/feeder-ninja-feed/feederninja-widget.php+15
Function create_function() is deprecated
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- widget_feederninja_widget
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% 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 fix the following items
- 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/feeder-ninja-feed/feederninja-widget.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
- Tags: Too many tags (25 tag instead of maximum 10); only the first 5 tags are used in your directory listing
feeder-ninja-feed/feederninja-widget.php 85% from 13 tests
The main PHP file in "Feeder Ninja: Create and add RSS & Social feeds to your website on-the-fly" ver. 2.1.0 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("feeder-ninja-feed.php" instead of "feederninja-widget.php")
- Description: Keep the plugin description shorter than 140 characters (currently 173 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
There were no executable files found in this plugin114 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 39 | 72 | 114 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.12 |
Average class complexity | 7.00 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 2.20 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.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 | 5 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 5 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
4 PNG files occupy 0.22MB with 0.14MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 67.05KB | 20.26KB | ▼ 69.79% |
screenshot-3.png | 50.92KB | 20.82KB | ▼ 59.11% |
screenshot-4.png | 81.71KB | 25.34KB | ▼ 68.99% |
screenshot-1.png | 21.63KB | 8.90KB | ▼ 58.84% |