Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼1.18ms] Passed 4 tests
This is a short check of server-side resources used by Innercircle: Social & Reviews
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 35.85 ▼6.12 |
Dashboard /wp-admin | 3.31 ▲0.00 | 50.56 ▲2.14 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 47.93 ▲8.65 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 86.17 ▼3.45 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 36.73 ▲2.72 |
Server storage [IO: ▲0.45MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 49 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Innercircle: Social & Reviews
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 14.34 ▼0.04 | 1.64 ▼0.17 | 42.84 ▼9.93 |
Dashboard /wp-admin | 2,203 ▲15 | 5.83 ▲0.93 | 98.46 ▼16.10 | 40.07 ▼2.15 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.01 ▲0.02 | 40.28 ▲4.30 | 36.06 ▼1.23 |
Add New Post /wp-admin/post-new.php | 1,533 ▲4 | 23.12 ▲5.07 | 583.84 ▼31.78 | 61.05 ▲5.49 |
Media Library /wp-admin/upload.php | 1,388 ▲3 | 4.21 ▲0.01 | 99.03 ▼0.92 | 42.59 ▼2.39 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
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
The smoke test was a success, however most plugin functionality was not tested
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
The following issues need your attention
- 13× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
require_once(): Failed opening required 'INNERCIRCLE_BASE_PATH./../includes/InnerCircle_HTTP.php' (include_path='.:/usr/share/php') in wp-content/plugins/innercircle-ambassadors-ugc-for-woocommerce/includes/InnerCircle_Uninstall.php on line 3
- > PHP Warning
require_once(INNERCIRCLE_BASE_PATH./../includes/InnerCircle_HTTP.php): failed to open stream: No such file or directory in wp-content/plugins/innercircle-ambassadors-ugc-for-woocommerce/includes/InnerCircle_Uninstall.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function language_attributes() in wp-content/plugins/innercircle-ambassadors-ugc-for-woocommerce/src/templates/page-innercircle-platform.php:8
- > PHP Fatal error
require_once(): Failed opening required 'INNERCIRCLE_BASE_PATH./../includes/InnerCircle_Uninstall.php' (include_path='.:/usr/share/php') in wp-content/plugins/innercircle-ambassadors-ugc-for-woocommerce/src/admin/class-ic-deactivate.php on line 5
- > PHP Warning
Use of undefined constant INNERCIRCLE_BASE_PATH - assumed 'INNERCIRCLE_BASE_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/innercircle-ambassadors-ugc-for-woocommerce/includes/InnerCircle_Uninstall.php on line 3
- > PHP Fatal error
Uncaught Error: Interface 'Innercircle\\Core\\Assets_Interface' not found in wp-content/plugins/innercircle-ambassadors-ugc-for-woocommerce/src/templates/util/class-js-loader.php:9
- > PHP Warning
require_once(INNERCIRCLE_BASE_PATH./../includes/InnerCircle_Uninstall.php): failed to open stream: No such file or directory in wp-content/plugins/innercircle-ambassadors-ugc-for-woocommerce/src/admin/class-ic-deactivate.php on line 5
- > PHP Warning
require_once(INNERCIRCLE_BASE_PATH./../includes/InnerCircle_HTTP.php): failed to open stream: No such file or directory in wp-content/plugins/innercircle-ambassadors-ugc-for-woocommerce/src/admin/class-ic-webhooks.php on line 6
- > PHP Fatal error
require_once(): Failed opening required 'INNERCIRCLE_BASE_PATH./../includes/InnerCircle_HTTP.php' (include_path='.:/usr/share/php') in wp-content/plugins/innercircle-ambassadors-ugc-for-woocommerce/src/admin/class-ic-webhooks.php on line 6
- > PHP Warning
Use of undefined constant INNERCIRCLE_BASE_PATH - assumed 'INNERCIRCLE_BASE_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/innercircle-ambassadors-ugc-for-woocommerce/src/admin/class-ic-webhooks.php on line 6
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
- Tags: You are using too many tags: 21 tag instead of maximum 10
innercircle-ambassadors-ugc-for-woocommerce/innercircle.php 85% from 13 tests
The main PHP script in "Innercircle: Social & Reviews" version 2.2 is automatically included on every request by WordPress
Please take the time to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("innercircle-ambassadors-ugc-for-woocommerce.php" instead of "innercircle.php")
- Description: Please keep the plugin description shorter than 140 characters (currently 156 characters long)
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
There were no executable files found in this plugin12,045 lines of code in 45 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 5 | 0 | 0 | 10,062 |
PHP | 33 | 341 | 551 | 1,664 |
CSS | 2 | 0 | 0 | 162 |
JavaScript | 4 | 8 | 0 | 80 |
XML | 1 | 0 | 0 | 77 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 9.24 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 49.00 |
Average method complexity | 2.89 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.00 |
Code structure | ||
---|---|---|
Namespaces | 11 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 24 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 24 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 111 | |
▷ Static methods | 33 | 29.73% |
▷ Public methods | 97 | 87.39% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 14 | 12.61% |
Functions | 2 | |
▷ Named functions | 1 | 50.00% |
▷ Anonymous functions | 1 | 50.00% |
Constants | 20 | |
▷ Global constants | 2 | 10.00% |
▷ Class constants | 18 | 90.00% |
▷ Public constants | 18 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected