Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.27MB] [CPU: ▼0.54ms] Passed 4 tests
Analyzing server-side resources used by Import XML and RSS Feeds
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.73 ▲0.26 | 43.09 ▼1.91 |
Dashboard /wp-admin | 3.57 ▲0.26 | 48.59 ▲0.66 |
Posts /wp-admin/edit.php | 3.68 ▲0.32 | 51.63 ▲3.00 |
Add New Post /wp-admin/post-new.php | 6.17 ▲0.28 | 95.29 ▼3.93 |
Media Library /wp-admin/upload.php | 3.49 ▲0.26 | 38.91 ▲6.72 |
Import Feed /wp-admin/options-general.php?page=moove-importer | 3.56 | 33.81 |
Server storage [IO: ▲0.30MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 29 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Import XML and RSS Feeds
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲43 | 13.30 ▼1.44 | 1.57 ▼0.51 | 37.94 ▼4.36 |
Dashboard /wp-admin | 2,217 ▲29 | 4.86 ▼0.01 | 110.00 ▼5.25 | 43.17 ▲2.59 |
Posts /wp-admin/edit.php | 2,100 ▲11 | 2.11 ▲0.10 | 47.03 ▲7.55 | 51.39 ▲13.18 |
Add New Post /wp-admin/post-new.php | 1,524 ▼27 | 17.75 ▼0.49 | 606.16 ▲11.89 | 58.87 ▲3.75 |
Media Library /wp-admin/upload.php | 1,399 ▲14 | 4.30 ▲0.11 | 95.89 ▼6.26 | 44.24 ▼1.34 |
Import Feed /wp-admin/options-general.php?page=moove-importer | 1,459 | 2.14 | 28.84 | 37.42 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
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
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=moove-importer
- > User deprecated in wp-includes/functions.php+5737
Function WP_User_Query was called with an argument that is deprecated since version 5.9.0! who is deprecated. Use capability instead.
SRP 0% 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 take a closer look at the following
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/import-xml-feed/views/moove/admin/settings/plugin_templates.php
- 12× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Notice
Undefined variable: data in wp-content/plugins/import-xml-feed/views/moove/admin/settings/plugin_templates.php on line 16
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/import-xml-feed/moove-importer.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/import-xml-feed/views/moove/admin/settings/documentation.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/import-xml-feed/views/moove/admin/settings/addons.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/import-xml-feed/views/moove/admin/settings/settings_page.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/import-xml-feed/views/moove/admin/settings/template_view.php:36
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/import-xml-feed/views/moove/admin/settings/post_type.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/import-xml-feed/controllers/moove-controller.php:28
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/import-xml-feed/moove-actions.php:42
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/import-xml-feed/controllers/moove-controller.php:28
- > PHP Notice
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 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
5 plugin tags: feed, json, rss, xml, import
import-xml-feed/moove-importer.php 92% from 13 tests
The primary PHP file in "Import XML and RSS Feeds" version 2.1.5 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("import-xml-feed.php" instead of "moove-importer.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 detected4,150 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 15 | 169 | 253 | 1,977 |
CSS | 1 | 46 | 2 | 1,011 |
JavaScript | 1 | 82 | 8 | 748 |
PO File | 2 | 127 | 128 | 412 |
SVG | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 37.17 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 145.00 |
Average method complexity | 6.71 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 60.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 38 | |
▷ Static methods | 1 | 2.63% |
▷ Public methods | 34 | 89.47% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 10.53% |
Functions | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
2 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/icon.png | 1.45KB | 1.33KB | ▼ 7.95% |
assets/images/logo_moove.png | 3.72KB | 1.45KB | ▼ 60.99% |