Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼2.19MB] [CPU: ▼60.72ms] Passed 4 tests
A check of server-side resources used by WooCommerce Mobile App Source Code by i2CSMobile
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.08 ▼1.65 | 5.66 ▼36.62 |
Dashboard /wp-admin | 2.10 ▼1.46 | 6.39 ▼50.45 |
Posts /wp-admin/edit.php | 2.10 ▼1.58 | 8.96 ▼53.50 |
Add New Post /wp-admin/post-new.php | 2.10 ▼4.05 | 6.51 ▼102.32 |
Media Library /wp-admin/upload.php | 2.10 ▼1.39 | 7.56 ▼29.84 |
Server storage [IO: ▲0.86MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 132 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WooCommerce Mobile App Source Code by i2CSMobile
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲54 | 14.39 ▼0.06 | 1.70 ▲0.04 | 43.07 ▲0.46 |
Dashboard /wp-admin | 2,218 ▲41 | 5.58 ▼0.09 | 87.10 ▼3.19 | 39.88 ▲0.28 |
Posts /wp-admin/edit.php | 2,126 ▲26 | 2.00 ▲0.02 | 40.34 ▲3.08 | 37.44 ▲2.77 |
Add New Post /wp-admin/post-new.php | 1,572 ▲41 | 23.24 ▲0.12 | 692.11 ▲64.97 | 64.07 ▲2.93 |
Media Library /wp-admin/upload.php | 1,420 ▲20 | 4.23 ▼0.01 | 99.58 ▲2.04 | 45.36 ▲2.52 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- The plugin did not uninstall gracefully
- > Warning in wp-content/plugins/i2csmobile-for-woo/i2csmobile-for-woo.php+65
Use of undefined constant WC_VERSION - assumed 'WC_VERSION' (this will throw an Error in a future version of PHP)
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 0% 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 items
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/i2csmobile-for-woo/includes/api/auth/hybridauth/hybridauth/index.php
- 57× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Interface 'Facebook\\HttpClients\\FacebookHttpClientInterface' not found in wp-content/plugins/i2csmobile-for-woo/includes/api/auth/hybridauth/hybridauth/Hybrid/thirdparty/Facebook/HttpClients/FacebookGuzzleHttpClient.php:34
- > PHP Fatal error
Uncaught Error: Interface 'Facebook\\Http\\RequestBodyInterface' not found in wp-content/plugins/i2csmobile-for-woo/includes/api/auth/hybridauth/hybridauth/Hybrid/thirdparty/Facebook/Http/RequestBodyMultipart.php:37
- > PHP Fatal error
Uncaught Error: Class 'Facebook\\GraphNodes\\GraphNode' not found in wp-content/plugins/i2csmobile-for-woo/includes/api/auth/hybridauth/hybridauth/Hybrid/thirdparty/Facebook/GraphNodes/GraphAchievement.php:31
- > PHP Fatal error
Uncaught Error: Class 'Facebook\\GraphNodes\\GraphNode' not found in wp-content/plugins/i2csmobile-for-woo/includes/api/auth/hybridauth/hybridauth/Hybrid/thirdparty/Facebook/GraphNodes/GraphGroup.php:31
- > PHP Fatal error
Uncaught Error: Class 'Facebook\\GraphNodes\\GraphNodeFactory' not found in wp-content/plugins/i2csmobile-for-woo/includes/api/auth/hybridauth/hybridauth/Hybrid/thirdparty/Facebook/GraphNodes/GraphObjectFactory.php:36
- > PHP Fatal error
Uncaught Error: Class 'Facebook\\GraphNodes\\GraphNode' not found in wp-content/plugins/i2csmobile-for-woo/includes/api/auth/hybridauth/hybridauth/Hybrid/thirdparty/Facebook/GraphNodes/GraphEvent.php:31
- > PHP Fatal error
Uncaught Error: Class 'Hybrid_Provider_Model_OpenID' not found in wp-content/plugins/i2csmobile-for-woo/includes/api/auth/hybridauth/hybridauth/Hybrid/Providers/OpenID.php:14
- > PHP Fatal error
Uncaught Error: Interface 'Facebook\\PersistentData\\PersistentDataInterface' not found in wp-content/plugins/i2csmobile-for-woo/includes/api/auth/hybridauth/hybridauth/Hybrid/thirdparty/Facebook/PersistentData/FacebookSessionPersistentDataHandler.php:33
- > PHP Fatal error
Uncaught Error: Class 'Facebook\\Exceptions\\FacebookSDKException' not found in wp-content/plugins/i2csmobile-for-woo/includes/api/auth/hybridauth/hybridauth/Hybrid/thirdparty/Facebook/Exceptions/FacebookClientException.php:31
- > PHP Fatal error
Uncaught Error: Class 'Facebook\\Helpers\\FacebookSignedRequestFromInputHelper' not found in wp-content/plugins/i2csmobile-for-woo/includes/api/auth/hybridauth/hybridauth/Hybrid/thirdparty/Facebook/Helpers/FacebookJavaScriptHelper.php:31
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 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
These attributes need your attention:
- Tags: There are too many tags (14 tag instead of maximum 10)
i2csmobile-for-woo/i2csmobile-for-woo.php 92% from 13 tests
"WooCommerce Mobile App Source Code by i2CSMobile" version 1.7.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 146 characters long)
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
Everything looks great! No dangerous files found in this plugin13,837 lines of code in 127 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 120 | 2,888 | 10,418 | 13,724 |
Markdown | 2 | 24 | 0 | 40 |
JSON | 1 | 0 | 0 | 33 |
HTML | 3 | 2 | 3 | 28 |
XML | 1 | 0 | 0 | 12 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 14.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 184.00 |
Average method complexity | 2.76 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 50.00 |
Code structure | ||
---|---|---|
Namespaces | 11 | |
Interfaces | 6 | |
Traits | 1 | |
Classes | 119 | |
▷ Abstract classes | 6 | 5.04% |
▷ Concrete classes | 113 | 94.96% |
▷ Final classes | 0 | 0.00% |
Methods | 951 | |
▷ Static methods | 54 | 5.68% |
▷ Public methods | 829 | 87.17% |
▷ Protected methods | 85 | 8.94% |
▷ Private methods | 37 | 3.89% |
Functions | 4 | |
▷ Named functions | 1 | 25.00% |
▷ Anonymous functions | 3 | 75.00% |
Constants | 52 | |
▷ Global constants | 8 | 15.38% |
▷ Class constants | 44 | 84.62% |
▷ Public constants | 44 | 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