Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.07MB] [CPU: ▼8.01ms] Passed 4 tests
A check of server-side resources used by Wp RSS Importer
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 38.23 ▼2.41 |
Dashboard /wp-admin | 3.39 ▲0.09 | 49.55 ▼4.58 |
Posts /wp-admin/edit.php | 3.50 ▲0.15 | 53.01 ▼5.76 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.09 | 86.57 ▼18.12 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 37.80 ▼3.59 |
Setting /wp-admin/admin.php?page=logics_setting_rss | 3.28 | 34.11 |
Add RSS /wp-admin/admin.php?page=logics_add_rss | 3.29 | 35.80 |
Manage RSS /wp-admin/admin.php?page=logics_managerss | 3.37 | 34.74 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 13 new files
Database: 1 new table, 8 new options
New tables |
---|
wp_rss_settings |
New WordPress options |
---|
logics_db_version |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
logics_sourcelink |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Wp RSS Importer
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,836 ▲90 | 13.58 ▼1.06 | 1.85 ▼0.03 | 46.11 ▲2.01 |
Dashboard /wp-admin | 2,239 ▲48 | 4.92 ▼0.98 | 102.72 ▲2.32 | 75.88 ▲34.32 |
Posts /wp-admin/edit.php | 2,128 ▲36 | 1.97 ▼0.08 | 39.95 ▼2.71 | 35.49 ▼1.37 |
Add New Post /wp-admin/post-new.php | 1,699 ▲180 | 22.42 ▼0.92 | 770.49 ▲94.41 | 60.13 ▲12.18 |
Media Library /wp-admin/upload.php | 1,427 ▲42 | 4.15 ▼0.06 | 96.03 ▼10.54 | 76.06 ▲30.32 |
Setting /wp-admin/admin.php?page=logics_setting_rss | 841 | 2.01 | 24.61 | 27.72 |
Add RSS /wp-admin/admin.php?page=logics_add_rss | 921 | 2.03 | 24.71 | 27.16 |
Manage RSS /wp-admin/admin.php?page=logics_managerss | 1,024 | 2.03 | 28.08 | 28.31 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- The uninstall procedure failed, leaving 1 table in the database
- wp_rss_settings
- Zombie WordPress options were found after uninstall: 8 options
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- logics_sourcelink
- widget_recent-posts
- logics_db_version
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 10× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/wp-rss-importer/wp-rss-importer.php:112
- > 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/wp-rss-importer/admin/class-rss-overview.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wp-rss-importer/admin/templates/setting-rss.php:2
- > PHP Fatal error
require_once(): Failed opening required 'LOGICS_PLUGIN_DIRadmin/class-rss-overview.php' (include_path='.:/usr/share/php') in wp-content/plugins/wp-rss-importer/admin/templates/rss-overview.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function absint() in wp-content/plugins/wp-rss-importer/admin/templates/edit-rss.php:2
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/wp-rss-importer/admin/class-rss-overview.php on line 3
- > PHP Warning
require_once(LOGICS_PLUGIN_DIRadmin/class-rss-overview.php): failed to open stream: No such file or directory in wp-content/plugins/wp-rss-importer/admin/templates/rss-overview.php on line 2
- > PHP Warning
Use of undefined constant LOGICS_PLUGIN_DIR - assumed 'LOGICS_PLUGIN_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/wp-rss-importer/admin/templates/rss-overview.php on line 2
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/wp-rss-importer/admin/class-rss-overview.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_errors() in wp-content/plugins/wp-rss-importer/admin/templates/add-rss.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 97% 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 your attention:
- Screenshots: These screenshots require images: #1 (screenshot-1.png), #2 (screenshot-2.png), #3 (screenshot-3.png)
wp-rss-importer/wp-rss-importer.php Passed 13 tests
The entry point to "Wp RSS Importer" version 2.0.2 is a PHP file that has certain tags in its header comment area
132 characters long description:
An easy to use RSS management system for wordpress that save posts from RSS url. This plugin works for any post or custom post type.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected789 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 165 | 204 | 789 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 26.67 |
▷ Minimum class complexity | 21.00 |
▷ Maximum class complexity | 34.00 |
Average method complexity | 3.20 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.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 | 35 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 34 | 97.14% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 2.86% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
4 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 8.15KB | 5.00KB | ▼ 38.61% |
screenshot-3.png | 13.68KB | 7.16KB | ▼ 47.66% |
img/rss.png | 0.69KB | 0.66KB | ▼ 5.08% |
screenshot-1.png | 8.31KB | 5.80KB | ▼ 30.17% |