Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
These installer errors require your attention
- Install procedure validation failed for this plugin
- > Notice in wp-content/plugins/integration-for-baazarvoice/inc/classes/class-wp-baazarvoice-wrapper.php+72
Trying to access array offset on value of type bool
Server metrics [RAM: ▼1.72MB] [CPU: ▼55.42ms] Passed 4 tests
A check of server-side resources used by Integration for BazaarVoice
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.28 ▼1.19 | 6.67 ▼35.08 |
Dashboard /wp-admin | 2.30 ▼1.05 | 7.23 ▼50.58 |
Posts /wp-admin/edit.php | 2.30 ▼1.06 | 7.57 ▼49.34 |
Add New Post /wp-admin/post-new.php | 2.30 ▼3.59 | 8.46 ▼86.66 |
Media Library /wp-admin/upload.php | 2.30 ▼0.93 | 7.69 ▼27.54 |
WordPress Baazarvoice Integration /wp-admin/options-general.php?page=Wp_Baazarvoice | 2.30 | 8.36 |
Server storage [IO: ▲0.14MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 37 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Integration for BazaarVoice
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.23 ▼1.06 | 1.76 ▼0.05 | 43.74 ▲0.14 |
Dashboard /wp-admin | 2,210 ▲22 | 5.78 ▼0.10 | 95.78 ▼3.90 | 37.75 ▼2.55 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 1.99 ▼0.03 | 39.22 ▲4.01 | 35.23 ▼5.31 |
Add New Post /wp-admin/post-new.php | 1,536 ▲3 | 23.33 ▲0.03 | 639.68 ▼74.28 | 56.77 ▼2.58 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.20 ▼0.02 | 111.82 ▲2.29 | 46.38 ▼1.21 |
WordPress Baazarvoice Integration /wp-admin/options-general.php?page=Wp_Baazarvoice | 912 | 1.88 | 25.19 | 32.16 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- Uninstall procedure validation failed for this plugin
- > Notice in wp-content/plugins/integration-for-baazarvoice/inc/classes/class-wp-baazarvoice-wrapper.php+72
Trying to access array offset on value of type bool
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Please fix the following server-side errors
- 6 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=Wp_Baazarvoice
- > Notice in wp-content/plugins/integration-for-baazarvoice/inc/classes/class-wp-baazarvoice-wrapper.php+74
Trying to access array offset on value of type bool
- > GET request to /wp-admin/options-general.php?page=Wp_Baazarvoice
- > Notice in wp-content/plugins/integration-for-baazarvoice/inc/classes/class-wp-baazarvoice-admin.php+173
Undefined variable: value
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 53× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Warning
A non-numeric value encountered in wp-content/plugins/integration-for-baazarvoice/inc/seo_sdk_php-master/bvseosdk.php on line 88
- > PHP Warning
A non-numeric value encountered in wp-content/plugins/integration-for-baazarvoice/inc/seo_sdk_php-master/bvseosdk.php on line 87
- > PHP Warning
require_once(bvseosdk.php): failed to open stream: No such file or directory in wp-content/plugins/integration-for-baazarvoice/inc/seo_sdk_php-master/test/SpotlightsTest.php on line 3
- > PHP Fatal error
require_once(): Failed opening required 'bvseosdk.php' (include_path='.:/usr/share/php') in wp-content/plugins/integration-for-baazarvoice/inc/seo_sdk_php-master/test/Classes/SpotlightsTest.php on line 3
- > PHP Warning
require_once(bvseosdk.php): failed to open stream: No such file or directory in wp-content/plugins/integration-for-baazarvoice/inc/seo_sdk_php-master/test/Classes/BVTest.php on line 3
- > PHP Warning
require_once(bvseosdk.php): failed to open stream: No such file or directory in wp-content/plugins/integration-for-baazarvoice/inc/seo_sdk_php-master/test/Classes/BaseTest.php on line 3
- > PHP Warning
require_once(bvseosdk.php): failed to open stream: No such file or directory in wp-content/plugins/integration-for-baazarvoice/inc/seo_sdk_php-master/test/CharsetTest.php on line 3
- > PHP Warning
A non-numeric value encountered in wp-content/plugins/integration-for-baazarvoice/inc/seo_sdk_php-master/bvseosdk.php on line 87
- > PHP Warning
A non-numeric value encountered in wp-content/plugins/integration-for-baazarvoice/inc/seo_sdk_php-master/bvseosdk.php on line 87
- > PHP Warning
A non-numeric value encountered in wp-content/plugins/integration-for-baazarvoice/inc/seo_sdk_php-master/bvseosdk.php on line 87
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
5 plugin tags: ratings, bazaarvoice, workable, reviews, comments
integration-for-baazarvoice/wp-baazarvoice.php 85% from 13 tests
The main PHP file in "Integration for BazaarVoice" ver. 1.0.2 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("integration-for-baazarvoice.php" instead of "wp-baazarvoice.php")
- Domain Path: The domain path points to an invalid folder, "/languages" does not exist
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin2,662 lines of code in 35 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 29 | 585 | 1,071 | 2,437 |
Maven | 1 | 9 | 21 | 74 |
Markdown | 2 | 18 | 0 | 71 |
JavaScript | 1 | 17 | 1 | 58 |
XML | 1 | 4 | 7 | 19 |
HTML | 1 | 1 | 0 | 3 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.11 |
Average class complexity | 5.92 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 53.00 |
Average method complexity | 1.94 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 25 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 25 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 131 | |
▷ Static methods | 12 | 9.16% |
▷ Public methods | 96 | 73.28% |
▷ Protected methods | 16 | 12.21% |
▷ Private methods | 19 | 14.50% |
Functions | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 1 | 50.00% |
▷ Class constants | 1 | 50.00% |
▷ Public constants | 1 | 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