Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼9.79ms] Passed 4 tests
An overview of server-side resources used by InforUMobile Automation
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 40.03 ▲2.33 |
Dashboard /wp-admin | 3.32 ▼0.02 | 45.27 ▼11.95 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 41.91 ▼7.64 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 81.22 ▼20.66 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 32.23 ▲1.08 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 35 new files
Database: 1 new table, 8 new options
New tables |
---|
wp_inforu_subscribe |
New WordPress options |
---|
widget_recent-posts |
wc_inforu_setup_version |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
wc_inforu_newsletter_setup_version |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by InforUMobile Automation
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.27 ▼0.08 | 1.74 ▲0.24 | 44.22 ▲5.18 |
Dashboard /wp-admin | 2,195 ▲18 | 5.55 ▼0.11 | 83.91 ▼2.18 | 38.33 ▼7.93 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.97 ▼0.00 | 34.42 ▼8.56 | 32.25 ▼4.13 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 22.97 ▼0.28 | 668.49 ▼8.81 | 56.07 ▼2.78 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.15 ▼0.06 | 97.31 ▼13.40 | 44.56 ▼3.30 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- The plugin did not uninstall successfully, leaving 1 table in the database
- wp_inforu_subscribe
- This plugin did not uninstall successfully, leaving 8 options in the database
- wc_inforu_setup_version
- widget_theysaidso_widget
- wc_inforu_newsletter_setup_version
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
- 12× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'WC_Integration' not found in wp-content/plugins/inforu-mobile-automation/includes/Integration.php:9
- > PHP Fatal error
require_once(): Failed opening required '' (include_path='.:/usr/share/php') in wp-content/plugins/inforu-mobile-automation/addon/woo-inforu-newsletter/includes/Table/SubscribeList.php on line 12
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_create_nonce() in wp-content/plugins/inforu-mobile-automation/addon/woo-inforu-newsletter/templates/subscribe-form.php:9
- > PHP Warning
require_once(wp-content/plugins/inforu-mobile-automation/addon/woo-inforu-newsletter/includes/Table): failed to open stream: No such file or directory in /var/www/wordpress/wp-content/plugins/inforu-mobile-automation/addon/woo-inforu-newsletter/includes/Table/SubscribeList.php on line 12
- > PHP Fatal error
Uncaught Error: Class 'WC_Inforu\\Backend' not found in wp-content/plugins/inforu-mobile-automation/includes/Frontend.php:19
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/inforu-mobile-automation/addon/woo-inforu-newsletter/includes/Table/SubscribeList.php on line 12
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/inforu-mobile-automation/addon/woo-inforu-newsletter/templates/subscribe-checkbox.php:10
- > PHP Fatal error
Uncaught Error: Class 'WC_Inforu_Newsletter\\Form\\AbstractForm' not found in wp-content/plugins/inforu-mobile-automation/addon/woo-inforu-newsletter/includes/Form/Subscribe.php:10
- > PHP Fatal error
Uncaught Error: Interface 'WC_Inforu\\AppInterface' not found in wp-content/plugins/inforu-mobile-automation/includes/Backend.php:17
- > PHP Fatal error
Uncaught Error: Class 'WC_Inforu\\Event\\RegisterSuccess' not found in wp-content/plugins/inforu-mobile-automation/includes/Event/SaveAccount.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 86% 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
Attributes that need to be fixed:
- Plugin Name: Please specify the plugin name on the first line (
=== InforUMobile Automation ===
)
inforu-mobile-automation/woocommerce-inforu.php 77% from 13 tests
This is the main PHP file of "InforUMobile Automation" version 1.3.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
- Requires at least: Required version must be the same as the one declared in readme.txt ("4.7" instead of "4.0.0")
- Main file name: The principal plugin file should be the same as the plugin slug ("inforu-mobile-automation.php" instead of "woocommerce-inforu.php")
- Domain Path: The domain path points to a folder that does not exist ("/i18n/languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected1,759 lines of code in 34 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 33 | 344 | 585 | 1,747 |
JavaScript | 1 | 0 | 0 | 12 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 6.52 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 24.00 |
Average method complexity | 2.19 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 6 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 28 | |
▷ Abstract classes | 1 | 3.57% |
▷ Concrete classes | 27 | 96.43% |
▷ Final classes | 0 | 0.00% |
Methods | 137 | |
▷ Static methods | 14 | 10.22% |
▷ Public methods | 113 | 82.48% |
▷ Protected methods | 24 | 17.52% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 1 | 50.00% |
▷ Anonymous functions | 1 | 50.00% |
Constants | 6 | |
▷ Global constants | 1 | 16.67% |
▷ Class constants | 5 | 83.33% |
▷ Public constants | 5 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin