Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Please fix the following installer errors
- The plugin did not install without errors
- > Notice in wp-content/plugins/rss-synchronization/public/class-rss-sync.php+227
Undefined variable: chosen_recurrence
Server metrics [RAM: ▲0.09MB] [CPU: ▼8.41ms] Passed 4 tests
This is a short check of server-side resources used by RSS Synchronisation
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.07 | 38.66 ▼0.04 |
Dashboard /wp-admin | 3.42 ▲0.07 | 49.16 ▼10.98 |
Posts /wp-admin/edit.php | 3.53 ▲0.17 | 50.55 ▼5.55 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.11 | 85.60 ▼17.05 |
Media Library /wp-admin/upload.php | 3.34 ▲0.11 | 42.27 ▲3.58 |
RSS Settings /wp-admin/options-general.php?page=rss-sync | 3.28 | 34.81 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by RSS Synchronisation
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,795 ▲9 | 14.34 ▲0.05 | 1.72 ▼0.47 | 37.12 ▼9.56 |
Dashboard /wp-admin | 2,199 ▲19 | 5.59 ▲0.03 | 84.85 ▼5.73 | 37.25 ▼9.73 |
Posts /wp-admin/edit.php | 2,104 ▲1 | 2.02 ▲0.00 | 40.77 ▼1.99 | 36.56 ▼4.59 |
Add New Post /wp-admin/post-new.php | 1,529 ▲1 | 23.35 ▲0.21 | 647.17 ▼38.35 | 62.38 ▲7.50 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.19 ▲0.04 | 110.66 ▲2.80 | 48.27 ▲3.89 |
RSS Settings /wp-admin/options-general.php?page=rss-sync | 926 | 1.66 | 29.87 | 30.31 |
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 6 options in the database
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-comments
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Smoke test failed, please fix the following
- > GET request to /wp-admin/options-general.php?page=rss-sync
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=rss-sync
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=rss-sync
- > Deprecated in wp-admin/includes/template.php+1771
Non-static method RSS_Sync_AdminSettings::rss_options() should not be called statically
- > GET request to /wp-admin/options-general.php?page=rss-sync
- > Deprecated in wp-admin/includes/template.php+1824
Non-static method RSS_Sync_AdminSettings::rss_feeds() should not be called statically
- 4 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=rss-sync
- > Notice in wp-content/plugins/rss-synchronization/admin/views/admin.php+105
Trying to access array offset on value of type bool
- > GET request to /wp-admin/options-general.php?page=rss-sync
- > Deprecated in wp-admin/includes/template.php+1824
Non-static method RSS_Sync_AdminSettings::rss_sync_refresh() should not be called statically
- > GET request to /wp-admin/options-general.php?page=rss-sync
- > Deprecated in wp-admin/includes/template.php+1824
Non-static method RSS_Sync_AdminSettings::image_storage_options() should not be called statically
SRP 50% 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
Please take a closer look at the following
- 10× PHP files trigger errors when accessed directly with GET requests:
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/rss-synchronization/includes/class-rss-sync-tools.php on line 12
- > PHP Warning
Use of undefined constant WPINC - assumed 'WPINC' (this will throw an Error in a future version of PHP) in wp-content/plugins/rss-synchronization/includes/class-rss-sync-tools.php on line 11
- > PHP Warning
include_once(): Failed opening 'ABSPATHwp-content/plugins/rss-synchronization/includes/class-rss-sync-tools.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/rss-synchronization/public/class-rss-sync.php on line 11
- > PHP Warning
include_once(ABSPATHWPINC/feed.php): failed to open stream: No such file or directory in wp-content/plugins/rss-synchronization/includes/class-rss-sync-tools.php on line 11
- > PHP Warning
include_once(): Failed opening 'ABSPATHwp-admin/includes/image.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/rss-synchronization/includes/class-rss-sync-tools.php on line 12
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/rss-synchronization/includes/class-rss-sync-tools.php on line 11
- > PHP Warning
include_once(ABSPATHwp-content/plugins/rss-synchronization/includes/class-rss-sync-tools.php): failed to open stream: No such file or directory in wp-content/plugins/rss-synchronization/public/class-rss-sync.php on line 11
- > PHP Warning
include_once(): Failed opening 'ABSPATHWPINC/feed.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/rss-synchronization/includes/class-rss-sync-tools.php on line 11
- > PHP Warning
include_once(ABSPATHwp-admin/includes/image.php): failed to open stream: No such file or directory in wp-content/plugins/rss-synchronization/includes/class-rss-sync-tools.php on line 12
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/rss-synchronization/public/class-rss-sync.php on line 11
- > PHP Warning
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There are user-side issues you should fix
- > GET request to /wp-admin/options-general.php?page=rss-sync
- > Network (severe)
wp-content/plugins/rss-synchronization/admin/assets/css/admin.css?ver=0.5.3 - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
3 plugin tags: plugin, rss, wordpress
rss-synchronization/rss-sync.php 85% from 13 tests
The primary PHP file in "RSS Synchronisation" version 0.5.3 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("rss-synchronization.php" instead of "rss-sync.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected518 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 215 | 356 | 504 |
JavaScript | 1 | 6 | 0 | 14 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 16.25 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 36.00 |
Average method complexity | 2.65 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 38 | |
▷ Static methods | 11 | 28.95% |
▷ Public methods | 27 | 71.05% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 11 | 28.95% |
Functions | 2 | |
▷ Named functions | 1 | 50.00% |
▷ Anonymous functions | 1 | 50.00% |
Constants | 2 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 2 | 100.00% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin