Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.62MB] [CPU: ▲9.71ms] Passed 4 tests
Analyzing server-side resources used by RSS Redirect & Feedburner Alternative
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.10 ▲0.63 | 51.00 ▲11.21 |
Dashboard /wp-admin | 3.92 ▲0.61 | 61.01 ▲15.20 |
Posts /wp-admin/edit.php | 4.02 ▲0.66 | 62.30 ▲16.14 |
Add New Post /wp-admin/post-new.php | 6.52 ▲0.63 | 98.25 ▼3.73 |
Media Library /wp-admin/upload.php | 3.85 ▲0.61 | 55.23 ▲17.52 |
Server storage [IO: ▲1.23MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 192 new files
Database: 1 new table, 13 new options
New tables |
---|
wp_sfm_redirects |
New WordPress options |
---|
sfm_activate |
can_compress_scripts |
SFM_pluginVersion |
theysaidso_admin_options |
widget_sfm-widget |
SFM_RatingDiv |
widget_recent-comments |
analyst_cache |
db_upgraded |
widget_theysaidso_widget |
... |
Browser metrics Passed 4 tests
A check of browser resources used by RSS Redirect & Feedburner Alternative
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,095 ▲334 | 14.34 ▲0.07 | 1.61 ▼0.09 | 35.97 ▼7.26 |
Dashboard /wp-admin | 2,481 ▲304 | 5.67 ▲0.08 | 100.71 ▲8.78 | 110.50 ▲70.91 |
Posts /wp-admin/edit.php | 2,407 ▲310 | 2.03 ▲0.04 | 40.60 ▲5.01 | 46.42 ▲10.46 |
Add New Post /wp-admin/post-new.php | 1,825 ▲288 | 21.52 ▲3.46 | 673.27 ▲29.14 | 47.23 ▼13.35 |
Media Library /wp-admin/upload.php | 1,692 ▲292 | 4.28 ▲0.08 | 106.01 ▲8.23 | 79.77 ▲35.99 |
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
The following items require your attention
- Zombie WordPress options were found after uninstall: 10 options
- widget_theysaidso_widget
- analyst_cache
- widget_sfm-widget
- theysaidso_admin_options
- SFM_installDate
- can_compress_scripts
- widget_recent-comments
- SFM_RatingDiv
- widget_recent-posts
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% from 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
Almost there! Just fix the following items
- 4× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/feedburner-alternative-and-rss-redirect/analyst/templates/forms/install.php
- > /wp-content/plugins/feedburner-alternative-and-rss-redirect/analyst/templates/optout.php
- > /wp-content/plugins/feedburner-alternative-and-rss-redirect/analyst/templates/forms/deactivate.php
- > /wp-content/plugins/feedburner-alternative-and-rss-redirect/analyst/templates/optin.php
- 27× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to a member function getPluginName() on null in wp-content/plugins/feedburner-alternative-and-rss-redirect/analyst/templates/notice.php:3
- > PHP Fatal error
Uncaught Error: Class 'Analyst\\Http\\Requests\\AbstractLoggerRequest' not found in wp-content/plugins/feedburner-alternative-and-rss-redirect/analyst/src/Http/Requests/InstallRequest.php:14
- > PHP Fatal error
Uncaught Error: Interface 'Analyst\\Contracts\\CacheContract' not found in wp-content/plugins/feedburner-alternative-and-rss-redirect/analyst/src/Cache/DatabaseCache.php:12
- > PHP Fatal error
Uncaught Error: Class 'Analyst\\Http\\Requests\\AbstractLoggerRequest' not found in wp-content/plugins/feedburner-alternative-and-rss-redirect/analyst/src/Http/Requests/OptOutRequest.php:18
- > PHP Fatal error
Uncaught Error: Interface 'Analyst\\Contracts\\RequestContract' not found in wp-content/plugins/feedburner-alternative-and-rss-redirect/analyst/src/Http/Requests/AbstractLoggerRequest.php:10
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/feedburner-alternative-and-rss-redirect/libs/sfmWidget.class.php:5
- > PHP Fatal error
Uncaught Error: Class 'Analyst\\Core\\AbstractFactory' not found in wp-content/plugins/feedburner-alternative-and-rss-redirect/analyst/src/Notices/NoticeFactory.php:7
- > PHP Fatal error
Uncaught Error: Interface 'Analyst\\Contracts\\HttpClientContract' not found in wp-content/plugins/feedburner-alternative-and-rss-redirect/analyst/src/Http/CurlHttpClient.php:8
- > PHP Fatal error
Uncaught Error: Interface 'Analyst\\Contracts\\RequestorContract' not found in wp-content/plugins/feedburner-alternative-and-rss-redirect/analyst/src/ApiRequestor.php:9
- > PHP Notice
Undefined variable: pluginToInstall in wp-content/plugins/feedburner-alternative-and-rss-redirect/analyst/templates/forms/install.php on line 1
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Tags: There are too many tags (12 tag instead of maximum 10)
feedburner-alternative-and-rss-redirect/rss_redirect.php 92% from 13 tests
This is the main PHP file of "RSS Redirect & Feedburner Alternative" version 3.9, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please make the necessary changes and fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("feedburner-alternative-and-rss-redirect.php" instead of "rss_redirect.php")
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
Good job! No executable or dangerous file extensions detected6,238 lines of code in 110 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 69 | 1,019 | 1,576 | 3,955 |
CSS | 7 | 81 | 11 | 983 |
SVG | 30 | 0 | 2 | 891 |
JavaScript | 4 | 39 | 26 | 409 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 7.94 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 86.00 |
Average method complexity | 2.17 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 34.00 |
Code structure | ||
---|---|---|
Namespaces | 9 | |
Interfaces | 6 | |
Traits | 0 | |
Classes | 28 | |
▷ Abstract classes | 2 | 7.14% |
▷ Concrete classes | 26 | 92.86% |
▷ Final classes | 0 | 0.00% |
Methods | 231 | |
▷ Static methods | 24 | 10.39% |
▷ Public methods | 201 | 87.01% |
▷ Protected methods | 10 | 4.33% |
▷ Private methods | 20 | 8.66% |
Functions | 31 | |
▷ Named functions | 17 | 54.84% |
▷ Anonymous functions | 14 | 45.16% |
Constants | 11 | |
▷ Global constants | 8 | 72.73% |
▷ Class constants | 3 | 27.27% |
▷ Public constants | 3 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
65 PNG files occupy 0.50MB with 0.26MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
css/colorpicker/images/colorpicker_overlay.png | 10.11KB | 8.24KB | ▼ 18.50% |
images/logo1.png | 1.96KB | 0.97KB | ▼ 50.50% |
images/finallogo.png | 14.61KB | 0.77KB | ▼ 94.71% |
modules/banner/views/projects/fit/imgs/face1.png | 1.77KB | 1.72KB | ▼ 2.97% |
images/3634.png | 16.44KB | 1.20KB | ▼ 92.68% |