Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲4.80MB] [CPU: ▼7.14ms] Passed 4 tests
An overview of server-side resources used by Feedpress Generator
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 8.79 ▲5.32 | 50.79 ▲9.20 |
Dashboard /wp-admin | 8.81 ▲5.50 | 51.32 ▲3.15 |
Posts /wp-admin/edit.php | 8.81 ▲5.45 | 52.24 ▲5.59 |
Add New Post /wp-admin/post-new.php | 8.81 ▲2.92 | 53.29 ▼46.48 |
Media Library /wp-admin/upload.php | 8.81 ▲5.58 | 54.95 ▲15.77 |
Redux Framework /wp-admin/tools.php?page=redux-about | 8.81 | 50.00 |
Freemius Debug [v.2.4.3] /wp-admin/admin.php?page=freemius | 8.81 | 48.64 |
Server storage [IO: ▲10.20MB] [DB: ▲0.00MB] 67% from 3 tests
Filesystem and database footprint
Please try to fix the following items
- Illegal file modification found: 1 file (4.00KB) outside of "wp-content/plugins/feedpress-generator/" and "wp-content/uploads/"
- (new file) wp-content/mgd_mirror/mgd_maximinodotpy-gitdown-test-repository
Filesystem: 1,051 new files
Database: no new tables, 14 new options
New WordPress options |
---|
widget_theysaidso_widget |
redux_version_upgraded_from |
fs_debug_mode |
feedpress_generator_fwg_settings-transients |
redux-framework-tracking |
fs_accounts |
fs_gdpr |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
... |
Browser metrics Passed 4 tests
A check of browser resources used by Feedpress Generator
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,861 ▲75 | 13.22 ▼1.37 | 1.72 ▼0.14 | 30.98 ▼11.53 |
Dashboard /wp-admin | 2,261 ▲55 | 5.83 ▼0.05 | 109.56 ▼0.29 | 44.44 ▲3.94 |
Posts /wp-admin/edit.php | 2,144 ▲47 | 2.00 ▲0.01 | 37.00 ▼1.16 | 37.34 ▲0.68 |
Add New Post /wp-admin/post-new.php | 1,559 ▲145 | 23.06 ▲5.14 | 688.52 ▲42.01 | 52.27 ▼0.82 |
Media Library /wp-admin/upload.php | 1,443 ▲43 | 4.32 ▲0.11 | 102.48 ▲3.39 | 45.54 ▼5.55 |
Redux Framework /wp-admin/tools.php?page=redux-about | 991 | 2.18 | 25.24 | 55.88 |
Freemius Debug [v.2.4.3] /wp-admin/admin.php?page=freemius | 1,062 | 1.70 | 26.33 | 27.86 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- This plugin did not uninstall without warnings or errors
- > Warning in wp-content/plugins/feedpress-generator/includes/redux-framework/ReduxCore/inc/extensions/customizer/extension_customizer.php+366
"continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"?
- Zombie WordPress options detected upon uninstall: 14 options
- redux_version_upgraded_from
- fs_active_plugins
- can_compress_scripts
- fs_accounts
- fs_gdpr
- feedpress_generator_fwg_settings
- feedpress_generator_fwg_settings-transients
- widget_recent-comments
- widget_theysaidso_widget
- redux-framework-tracking
- ...
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
Smoke test failed, please fix the following
- 12 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=freemius
- > Warning in wp-content/plugins/feedpress-generator/includes/redux-framework/ReduxCore/inc/extensions/customizer/extension_customizer.php+450
"continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"?
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/feedpress-generator/includes/redux-framework/ReduxCore/inc/p.php
- 195× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'HTMLPurifier_ChildDef' not found in wp-content/plugins/feedpress-generator/includes/htmlpurifier/HTMLPurifier/ChildDef/Empty.php:10
- > PHP Fatal error
Uncaught Error: Class 'HTMLPurifier_AttrDef' not found in wp-content/plugins/feedpress-generator/includes/htmlpurifier/HTMLPurifier/AttrDef/HTML/ID.php:12
- > PHP Warning
"continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in wp-content/plugins/feedpress-generator/includes/redux-framework/ReduxCore/inc/extensions/customizer/extension_customizer.php on line 450
- > PHP Fatal error
Uncaught Error: Class 'HTMLPurifier_Injector' not found in wp-content/plugins/feedpress-generator/includes/htmlpurifier/HTMLPurifier/Injector/PurifierLinkify.php:7
- > PHP Fatal error
Uncaught Error: Class 'HTMLPurifier_URIFilter' not found in wp-content/plugins/feedpress-generator/includes/htmlpurifier/HTMLPurifier/URIFilter/DisableExternal.php:3
- > PHP Warning
"continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in wp-content/plugins/feedpress-generator/includes/redux-framework/ReduxCore/extensions/customizer/extension_customizer.php on line 423
- > PHP Fatal error
Uncaught Error: Class 'HTMLPurifier_Filter' not found in wp-content/plugins/feedpress-generator/includes/htmlpurifier/HTMLPurifier/Filter/YouTube.php:3
- > PHP Fatal error
Uncaught Error: Class 'HTMLPurifier_AttrDef_CSS_Number' not found in wp-content/plugins/feedpress-generator/includes/htmlpurifier/HTMLPurifier/AttrDef/CSS/AlphaValue.php:3
- > PHP Fatal error
Uncaught Error: Class 'HTMLPurifier_ChildDef' not found in wp-content/plugins/feedpress-generator/includes/htmlpurifier/HTMLPurifier/ChildDef/Required.php:6
- > PHP Fatal error
Uncaught Error: Class 'HTMLPurifier_AttrTransform' not found in wp-content/plugins/feedpress-generator/includes/htmlpurifier/HTMLPurifier/AttrTransform/BdoDir.php:8
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 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
8 plugin tags: rss to content, feed to post, feed press, rss to widget, generate widget...
feedpress-generator/feedpress-generator-widget-generator.php 92% from 13 tests
Analyzing the main PHP file in "Feedpress Generator" version 1.2.0
The following require your attention:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("feedpress-generator.php" instead of "feedpress-generator-widget-generator.php")
Code Analysis 95% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin98,127 lines of code in 779 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 462 | 15,213 | 34,457 | 69,461 |
JavaScript | 175 | 3,283 | 2,549 | 16,157 |
CSS | 76 | 966 | 247 | 4,621 |
Sass | 44 | 487 | 50 | 4,453 |
PO File | 2 | 434 | 555 | 1,004 |
SVG | 1 | 0 | 0 | 934 |
LESS | 4 | 94 | 79 | 790 |
Markdown | 3 | 102 | 0 | 295 |
Bourne Shell | 5 | 55 | 50 | 177 |
XML | 3 | 1 | 0 | 111 |
JSON | 2 | 0 | 0 | 63 |
HTML | 1 | 8 | 0 | 60 |
INI | 1 | 1 | 1 | 1 |
PHP code 0% from 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
These items need your attention
- Cyclomatic complexity of classes should be reduced to less than 1000 (currently 2,911)
- Method cyclomatic complexity has to be reduced to less than 100 (currently 232)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.54 |
Average class complexity | 30.86 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 2,911.00 |
Average method complexity | 5.22 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 232.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 378 | |
▷ Abstract classes | 17 | 4.50% |
▷ Concrete classes | 361 | 95.50% |
▷ Final classes | 1 | 0.28% |
Methods | 2,730 | |
▷ Static methods | 329 | 12.05% |
▷ Public methods | 1,953 | 71.54% |
▷ Protected methods | 319 | 11.68% |
▷ Private methods | 458 | 16.78% |
Functions | 126 | |
▷ Named functions | 121 | 96.03% |
▷ Anonymous functions | 5 | 3.97% |
Constants | 215 | |
▷ Global constants | 117 | 54.42% |
▷ Class constants | 98 | 45.58% |
▷ Public constants | 98 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
45 compressed PNG files occupy 0.22MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/feed-icon-14x14.png | 0.67KB | 0.70KB | 0.00% |
includes/redux-framework/ReduxCore/assets/css/vendor/jquery-ui-bootstrap/images/ui-icons_cd0a0a_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
includes/redux-framework/sample/patterns/triangular.png | 0.21KB | 0.22KB | 0.00% |
includes/redux-framework/ReduxCore/assets/css/vendor/jquery-ui-bootstrap/images/ui-bg_glass_75_e6e6e6_1x400.png | 0.11KB | 0.14KB | 0.00% |
includes/redux-framework/ReduxCore/assets/css/vendor/jquery-ui-bootstrap/images/ui-icons_2e83ff_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |